Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.001947/0.001947, allocations: 110 kB / 18.93 MB, free: 2.945 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.002478/0.002478, allocations: 190.9 kB / 22.23 MB, free: 5.16 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.442/1.442, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.757/2.757, allocations: 476.7 MB / 0.7646 GB, free: 9.879 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 75.86 kB / 1.11 GB, free: 6.328 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7066/0.7086, allocations: 168.8 MB / 1.274 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002034/0.7107, allocations: 0.8267 MB / 1.275 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001487/0.7122, allocations: 1.16 MB / 1.276 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.462e-05/0.7122, allocations: 3.938 kB / 1.276 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.486e-05/0.7123, allocations: 7.922 kB / 1.276 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.411e-05/0.7123, allocations: 19.86 kB / 1.276 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004657/0.7128, allocations: 138.8 kB / 1.276 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.713, allocations: 143.7 kB / 1.277 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.7131, allocations: 39.89 kB / 1.277 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.873e-05/0.7132, allocations: 55.84 kB / 1.277 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.7133, allocations: 63.8 kB / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.06e-05/0.7134, allocations: 12 kB / 1.277 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.918e-05/0.7135, allocations: 27.98 kB / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.864e-05/0.7135, allocations: 19.92 kB / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.509e-05/0.7136, allocations: 51.84 kB / 1.277 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.7138, allocations: 157.8 kB / 1.277 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.7138, allocations: 0 / 1.277 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7138, allocations: 0 / 1.277 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.7138, allocations: 4 kB / 1.277 GB, free: 1.512 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006552/0.7144, allocations: 355.7 kB / 1.277 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.7145, allocations: 8.031 kB / 1.277 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.528e-05/0.7145, allocations: 16.88 kB / 1.277 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.7146, allocations: 118.4 kB / 1.277 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.7147, allocations: 4.375 kB / 1.277 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.441e-05/0.7147, allocations: 12.38 kB / 1.277 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.7149, allocations: 91.33 kB / 1.278 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.715, allocations: 192 / 1.278 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.715, allocations: 7.875 kB / 1.278 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.715, allocations: 4 kB / 1.278 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002315/0.7152, allocations: 51.95 kB / 1.278 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005648/0.7158, allocations: 347.7 kB / 1.278 GB, free: 416 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.716, allocations: 58.48 kB / 1.278 GB, free: 348 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.7161, allocations: 28.92 kB / 1.278 GB, free: 316 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.7161, allocations: 4 kB / 1.278 GB, free: 312 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002243/0.7163, allocations: 91.31 kB / 1.278 GB, free: 208 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 3.827e-06/0.7163, allocations: 3.984 kB / 1.278 GB, free: 204 kB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0004581/0.7168, allocations: 129.5 kB / 1.278 GB, free: 68 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.7168, allocations: 55.39 kB / 1.278 GB, free: 0 / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.7169, allocations: 129.8 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.717, allocations: 33.7 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.308e-05/0.717, allocations: 100 kB / 1.279 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.7171, allocations: 15.91 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.561e-05/0.7171, allocations: 41.69 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.7173, allocations: 314.8 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.7174, allocations: 51.95 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.7176, allocations: 79.41 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002758/0.7179, allocations: 116.2 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.7179, allocations: 4 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004525/0.7184, allocations: 195.2 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.139e-05/0.7184, allocations: 41.69 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.7184, allocations: 0 / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.7184, allocations: 4 kB / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.986e-05/0.7185, allocations: 11.92 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.7185, allocations: 0 / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/0.7188, allocations: 44.27 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.7188, allocations: 4 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0001121/0.7189, allocations: 124 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.7189, allocations: 11.95 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.184e-05/0.719, allocations: 12.36 kB / 1.28 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.719, allocations: 4 kB / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.719, allocations: 0 / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.719, allocations: 3.938 kB / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.7191, allocations: 160.7 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.7191, allocations: 3.938 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.138e-05/0.7192, allocations: 4 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.7192, allocations: 4 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.7192, allocations: 7.984 kB / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.7192, allocations: 0 / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.7192, allocations: 0 / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.7195, allocations: 128.9 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.742e-05/0.7195, allocations: 15.88 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.7195, allocations: 0 / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.679e-05/0.7196, allocations: 11.98 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.498e-05/0.7197, allocations: 15.92 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.7197, allocations: 96 / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.583e-05/0.7198, allocations: 99.2 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.7198, allocations: 0 / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002272/0.72, allocations: 28 kB / 1.28 GB, free: 14.06 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: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001323/0.7201, allocations: 103.2 kB / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004099/0.7205, allocations: 151.3 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.7205, allocations: 0 / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.7207, allocations: 35.97 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.7209, allocations: 16.11 kB / 1.28 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003747/0.7212, allocations: 179 kB / 1.281 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.7215, allocations: 0.6923 MB / 1.281 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.318e-05/0.7216, allocations: 4 kB / 1.281 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/0.7216, allocations: 15.42 kB / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.7216, allocations: 4 kB / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of Templates: time 0.00485/0.7265, allocations: 1.682 MB / 1.283 GB, free: 11.13 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.256066713482141]