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.PIDIntegralTime.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.001458/0.001458, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 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.00172/0.00172, allocations: 209.8 kB / 22.99 MB, free: 4.984 MB / 14.72 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.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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 3.087/3.087, allocations: 0.505 GB / 0.8108 GB, free: 23.56 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.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.PIDIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDIntTim.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDIntTim.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 62.8 kB / 1.178 GB, free: 16.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3469, allocations: 180.2 MB / 1.354 GB, free: 7.488 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime): time 0.002509/0.3494, allocations: 0.8101 MB / 1.355 GB, free: 6.676 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.3507, allocations: 0.8666 MB / 1.356 GB, free: 5.797 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.122e-05/0.3508, allocations: 0 / 1.356 GB, free: 5.797 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.139e-05/0.3508, allocations: 7.875 kB / 1.356 GB, free: 5.789 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.3509, allocations: 19.86 kB / 1.356 GB, free: 5.77 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 9.182e-05/0.351, allocations: 31.97 kB / 1.356 GB, free: 5.738 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002292/0.3513, allocations: 115.8 kB / 1.356 GB, free: 5.625 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001989/0.3515, allocations: 41.56 kB / 1.356 GB, free: 5.582 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.3516, allocations: 51.78 kB / 1.356 GB, free: 5.531 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.814e-05/0.3517, allocations: 47.77 kB / 1.356 GB, free: 5.484 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.272e-05/0.3517, allocations: 12 kB / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.888e-05/0.3517, allocations: 12 kB / 1.356 GB, free: 5.461 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.795e-05/0.3517, allocations: 19.92 kB / 1.356 GB, free: 5.441 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.498e-05/0.3518, allocations: 43.8 kB / 1.356 GB, free: 5.398 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.352, allocations: 143.4 kB / 1.356 GB, free: 5.258 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.352, allocations: 0 / 1.356 GB, free: 5.258 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.893e-06/0.352, allocations: 4 kB / 1.356 GB, free: 5.254 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.352, allocations: 0 / 1.356 GB, free: 5.254 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.000647/0.3527, allocations: 341.9 kB / 1.357 GB, free: 4.887 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.3527, allocations: 8.031 kB / 1.357 GB, free: 4.879 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.236e-05/0.3527, allocations: 16.83 kB / 1.357 GB, free: 4.863 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.353, allocations: 142.4 kB / 1.357 GB, free: 4.699 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.353, allocations: 8.375 kB / 1.357 GB, free: 4.691 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.353, allocations: 12.38 kB / 1.357 GB, free: 4.68 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003323/0.3533, allocations: 123.1 kB / 1.357 GB, free: 4.555 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3534, allocations: 192 / 1.357 GB, free: 4.555 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.3534, allocations: 11.88 kB / 1.357 GB, free: 4.543 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.3534, allocations: 4 kB / 1.357 GB, free: 4.539 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003564/0.3537, allocations: 109 kB / 1.357 GB, free: 4.434 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000499/0.3542, allocations: 316.2 kB / 1.357 GB, free: 4.094 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003875/0.3546, allocations: 114.6 kB / 1.357 GB, free: 3.973 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.3548, allocations: 56.81 kB / 1.357 GB, free: 3.914 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.3548, allocations: 3.984 kB / 1.357 GB, free: 3.91 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.3548, allocations: 34.56 kB / 1.357 GB, free: 3.867 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.412e-06/0.3548, allocations: 0 / 1.357 GB, free: 3.867 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0006414/0.3555, allocations: 181.7 kB / 1.358 GB, free: 3.684 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.3555, allocations: 59.34 kB / 1.358 GB, free: 3.613 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.3556, allocations: 121.8 kB / 1.358 GB, free: 3.484 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.3557, allocations: 29.7 kB / 1.358 GB, free: 3.449 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.925e-05/0.3557, allocations: 104 kB / 1.358 GB, free: 3.344 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.724e-05/0.3558, allocations: 27.75 kB / 1.358 GB, free: 3.316 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.8e-05/0.3558, allocations: 21.72 kB / 1.358 GB, free: 3.289 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.356, allocations: 322.8 kB / 1.358 GB, free: 2.965 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.3561, allocations: 47.89 kB / 1.358 GB, free: 2.918 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.3563, allocations: 43.95 kB / 1.358 GB, free: 2.875 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003019/0.3566, allocations: 97.36 kB / 1.358 GB, free: 2.777 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3566, allocations: 0 / 1.358 GB, free: 2.777 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003715/0.357, allocations: 141.4 kB / 1.359 GB, free: 2.633 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.357, allocations: 8 kB / 1.359 GB, free: 2.625 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.357, allocations: 0 / 1.359 GB, free: 2.625 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.357, allocations: 0 / 1.359 GB, free: 2.625 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.3572, allocations: 35.91 kB / 1.359 GB, free: 2.59 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.3572, allocations: 7.922 kB / 1.359 GB, free: 2.582 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.625e-05/0.3573, allocations: 11.98 kB / 1.359 GB, free: 2.57 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.3573, allocations: 4 kB / 1.359 GB, free: 2.566 MB / 1.045 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 (9): * Single equations (assignments): 9 * 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 0.0001014/0.3574, allocations: 121.7 kB / 1.359 GB, free: 2.438 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.3574, allocations: 7.953 kB / 1.359 GB, free: 2.43 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.801e-05/0.3574, allocations: 16.38 kB / 1.359 GB, free: 2.41 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3574, allocations: 0 / 1.359 GB, free: 2.41 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.3574, allocations: 3.938 kB / 1.359 GB, free: 2.406 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.3574, allocations: 7.984 kB / 1.359 GB, free: 2.398 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.3576, allocations: 145.2 kB / 1.359 GB, free: 2.227 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3576, allocations: 0 / 1.359 GB, free: 2.227 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.3578, allocations: 27.98 kB / 1.359 GB, free: 2.199 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3578, allocations: 0 / 1.359 GB, free: 2.199 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.3578, allocations: 0 / 1.359 GB, free: 2.199 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3578, allocations: 4 kB / 1.359 GB, free: 2.195 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3578, allocations: 0 / 1.359 GB, free: 2.195 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004357/0.3582, allocations: 239.3 kB / 1.359 GB, free: 1.945 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.479e-05/0.3582, allocations: 7.953 kB / 1.359 GB, free: 1.938 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.3583, allocations: 0 / 1.359 GB, free: 1.938 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.3584, allocations: 15.97 kB / 1.359 GB, free: 1.922 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.3584, allocations: 11.92 kB / 1.359 GB, free: 1.91 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.3584, allocations: 4 kB / 1.359 GB, free: 1.906 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.93e-05/0.3585, allocations: 87.28 kB / 1.359 GB, free: 1.82 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3585, allocations: 0 / 1.359 GB, free: 1.82 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002259/0.3587, allocations: 20.14 kB / 1.359 GB, free: 1.801 MB / 1.045 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 (9): * Single equations (assignments): 9 * 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 0.0001229/0.3588, allocations: 115.2 kB / 1.359 GB, free: 1.68 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003748/0.3592, allocations: 99.8 kB / 1.36 GB, free: 1.582 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3592, allocations: 4 kB / 1.36 GB, free: 1.578 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001797/0.3594, allocations: 55.95 kB / 1.36 GB, free: 1.523 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.3598, allocations: 15.98 kB / 1.36 GB, free: 1.508 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000509/0.3603, allocations: 217.7 kB / 1.36 GB, free: 1.266 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.176e-05/0.3604, allocations: 89.2 kB / 1.36 GB, free: 1.152 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.997e-05/0.3604, allocations: 7.984 kB / 1.36 GB, free: 1.145 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.18e-05/0.3604, allocations: 15.44 kB / 1.36 GB, free: 1.129 MB / 1.045 GB Notification: Performance of SimCode: time 3e-07/0.3604, allocations: 0 / 1.36 GB, free: 1.129 MB / 1.045 GB Notification: Performance of Templates: time 0.004029/0.3645, allocations: 1.147 MB / 1.361 GB, free: 40 kB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime -abortSlowSimulation -alarm=800 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.57489755799179]