Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 181 kB / 23.35 MB, free: 1.137 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.031/1.031, allocations: 177.1 MB / 203.8 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.354/2.354, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDDerTim.Td",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDDerTim.Td",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.039e-05/1.189e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.001282/0.001294, allocations: 0.8008 MB / 0.8394 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008073/0.002101, allocations: 0.8858 MB / 0.8403 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.309e-05/0.002144, allocations: 0 / 0.8403 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.79e-05/0.002172, allocations: 7.938 kB / 0.8403 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.868e-05/0.002251, allocations: 11.81 kB / 0.8403 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 5.685e-05/0.002308, allocations: 27.97 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.389e-05/0.002402, allocations: 99.75 kB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.715e-05/0.002499, allocations: 36.42 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.876e-05/0.002598, allocations: 59.83 kB / 0.8405 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.914e-05/0.002647, allocations: 31.95 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.002667, allocations: 8 kB / 0.8405 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.148e-06/0.002676, allocations: 8 kB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.021e-05/0.002696, allocations: 23.91 kB / 0.8406 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.253e-05/0.002719, allocations: 19.94 kB / 0.8406 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 9.211e-05/0.002811, allocations: 67.73 kB / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.002812, allocations: 0 / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.51e-07/0.002813, allocations: 0 / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.825e-06/0.002816, allocations: 4 kB / 0.8407 GB, free: 12.1 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000459/0.003275, allocations: 292.5 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.003308, allocations: 8.625 kB / 0.8409 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.84e-05/0.003336, allocations: 12.92 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.003447, allocations: 129.7 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.003459, allocations: 8.312 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.003472, allocations: 8.375 kB / 0.8411 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.003598, allocations: 93.02 kB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.003605, allocations: 192 / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-06/0.003612, allocations: 4.375 kB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.003618, allocations: 384 / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.41e-05/0.003652, allocations: 23.92 kB / 0.8412 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002552/0.003907, allocations: 212 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.703e-05/0.003984, allocations: 58.47 kB / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.285e-05/0.004007, allocations: 16.86 kB / 0.8415 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-06/0.004016, allocations: 7.938 kB / 0.8415 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/0.004032, allocations: 30.56 kB / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 8.31e-07/0.004033, allocations: 0 / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001075/0.004141, allocations: 65.81 kB / 0.8416 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.004167, allocations: 51.41 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.082e-05/0.004218, allocations: 114.7 kB / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.417e-06/0.004227, allocations: 29.7 kB / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.941e-05/0.004257, allocations: 100 kB / 0.8419 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.004277, allocations: 23.78 kB / 0.8419 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.328e-05/0.0043, allocations: 13.72 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.595e-05/0.004366, allocations: 322.8 kB / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.141e-05/0.004378, allocations: 7.938 kB / 0.8422 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.195e-05/0.00439, allocations: 4.312 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.134e-05/0.004421, allocations: 36.97 kB / 0.8423 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.004424, allocations: 3.938 kB / 0.8423 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.097e-05/0.004475, allocations: 53.67 kB / 0.8423 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.918e-06/0.004484, allocations: 8 kB / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.004488, allocations: 0 / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.928e-06/0.004498, allocations: 0 / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.97e-05/0.004568, allocations: 19.92 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.00457, allocations: 3.938 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.534e-05/0.004596, allocations: 7.953 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.0046, allocations: 4 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.897e-05/0.004648, allocations: 117.8 kB / 0.8425 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.485e-05/0.004663, allocations: 7.984 kB / 0.8425 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.577e-05/0.004679, allocations: 12.44 kB / 0.8425 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.004681, allocations: 0 / 0.8425 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.004682, allocations: 0 / 0.8425 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.004684, allocations: 0 / 0.8425 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.791e-05/0.004772, allocations: 89.88 kB / 0.8426 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.004773, allocations: 0 / 0.8426 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.756e-05/0.00481, allocations: 15.98 kB / 0.8426 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.004813, allocations: 3.938 kB / 0.8426 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-06/0.004817, allocations: 4 kB / 0.8426 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.004817, allocations: 0 / 0.8426 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.004818, allocations: 0 / 0.8426 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.378e-05/0.004892, allocations: 159.5 kB / 0.8427 GB, free: 9.758 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.596e-06/0.0049, allocations: 7.891 kB / 0.8427 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.556e-06/0.004909, allocations: 4 kB / 0.8428 GB, free: 9.746 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.566e-05/0.004945, allocations: 7.984 kB / 0.8428 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.904e-05/0.004974, allocations: 7.984 kB / 0.8428 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.004977, allocations: 4 kB / 0.8428 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.063e-05/0.004988, allocations: 8.859 kB / 0.8428 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.004988, allocations: 0 / 0.8428 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001221/0.00511, allocations: 19.94 kB / 0.8428 GB, free: 9.695 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.569e-05/0.005175, allocations: 88.41 kB / 0.8429 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.41e-05/0.00524, allocations: 32.78 kB / 0.8429 GB, free: 9.562 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.005241, allocations: 0 / 0.8429 GB, free: 9.562 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.238e-05/0.005264, allocations: 20.84 kB / 0.8429 GB, free: 9.539 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.005402, allocations: 12.66 kB / 0.8429 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002723/0.005674, allocations: 192.5 kB / 0.8431 GB, free: 9.312 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.037e-05/0.005704, allocations: 63.34 kB / 0.8432 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.345e-05/0.005728, allocations: 0 / 0.8432 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.908e-05/0.005787, allocations: 63.36 kB / 0.8433 GB, free: 9.168 MB / 0.8073 GB Notification: Performance of SimCode: time 7.61e-07/0.005788, allocations: 0 / 0.8433 GB, free: 9.168 MB / 0.8073 GB Notification: Performance of Templates: time 0.002663/0.008451, allocations: 1.001 MB / 0.8442 GB, free: 8.23 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDDerivativeTime.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.241056818980724]