Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001847/0.001847, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002357/0.002357, allocations: 203 kB / 22.18 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.724/2.724, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 67.89 kB / 1.109 GB, free: 6.582 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.689/0.6912, allocations: 168.7 MB / 1.274 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002273/0.6934, allocations: 0.9329 MB / 1.275 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.6946, allocations: 0.8912 MB / 1.276 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.281e-05/0.6947, allocations: 0 / 1.276 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.07e-05/0.6948, allocations: 7.875 kB / 1.276 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.6949, allocations: 23.8 kB / 1.276 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.695, allocations: 39.89 kB / 1.276 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.6952, allocations: 131.7 kB / 1.276 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.6954, allocations: 41.5 kB / 1.276 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.6955, allocations: 47.8 kB / 1.276 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.6956, allocations: 59.75 kB / 1.276 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.661e-05/0.6956, allocations: 15.94 kB / 1.276 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.243e-05/0.6957, allocations: 12 kB / 1.276 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.889e-05/0.6957, allocations: 27.91 kB / 1.276 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.397e-05/0.6958, allocations: 59.67 kB / 1.276 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.696, allocations: 158 kB / 1.276 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.696, allocations: 0 / 1.276 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.002e-06/0.696, allocations: 0 / 1.276 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.696, allocations: 0 / 1.276 GB, free: 2.109 MB / 0.9669 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.0007032/0.6967, allocations: 438.8 kB / 1.277 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.6967, allocations: 8.031 kB / 1.277 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.577e-05/0.6968, allocations: 16.84 kB / 1.277 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.6971, allocations: 220.9 kB / 1.277 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.6971, allocations: 8.375 kB / 1.277 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.6971, allocations: 8.125 kB / 1.277 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.6974, allocations: 101.6 kB / 1.277 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.6974, allocations: 3.938 kB / 1.277 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.6974, allocations: 0 / 1.277 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.6974, allocations: 4 kB / 1.277 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002268/0.6976, allocations: 75.89 kB / 1.277 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000652/0.6983, allocations: 408.6 kB / 1.278 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002817/0.6986, allocations: 74.67 kB / 1.278 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.6987, allocations: 40.84 kB / 1.278 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.6987, allocations: 3.984 kB / 1.278 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.6987, allocations: 34.5 kB / 1.278 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.6987, allocations: 0 / 1.278 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0003996/0.6991, allocations: 125.5 kB / 1.278 GB, free: 412 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.6992, allocations: 59.34 kB / 1.278 GB, free: 340 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.6993, allocations: 160.4 kB / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.6994, allocations: 29.7 kB / 1.278 GB, free: 132 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.664e-05/0.6994, allocations: 116.2 kB / 1.278 GB, free: 12 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.212e-05/0.6995, allocations: 16.14 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.463e-05/0.6995, allocations: 29.7 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.6997, allocations: 322.8 kB / 1.279 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.6998, allocations: 31.98 kB / 1.279 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.6999, allocations: 58.39 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.7001, allocations: 52.83 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.7001, allocations: 0 / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002575/0.7004, allocations: 117.6 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.7004, allocations: 11.97 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.7004, allocations: 3.984 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.7004, allocations: 0 / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.214e-05/0.7005, allocations: 11.98 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.7005, allocations: 4 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.7006, allocations: 15.92 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.7006, allocations: 4 kB / 1.279 GB, free: 15.31 MB / 0.9825 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.000105/0.7007, allocations: 117.8 kB / 1.279 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.239e-05/0.7008, allocations: 23.84 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.613e-05/0.7008, allocations: 16.7 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.7008, allocations: 0 / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.7008, allocations: 4 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.7008, allocations: 0 / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002461/0.7011, allocations: 205.6 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.7011, allocations: 0 / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.447e-05/0.7011, allocations: 11.98 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.7011, allocations: 7.938 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.7012, allocations: 7.984 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.7012, allocations: 4 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.7012, allocations: 0 / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.7015, allocations: 191.5 kB / 1.279 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.896e-05/0.7015, allocations: 92.95 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.7016, allocations: 7.938 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.7017, allocations: 7.984 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.829e-05/0.7017, allocations: 27.91 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.7017, allocations: 0 / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000104/0.7018, allocations: 124.3 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7018, allocations: 0 / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002528/0.7021, allocations: 15.94 kB / 1.28 GB, free: 14.37 MB / 0.9825 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.0001448/0.7022, allocations: 104.2 kB / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00029/0.7025, allocations: 75.88 kB / 1.28 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7025, allocations: 4 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.7027, allocations: 31.97 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.703, allocations: 13.5 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005082/0.7035, allocations: 235.5 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.7038, allocations: 0.7041 MB / 1.281 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.638e-05/0.7039, allocations: 8.938 kB / 1.281 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.793e-05/0.7039, allocations: 19.38 kB / 1.281 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of SimCode: time 4.81e-07/0.7039, allocations: 0 / 1.281 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of Templates: time 0.004228/0.7082, allocations: 1.176 MB / 1.282 GB, free: 11.96 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.337826050817966]