Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0015/0.001501, allocations: 116.4 kB / 16.42 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 186.5 kB / 17.35 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.289/2.289, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 59.91 kB / 0.9516 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9761/0.9774, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs): time 0.002095/0.9796, allocations: 0.6765 MB / 1.089 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.9807, allocations: 0.8437 MB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.147e-05/0.9807, allocations: 1.156 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.089e-05/0.9807, allocations: 0 / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.76e-05/0.9808, allocations: 5.859 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001728/0.981, allocations: 8.516 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.818e-05/0.9811, allocations: 29.05 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.9812, allocations: 12.61 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.791e-05/0.9813, allocations: 12.69 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.343e-05/0.9814, allocations: 12.81 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.9814, allocations: 2.719 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.228e-06/0.9814, allocations: 1.469 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.839e-05/0.9814, allocations: 6.328 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.95e-05/0.9815, allocations: 11.73 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.437e-05/0.9815, allocations: 16.77 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.9816, allocations: 3.938 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9816, allocations: 4 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.9816, allocations: 0 / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004089/0.982, allocations: 337.5 kB / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.982, allocations: 8.219 kB / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.35e-05/0.9821, allocations: 6.938 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.55e-05/0.9822, allocations: 167 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.9822, allocations: 1.625 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.9822, allocations: 1.656 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.9824, allocations: 53.22 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.9824, allocations: 192 / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.9824, allocations: 3.938 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.9825, allocations: 1.656 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.9826, allocations: 31.92 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002843/0.9829, allocations: 250.7 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.983, allocations: 44.72 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.817e-05/0.9831, allocations: 23 kB / 1.091 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.9832, allocations: 1.219 kB / 1.091 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.9832, allocations: 32.23 kB / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.9832, allocations: 0 / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003724/0.9836, allocations: 87.86 kB / 1.091 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.807e-05/0.9836, allocations: 52.47 kB / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.595e-05/0.9837, allocations: 96.53 kB / 1.091 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.9837, allocations: 26.52 kB / 1.091 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.003e-05/0.9837, allocations: 90.12 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.9837, allocations: 1.984 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.9838, allocations: 16.67 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.806e-05/0.9838, allocations: 316.6 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.129e-05/0.9839, allocations: 14.03 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.172e-05/0.984, allocations: 18.77 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.9841, allocations: 36.25 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.9842, allocations: 5.094 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001869/0.9843, allocations: 74.72 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.9844, allocations: 8.188 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.9844, allocations: 0 / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.9844, allocations: 5.797 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.221e-05/0.9845, allocations: 16.61 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.9845, allocations: 0 / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.971e-05/0.9846, allocations: 10.81 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.9846, allocations: 1.344 kB / 1.092 GB, free: 2.656 MB / 0.8575 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 (2): * Single equations (assignments): 2 * 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 6.045e-05/0.9846, allocations: 112.1 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.9847, allocations: 5.125 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.726e-05/0.9847, allocations: 4.859 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.9847, allocations: 0.7969 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.9847, allocations: 0 / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.613e-05/0.9847, allocations: 78.64 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.9848, allocations: 1.359 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.356e-05/0.9849, allocations: 10.22 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.9849, allocations: 2.078 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002519/0.9852, allocations: 155.6 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002297/0.9854, allocations: 234.3 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.238e-05/0.9855, allocations: 19.48 kB / 1.093 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.51e-05/0.9855, allocations: 80.7 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of Backend: time 3.41e-07/0.9855, allocations: 0 / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004381/0.986, allocations: 101.3 kB / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0004291/0.9864, allocations: 0.5595 MB / 1.093 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of Templates: time 0.003049/0.9895, allocations: 0.5149 MB / 1.094 GB, free: 1.305 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches