Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.001615/0.001615, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001865/0.001865, allocations: 218.1 kB / 23.01 MB, free: 4.605 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.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.19/3.19, allocations: 0.505 GB / 0.8108 GB, free: 22.09 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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [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.002049/0.002049, allocations: 70.97 kB / 1.178 GB, free: 16.92 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3737, allocations: 180.2 MB / 1.354 GB, free: 8 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002331/0.376, allocations: 0.9386 MB / 1.355 GB, free: 7.062 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.3773, allocations: 0.9328 MB / 1.356 GB, free: 6.117 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.111e-05/0.3773, allocations: 0 / 1.356 GB, free: 6.117 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.504e-05/0.3774, allocations: 11.81 kB / 1.356 GB, free: 6.105 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.3775, allocations: 19.8 kB / 1.356 GB, free: 6.086 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.3777, allocations: 47.94 kB / 1.356 GB, free: 6.039 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.3779, allocations: 131.6 kB / 1.356 GB, free: 5.91 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.378, allocations: 37.64 kB / 1.356 GB, free: 5.867 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.3782, allocations: 55.84 kB / 1.356 GB, free: 5.812 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.3783, allocations: 55.7 kB / 1.356 GB, free: 5.758 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.795e-05/0.3784, allocations: 12 kB / 1.356 GB, free: 5.746 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.004e-05/0.3784, allocations: 23.98 kB / 1.356 GB, free: 5.723 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.974e-05/0.3785, allocations: 35.84 kB / 1.356 GB, free: 5.688 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.885e-05/0.3785, allocations: 51.73 kB / 1.356 GB, free: 5.637 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.3788, allocations: 159.3 kB / 1.357 GB, free: 5.48 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3788, allocations: 0 / 1.357 GB, free: 5.48 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3788, allocations: 4 kB / 1.357 GB, free: 5.477 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.301e-06/0.3788, allocations: 0 / 1.357 GB, free: 5.477 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006425/0.3794, allocations: 361.7 kB / 1.357 GB, free: 5.094 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.3795, allocations: 12.03 kB / 1.357 GB, free: 5.082 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002513/0.3797, allocations: 32.81 kB / 1.357 GB, free: 5.051 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.38, allocations: 159.1 kB / 1.357 GB, free: 4.871 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.38, allocations: 12.33 kB / 1.357 GB, free: 4.859 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.38, allocations: 16.12 kB / 1.357 GB, free: 4.844 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.3803, allocations: 99.7 kB / 1.357 GB, free: 4.742 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.3803, allocations: 0 / 1.357 GB, free: 4.742 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.3803, allocations: 7.938 kB / 1.357 GB, free: 4.734 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.3803, allocations: 4 kB / 1.357 GB, free: 4.73 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001853/0.3805, allocations: 75.83 kB / 1.357 GB, free: 4.656 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006225/0.3811, allocations: 371.7 kB / 1.358 GB, free: 4.25 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.3814, allocations: 74.67 kB / 1.358 GB, free: 4.168 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.901e-05/0.3815, allocations: 40.83 kB / 1.358 GB, free: 4.125 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.3815, allocations: 4 kB / 1.358 GB, free: 4.121 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.3815, allocations: 42.44 kB / 1.358 GB, free: 4.07 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.3815, allocations: 0 / 1.358 GB, free: 4.07 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0003615/0.3819, allocations: 117.7 kB / 1.358 GB, free: 3.949 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.3819, allocations: 55.41 kB / 1.358 GB, free: 3.883 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.3821, allocations: 162.8 kB / 1.358 GB, free: 3.715 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.3821, allocations: 29.7 kB / 1.358 GB, free: 3.68 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.138e-05/0.3822, allocations: 112.2 kB / 1.358 GB, free: 3.566 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.3822, allocations: 15.86 kB / 1.358 GB, free: 3.551 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.75e-05/0.3823, allocations: 25.7 kB / 1.358 GB, free: 3.52 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3824, allocations: 326.8 kB / 1.359 GB, free: 3.191 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.3825, allocations: 27.98 kB / 1.359 GB, free: 3.164 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.3826, allocations: 62.48 kB / 1.359 GB, free: 3.094 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.3828, allocations: 56.83 kB / 1.359 GB, free: 3.035 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3828, allocations: 0 / 1.359 GB, free: 3.035 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002308/0.383, allocations: 109.5 kB / 1.359 GB, free: 2.922 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.383, allocations: 12.2 kB / 1.359 GB, free: 2.91 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.383, allocations: 4 kB / 1.359 GB, free: 2.906 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3831, allocations: 4.031 kB / 1.359 GB, free: 2.902 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.905e-05/0.3831, allocations: 11.94 kB / 1.359 GB, free: 2.891 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3831, allocations: 3.984 kB / 1.359 GB, free: 2.887 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.804e-05/0.3832, allocations: 15.94 kB / 1.359 GB, free: 2.871 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.3832, allocations: 0 / 1.359 GB, free: 2.871 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: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * 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.0001113/0.3834, allocations: 136.5 kB / 1.359 GB, free: 2.73 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.386e-05/0.3834, allocations: 11.89 kB / 1.359 GB, free: 2.719 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.55e-05/0.3834, allocations: 16.72 kB / 1.359 GB, free: 2.703 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.3834, allocations: 4 kB / 1.359 GB, free: 2.699 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3834, allocations: 0 / 1.359 GB, free: 2.699 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.3834, allocations: 0 / 1.359 GB, free: 2.699 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.3837, allocations: 188.6 kB / 1.359 GB, free: 2.473 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3837, allocations: 7.922 kB / 1.359 GB, free: 2.465 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.374e-05/0.3837, allocations: 8 kB / 1.359 GB, free: 2.457 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.086e-06/0.3837, allocations: 3.938 kB / 1.359 GB, free: 2.453 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.3838, allocations: 7.984 kB / 1.359 GB, free: 2.445 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3838, allocations: 0 / 1.359 GB, free: 2.445 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3838, allocations: 4 kB / 1.359 GB, free: 2.441 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.384, allocations: 195.4 kB / 1.359 GB, free: 2.234 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.936e-05/0.384, allocations: 11.84 kB / 1.359 GB, free: 2.223 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.3841, allocations: 4 kB / 1.359 GB, free: 2.219 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.3842, allocations: 11.98 kB / 1.359 GB, free: 2.207 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.767e-05/0.3842, allocations: 11.97 kB / 1.359 GB, free: 2.195 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.3843, allocations: 4 kB / 1.359 GB, free: 2.191 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.931e-05/0.3843, allocations: 123.2 kB / 1.36 GB, free: 2.07 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3843, allocations: 0 / 1.36 GB, free: 2.07 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002363/0.3846, allocations: 23.94 kB / 1.36 GB, free: 2.047 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * 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 0.0001263/0.3847, allocations: 99.62 kB / 1.36 GB, free: 1.941 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002438/0.3849, allocations: 67.91 kB / 1.36 GB, free: 1.875 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3849, allocations: 0 / 1.36 GB, free: 1.875 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.778e-05/0.385, allocations: 43.95 kB / 1.36 GB, free: 1.832 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.3854, allocations: 8 kB / 1.36 GB, free: 1.824 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004939/0.3859, allocations: 249.7 kB / 1.36 GB, free: 1.547 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.3862, allocations: 0.704 MB / 1.361 GB, free: 0.8164 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.842e-05/0.3863, allocations: 23.44 kB / 1.361 GB, free: 0.793 MB / 1.045 GB Notification: Performance of SimCode: time 3.4e-07/0.3863, allocations: 0 / 1.361 GB, free: 0.793 MB / 1.045 GB Notification: Performance of Templates: time 0.003269/0.3895, allocations: 1.385 MB / 1.362 GB, free: 15.41 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.23775465998915]