Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.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.001932/0.001932, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002756/0.002756, allocations: 214.6 kB / 22.25 MB, free: 5.262 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.566/1.566, allocations: 230.6 MB / 256 MB, free: 7.789 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.483/3.483, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 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.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") [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.002064/0.002064, allocations: 71.09 kB / 1.186 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4616/0.4637, allocations: 181.9 MB / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.00267/0.4664, allocations: 1.005 MB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001701/0.4681, allocations: 1.023 MB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.4682, allocations: 11.94 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.4684, allocations: 19.73 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.141e-05/0.4685, allocations: 23.8 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003733/0.4688, allocations: 75.84 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002505/0.4691, allocations: 180 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000198/0.4693, allocations: 52.41 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.4694, allocations: 75.72 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.4696, allocations: 71.59 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.398e-05/0.4696, allocations: 20 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.208e-05/0.4697, allocations: 20 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.842e-05/0.4697, allocations: 35.91 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.8e-05/0.4698, allocations: 67.64 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003/0.4701, allocations: 191.1 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.4701, allocations: 0 / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4701, allocations: 0 / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.4701, allocations: 0 / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0009549/0.4711, allocations: 430.4 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.4711, allocations: 12.02 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.4712, allocations: 20.84 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/0.4715, allocations: 162.7 kB / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.4716, allocations: 16.38 kB / 1.367 GB, free: 9.941 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.535e-05/0.4716, allocations: 16.38 kB / 1.367 GB, free: 9.926 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003667/0.472, allocations: 175.3 kB / 1.367 GB, free: 9.742 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.472, allocations: 0 / 1.367 GB, free: 9.742 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.472, allocations: 12 kB / 1.367 GB, free: 9.73 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.472, allocations: 0 / 1.367 GB, free: 9.73 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003106/0.4723, allocations: 111.9 kB / 1.368 GB, free: 9.621 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.4734, allocations: 443.9 kB / 1.368 GB, free: 9.156 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003894/0.4738, allocations: 122.7 kB / 1.368 GB, free: 9.027 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.474, allocations: 84.84 kB / 1.368 GB, free: 8.941 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.474, allocations: 4 kB / 1.368 GB, free: 8.938 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002571/0.4742, allocations: 152.8 kB / 1.368 GB, free: 8.77 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 1.783e-06/0.4743, allocations: 3.938 kB / 1.368 GB, free: 8.766 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.0006027/0.4749, allocations: 227.3 kB / 1.369 GB, free: 8.539 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/0.4749, allocations: 55.41 kB / 1.369 GB, free: 8.473 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.4751, allocations: 143.5 kB / 1.369 GB, free: 8.324 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.394e-05/0.4751, allocations: 29.7 kB / 1.369 GB, free: 8.289 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.4752, allocations: 120.5 kB / 1.369 GB, free: 8.168 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.197e-05/0.4753, allocations: 67.42 kB / 1.369 GB, free: 8.102 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.478e-05/0.4754, allocations: 41.64 kB / 1.369 GB, free: 8.055 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.4755, allocations: 326.8 kB / 1.369 GB, free: 7.727 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/0.4757, allocations: 71.95 kB / 1.369 GB, free: 7.656 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.476, allocations: 91.36 kB / 1.369 GB, free: 7.562 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003479/0.4763, allocations: 144.2 kB / 1.37 GB, free: 7.418 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4763, allocations: 0 / 1.37 GB, free: 7.418 MB / 1.061 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006096/0.4769, allocations: 213.4 kB / 1.37 GB, free: 7.203 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.477, allocations: 4 kB / 1.37 GB, free: 7.199 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.477, allocations: 0 / 1.37 GB, free: 7.199 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/0.477, allocations: 4 kB / 1.37 GB, free: 7.195 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.4772, allocations: 43.91 kB / 1.37 GB, free: 7.152 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.4772, allocations: 4 kB / 1.37 GB, free: 7.148 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.4774, allocations: 23.88 kB / 1.37 GB, free: 7.125 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.4774, allocations: 4 kB / 1.37 GB, free: 7.121 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.000132/0.4775, allocations: 138.4 kB / 1.37 GB, free: 6.977 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.4775, allocations: 19.89 kB / 1.37 GB, free: 6.957 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004409/0.478, allocations: 189.2 kB / 1.37 GB, free: 6.766 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.478, allocations: 3.938 kB / 1.37 GB, free: 6.762 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.478, allocations: 0 / 1.37 GB, free: 6.762 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.478, allocations: 7.984 kB / 1.37 GB, free: 6.754 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008277/0.4788, allocations: 0.5028 MB / 1.371 GB, free: 6.195 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.4788, allocations: 0 / 1.371 GB, free: 6.195 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.479, allocations: 47.91 kB / 1.371 GB, free: 6.148 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.479, allocations: 0 / 1.371 GB, free: 6.148 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.479, allocations: 7.938 kB / 1.371 GB, free: 6.141 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.479, allocations: 4 kB / 1.371 GB, free: 6.137 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.479, allocations: 0 / 1.371 GB, free: 6.137 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006418/0.4797, allocations: 388.6 kB / 1.371 GB, free: 5.723 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.958e-05/0.4797, allocations: 19.77 kB / 1.371 GB, free: 5.703 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.4797, allocations: 8 kB / 1.371 GB, free: 5.695 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.4799, allocations: 12.03 kB / 1.371 GB, free: 5.684 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.766e-05/0.48, allocations: 27.95 kB / 1.371 GB, free: 5.656 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.48, allocations: 8 kB / 1.371 GB, free: 5.648 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.498e-05/0.4801, allocations: 109.1 kB / 1.371 GB, free: 5.543 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4801, allocations: 4 kB / 1.371 GB, free: 5.539 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000504/0.4806, allocations: 35.95 kB / 1.371 GB, free: 5.504 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0001828/0.4808, allocations: 107.1 kB / 1.371 GB, free: 5.391 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005007/0.4813, allocations: 149.9 kB / 1.372 GB, free: 5.246 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4813, allocations: 3.938 kB / 1.372 GB, free: 5.242 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.4815, allocations: 87.95 kB / 1.372 GB, free: 5.156 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.4818, allocations: 23.98 kB / 1.372 GB, free: 5.133 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007393/0.4825, allocations: 374.7 kB / 1.372 GB, free: 4.723 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/0.4827, allocations: 116.6 kB / 1.372 GB, free: 4.582 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.068e-05/0.4827, allocations: 13.42 kB / 1.372 GB, free: 4.57 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.575e-05/0.4828, allocations: 19.44 kB / 1.372 GB, free: 4.551 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/0.4828, allocations: 0 / 1.372 GB, free: 4.551 MB / 1.061 GB Notification: Performance of Templates: time 0.005603/0.4884, allocations: 1.855 MB / 1.374 GB, free: 2.727 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.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: 9.852774750441313]