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.001709/0.001709, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.002712/0.002712, allocations: 195.9 kB / 22.17 MB, free: 5.656 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.557/1.557, allocations: 225.6 MB / 250.9 MB, free: 13.3 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.9/2.9, allocations: 476.7 MB / 0.7645 GB, free: 10.13 MB / 0.6231 GB " [Timeout remaining time 176] 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.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.002122/0.002122, allocations: 59.91 kB / 1.109 GB, free: 6.602 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015/1.018, allocations: 168.7 MB / 1.274 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002425/1.02, allocations: 0.8124 MB / 1.275 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001672/1.022, allocations: 1.16 MB / 1.276 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.24e-05/1.022, allocations: 0 / 1.276 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.664e-05/1.022, allocations: 3.938 kB / 1.276 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.929e-05/1.022, allocations: 15.86 kB / 1.276 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005147/1.022, allocations: 154.9 kB / 1.276 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002265/1.023, allocations: 135.7 kB / 1.276 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/1.023, allocations: 35.86 kB / 1.276 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/1.023, allocations: 63.88 kB / 1.276 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/1.023, allocations: 63.69 kB / 1.276 GB, free: 2 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.798e-05/1.023, allocations: 15.94 kB / 1.276 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.498e-05/1.023, allocations: 27.97 kB / 1.276 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.068e-05/1.023, allocations: 19.98 kB / 1.276 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.85e-05/1.023, allocations: 59.78 kB / 1.277 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002417/1.023, allocations: 150.1 kB / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/1.023, allocations: 4 kB / 1.277 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.933e-06/1.023, allocations: 0 / 1.277 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.871e-06/1.023, allocations: 0 / 1.277 GB, free: 1.73 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.0007014/1.024, allocations: 432.8 kB / 1.277 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/1.024, allocations: 8.031 kB / 1.277 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.629e-05/1.024, allocations: 12.89 kB / 1.277 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/1.024, allocations: 180.2 kB / 1.277 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/1.024, allocations: 4.375 kB / 1.277 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/1.024, allocations: 12.38 kB / 1.277 GB, free: 1 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/1.025, allocations: 90.2 kB / 1.277 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/1.025, allocations: 192 / 1.277 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/1.025, allocations: 3.938 kB / 1.277 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/1.025, allocations: 0 / 1.277 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002222/1.025, allocations: 55.95 kB / 1.277 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006156/1.026, allocations: 380.6 kB / 1.278 GB, free: 436 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/1.026, allocations: 50.55 kB / 1.278 GB, free: 376 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/1.026, allocations: 36.86 kB / 1.278 GB, free: 336 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/1.026, allocations: 0 / 1.278 GB, free: 336 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002599/1.026, allocations: 91.33 kB / 1.278 GB, free: 232 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/1.026, allocations: 0 / 1.278 GB, free: 232 kB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0004469/1.027, allocations: 121.6 kB / 1.278 GB, free: 104 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/1.027, allocations: 55.34 kB / 1.278 GB, free: 36 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/1.027, allocations: 133.7 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/1.027, allocations: 33.7 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.486e-05/1.027, allocations: 104 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/1.027, allocations: 19.84 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.443e-05/1.027, allocations: 37.7 kB / 1.278 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001466/1.027, allocations: 314.8 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/1.027, allocations: 51.97 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/1.027, allocations: 83.39 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/1.028, allocations: 116.2 kB / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.028, allocations: 96 / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004534/1.028, allocations: 203.2 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.696e-05/1.028, allocations: 41.69 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/1.028, allocations: 0 / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/1.028, allocations: 4 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.964e-05/1.028, allocations: 4 kB / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/1.028, allocations: 4.062 kB / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/1.029, allocations: 47.94 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/1.029, allocations: 4 kB / 1.279 GB, free: 14.78 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.0001247/1.029, allocations: 128.3 kB / 1.279 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.647e-05/1.029, allocations: 7.953 kB / 1.279 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.765e-05/1.029, allocations: 12.36 kB / 1.279 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/1.029, allocations: 4 kB / 1.279 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.029, allocations: 0 / 1.279 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/1.029, allocations: 3.938 kB / 1.279 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/1.029, allocations: 189.6 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/1.029, allocations: 0 / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.16e-05/1.029, allocations: 7.984 kB / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/1.029, allocations: 0 / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/1.029, allocations: 4 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/1.029, allocations: 0 / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.029, allocations: 3.984 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/1.029, allocations: 129.3 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.697e-05/1.029, allocations: 89.06 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/1.029, allocations: 8.047 kB / 1.28 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.067e-05/1.029, allocations: 7.984 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.582e-05/1.03, allocations: 23.86 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/1.03, allocations: 0 / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.478e-05/1.03, allocations: 99.2 kB / 1.28 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/1.03, allocations: 0 / 1.28 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002272/1.03, allocations: 23.94 kB / 1.28 GB, free: 13.95 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.0001575/1.03, allocations: 107.8 kB / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004076/1.03, allocations: 155.3 kB / 1.28 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/1.03, allocations: 0 / 1.28 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/1.031, allocations: 35.97 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/1.031, allocations: 16.06 kB / 1.28 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004242/1.031, allocations: 189.6 kB / 1.28 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/1.032, allocations: 0.6923 MB / 1.281 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.336e-05/1.032, allocations: 4 kB / 1.281 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.356e-05/1.032, allocations: 11.44 kB / 1.281 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/1.032, allocations: 4 kB / 1.281 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of Templates: time 0.004789/1.036, allocations: 1.654 MB / 1.283 GB, free: 11.04 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.318323752842844]