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.001582/0.001582, allocations: 92.42 kB / 19.7 MB, free: 2.137 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.001769/0.001769, allocations: 210.1 kB / 23 MB, free: 4.953 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.179/3.179, allocations: 0.505 GB / 0.8108 GB, free: 23.55 MB / 0.6231 GB " [Timeout remaining time 176] 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.00206/0.00206, allocations: 71 kB / 1.178 GB, free: 16.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3753, allocations: 180.2 MB / 1.354 GB, free: 7.465 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime): time 0.002432/0.3777, allocations: 0.8205 MB / 1.355 GB, free: 6.645 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001416/0.3792, allocations: 0.8744 MB / 1.356 GB, free: 5.758 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.817e-05/0.3792, allocations: 0 / 1.356 GB, free: 5.758 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.677e-05/0.3793, allocations: 11.86 kB / 1.356 GB, free: 5.746 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.3794, allocations: 7.875 kB / 1.356 GB, free: 5.738 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000102/0.3795, allocations: 35.95 kB / 1.356 GB, free: 5.703 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.3797, allocations: 115.8 kB / 1.356 GB, free: 5.59 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001842/0.3799, allocations: 41.56 kB / 1.356 GB, free: 5.547 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.38, allocations: 43.8 kB / 1.356 GB, free: 5.504 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.838e-05/0.3801, allocations: 55.77 kB / 1.356 GB, free: 5.449 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.3801, allocations: 12 kB / 1.356 GB, free: 5.438 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.03e-05/0.3801, allocations: 12 kB / 1.356 GB, free: 5.426 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.327e-05/0.3802, allocations: 19.92 kB / 1.356 GB, free: 5.406 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.016e-05/0.3802, allocations: 43.8 kB / 1.356 GB, free: 5.363 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.3805, allocations: 147.4 kB / 1.356 GB, free: 5.219 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3805, allocations: 0 / 1.356 GB, free: 5.219 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3805, allocations: 0 / 1.356 GB, free: 5.219 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.3805, allocations: 0 / 1.356 GB, free: 5.219 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.0007184/0.3812, allocations: 345.9 kB / 1.357 GB, free: 4.848 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.3812, allocations: 8.031 kB / 1.357 GB, free: 4.84 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.288e-05/0.3813, allocations: 12.84 kB / 1.357 GB, free: 4.828 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.3815, allocations: 142.3 kB / 1.357 GB, free: 4.664 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.3815, allocations: 8.375 kB / 1.357 GB, free: 4.656 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.3816, allocations: 8.375 kB / 1.357 GB, free: 4.648 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003515/0.3819, allocations: 119.4 kB / 1.357 GB, free: 4.527 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3819, allocations: 4.125 kB / 1.357 GB, free: 4.523 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.3819, allocations: 11.94 kB / 1.357 GB, free: 4.512 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.3819, allocations: 4 kB / 1.357 GB, free: 4.508 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000365/0.3823, allocations: 107.8 kB / 1.357 GB, free: 4.402 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005425/0.3829, allocations: 308.2 kB / 1.357 GB, free: 4.07 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004171/0.3833, allocations: 118.6 kB / 1.357 GB, free: 3.945 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.3835, allocations: 56.81 kB / 1.357 GB, free: 3.887 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.3835, allocations: 3.984 kB / 1.357 GB, free: 3.883 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.3835, allocations: 38.55 kB / 1.357 GB, free: 3.836 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.3835, allocations: 0 / 1.357 GB, free: 3.836 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0006337/0.3841, allocations: 189.6 kB / 1.358 GB, free: 3.645 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.3842, allocations: 55.34 kB / 1.358 GB, free: 3.578 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.3843, allocations: 113.8 kB / 1.358 GB, free: 3.457 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.3843, allocations: 29.7 kB / 1.358 GB, free: 3.422 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.774e-05/0.3844, allocations: 104 kB / 1.358 GB, free: 3.316 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/0.3845, allocations: 35.72 kB / 1.358 GB, free: 3.281 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/0.3845, allocations: 21.66 kB / 1.358 GB, free: 3.254 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.3847, allocations: 322.8 kB / 1.358 GB, free: 2.93 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.3848, allocations: 43.97 kB / 1.358 GB, free: 2.887 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.385, allocations: 47.89 kB / 1.358 GB, free: 2.84 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003079/0.3853, allocations: 96.78 kB / 1.359 GB, free: 2.742 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3853, allocations: 0 / 1.359 GB, free: 2.742 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003743/0.3857, allocations: 138.1 kB / 1.359 GB, free: 2.602 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.3857, allocations: 4 kB / 1.359 GB, free: 2.598 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.3857, allocations: 4 kB / 1.359 GB, free: 2.594 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3857, allocations: 0 / 1.359 GB, free: 2.594 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.3859, allocations: 31.97 kB / 1.359 GB, free: 2.562 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.882e-06/0.3859, allocations: 3.938 kB / 1.359 GB, free: 2.559 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.959e-05/0.386, allocations: 16.08 kB / 1.359 GB, free: 2.543 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.386, allocations: 7.938 kB / 1.359 GB, free: 2.535 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.0001069/0.3861, allocations: 117.8 kB / 1.359 GB, free: 2.41 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.3861, allocations: 7.953 kB / 1.359 GB, free: 2.402 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.419e-05/0.3861, allocations: 20.3 kB / 1.359 GB, free: 2.379 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3861, allocations: 4 kB / 1.359 GB, free: 2.375 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3861, allocations: 3.938 kB / 1.359 GB, free: 2.371 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3861, allocations: 0 / 1.359 GB, free: 2.371 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.3863, allocations: 141.2 kB / 1.359 GB, free: 2.203 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3863, allocations: 0 / 1.359 GB, free: 2.203 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.3865, allocations: 35.97 kB / 1.359 GB, free: 2.168 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3865, allocations: 0 / 1.359 GB, free: 2.168 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.3865, allocations: 0 / 1.359 GB, free: 2.168 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3865, allocations: 0 / 1.359 GB, free: 2.168 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.3865, allocations: 0 / 1.359 GB, free: 2.168 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004288/0.3869, allocations: 235.3 kB / 1.359 GB, free: 1.922 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.224e-05/0.3869, allocations: 3.953 kB / 1.359 GB, free: 1.918 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.387, allocations: 8 kB / 1.359 GB, free: 1.91 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.3871, allocations: 11.98 kB / 1.359 GB, free: 1.898 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.3871, allocations: 11.92 kB / 1.359 GB, free: 1.887 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.3871, allocations: 4 kB / 1.359 GB, free: 1.883 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.154e-05/0.3872, allocations: 95.64 kB / 1.359 GB, free: 1.789 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3872, allocations: 0 / 1.359 GB, free: 1.789 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002337/0.3874, allocations: 19.95 kB / 1.359 GB, free: 1.77 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.0001374/0.3876, allocations: 109.2 kB / 1.359 GB, free: 1.656 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003805/0.3879, allocations: 103.9 kB / 1.36 GB, free: 1.555 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.3879, allocations: 4 kB / 1.36 GB, free: 1.551 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.3881, allocations: 52.17 kB / 1.36 GB, free: 1.5 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.3885, allocations: 23.38 kB / 1.36 GB, free: 1.48 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005349/0.389, allocations: 239.5 kB / 1.36 GB, free: 1.211 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.625e-05/0.3891, allocations: 89.25 kB / 1.36 GB, free: 1.098 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.115e-05/0.3892, allocations: 11.44 kB / 1.36 GB, free: 1.086 MB / 1.045 GB Notification: Performance of SimCode: time 3.4e-07/0.3892, allocations: 3.938 kB / 1.36 GB, free: 1.082 MB / 1.045 GB Notification: Performance of Templates: time 0.002995/0.3922, allocations: 1.221 MB / 1.361 GB, free: 15.86 MB / 1.061 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 -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: 11.112657016987214]