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.001811/0.001811, 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.002311/0.002311, allocations: 211.4 kB / 22.24 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.444/1.444, allocations: 230.6 MB / 256 MB, free: 7.781 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.245/3.245, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.002273/0.002273, allocations: 65.67 kB / 1.186 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3722, allocations: 181.9 MB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002306/0.3745, allocations: 0.8803 MB / 1.365 GB, free: 12.67 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001337/0.3759, allocations: 0.9221 MB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.754e-05/0.3759, allocations: 0 / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.71e-05/0.376, allocations: 15.8 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.589e-05/0.3761, allocations: 19.81 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.3763, allocations: 43.94 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.3765, allocations: 127.6 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.3766, allocations: 33.7 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.3768, allocations: 59.78 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.3769, allocations: 55.75 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/0.377, allocations: 12 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.424e-05/0.377, allocations: 20 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.376e-05/0.377, allocations: 31.86 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.5e-05/0.3771, allocations: 51.72 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.3774, allocations: 155.3 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3774, allocations: 0 / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3774, allocations: 0 / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.3774, allocations: 0 / 1.366 GB, free: 11.12 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006373/0.378, allocations: 365.7 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.3781, allocations: 8.031 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002366/0.3783, allocations: 32.81 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.3786, allocations: 163 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.3786, allocations: 4.375 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.3786, allocations: 11.94 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/0.3789, allocations: 107.5 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.3789, allocations: 0 / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.3789, allocations: 4 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.3789, allocations: 4 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001928/0.3791, allocations: 71.89 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005722/0.3797, allocations: 320.2 kB / 1.367 GB, free: 9.961 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002768/0.3799, allocations: 78.66 kB / 1.367 GB, free: 9.875 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.38, allocations: 36.84 kB / 1.367 GB, free: 9.836 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.38, allocations: 4 kB / 1.367 GB, free: 9.832 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.3801, allocations: 34.5 kB / 1.367 GB, free: 9.789 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.3801, allocations: 3.938 kB / 1.367 GB, free: 9.785 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0003747/0.3805, allocations: 129.6 kB / 1.368 GB, free: 9.652 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.3805, allocations: 51.41 kB / 1.368 GB, free: 9.59 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.3806, allocations: 146.9 kB / 1.368 GB, free: 9.438 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.3807, allocations: 29.7 kB / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.463e-05/0.3807, allocations: 120 kB / 1.368 GB, free: 9.281 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/0.3808, allocations: 15.84 kB / 1.368 GB, free: 9.266 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.422e-05/0.3808, allocations: 29.7 kB / 1.368 GB, free: 9.23 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.381, allocations: 322.8 kB / 1.368 GB, free: 8.906 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.3811, allocations: 27.98 kB / 1.368 GB, free: 8.879 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.3812, allocations: 109.9 kB / 1.368 GB, free: 8.75 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.3814, allocations: 56.97 kB / 1.368 GB, free: 8.691 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.3814, allocations: 4 kB / 1.368 GB, free: 8.688 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002413/0.3816, allocations: 121.5 kB / 1.369 GB, free: 8.562 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.3816, allocations: 5.562 kB / 1.369 GB, free: 8.559 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3816, allocations: 3.984 kB / 1.369 GB, free: 8.555 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.3817, allocations: 0 / 1.369 GB, free: 8.555 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.244e-05/0.3817, allocations: 8 kB / 1.369 GB, free: 8.547 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.3818, allocations: 4 kB / 1.369 GB, free: 8.543 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.52e-05/0.3818, allocations: 8.266 kB / 1.369 GB, free: 8.535 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.3819, allocations: 4 kB / 1.369 GB, free: 8.531 MB / 1.061 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.000104/0.382, allocations: 125.3 kB / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.014e-05/0.382, allocations: 19.81 kB / 1.369 GB, free: 8.383 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.969e-05/0.382, allocations: 16.72 kB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.382, allocations: 3.938 kB / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.382, allocations: 0 / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.382, allocations: 0 / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.3822, allocations: 141.3 kB / 1.369 GB, free: 8.191 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3822, allocations: 0 / 1.369 GB, free: 8.191 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.678e-05/0.3823, allocations: 11.98 kB / 1.369 GB, free: 8.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.3823, allocations: 7.938 kB / 1.369 GB, free: 8.172 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.3823, allocations: 4 kB / 1.369 GB, free: 8.168 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3823, allocations: 0 / 1.369 GB, free: 8.168 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3823, allocations: 0 / 1.369 GB, free: 8.168 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.3826, allocations: 191.7 kB / 1.369 GB, free: 7.965 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.058e-05/0.3826, allocations: 11.89 kB / 1.369 GB, free: 7.953 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.3826, allocations: 7.938 kB / 1.369 GB, free: 7.945 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.3827, allocations: 11.98 kB / 1.369 GB, free: 7.934 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.24e-05/0.3828, allocations: 19.91 kB / 1.369 GB, free: 7.914 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.3828, allocations: 3.984 kB / 1.369 GB, free: 7.91 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.149e-05/0.3829, allocations: 113 kB / 1.369 GB, free: 7.801 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3829, allocations: 0 / 1.369 GB, free: 7.801 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002401/0.3831, allocations: 19.94 kB / 1.369 GB, free: 7.781 MB / 1.061 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.0001145/0.3833, allocations: 99.31 kB / 1.369 GB, free: 7.676 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002469/0.3835, allocations: 71.94 kB / 1.369 GB, free: 7.605 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3835, allocations: 4 kB / 1.369 GB, free: 7.602 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.997e-05/0.3836, allocations: 39.92 kB / 1.369 GB, free: 7.562 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.3839, allocations: 11.92 kB / 1.369 GB, free: 7.551 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004685/0.3844, allocations: 212.1 kB / 1.37 GB, free: 7.316 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.476e-05/0.3845, allocations: 97.03 kB / 1.37 GB, free: 7.203 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.857e-05/0.3846, allocations: 11.98 kB / 1.37 GB, free: 7.191 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.737e-05/0.3846, allocations: 15.42 kB / 1.37 GB, free: 7.176 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.3846, allocations: 0 / 1.37 GB, free: 7.176 MB / 1.061 GB Notification: Performance of Templates: time 0.004135/0.3887, allocations: 1.191 MB / 1.371 GB, free: 6.012 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/jenkins/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: 8.710673030465841]