Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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=5000,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 109.4 kB / 16.37 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 193.8 kB / 17.31 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.157/2.157, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001269, allocations: 62.27 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2573, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002237/0.2596, allocations: 0.8024 MB / 0.9519 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00137/0.261, allocations: 1.159 MB / 0.9531 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.397e-05/0.261, allocations: 4 kB / 0.9531 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.668e-05/0.2611, allocations: 7.922 kB / 0.9531 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.679e-05/0.2612, allocations: 7.875 kB / 0.9531 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004644/0.2616, allocations: 151.6 kB / 0.9532 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000194/0.2618, allocations: 143.7 kB / 0.9534 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.262, allocations: 39.97 kB / 0.9534 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.978e-05/0.2621, allocations: 59.83 kB / 0.9534 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.2622, allocations: 51.81 kB / 0.9535 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.303e-05/0.2622, allocations: 19.94 kB / 0.9535 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.612e-05/0.2623, allocations: 31.97 kB / 0.9535 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.88e-05/0.2624, allocations: 19.92 kB / 0.9536 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.583e-05/0.2624, allocations: 47.84 kB / 0.9536 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.2627, allocations: 155.5 kB / 0.9538 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2627, allocations: 4 kB / 0.9538 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2627, allocations: 0 / 0.9538 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.2627, allocations: 0 / 0.9538 GB, free: 5.348 MB / 0.7325 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.0006353/0.2633, allocations: 436.8 kB / 0.9542 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.2634, allocations: 12.03 kB / 0.9542 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.293e-05/0.2634, allocations: 8.844 kB / 0.9542 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.2636, allocations: 176.2 kB / 0.9544 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.2636, allocations: 12.36 kB / 0.9544 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.2636, allocations: 16.38 kB / 0.9544 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.2639, allocations: 77.09 kB / 0.9545 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.2639, allocations: 192 / 0.9545 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.2639, allocations: 7.938 kB / 0.9545 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2639, allocations: 4 kB / 0.9545 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001994/0.2641, allocations: 59.94 kB / 0.9545 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005382/0.2647, allocations: 380.5 kB / 0.9549 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.2648, allocations: 46.56 kB / 0.9549 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.643e-05/0.2649, allocations: 40.86 kB / 0.955 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.265, allocations: 0 / 0.955 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002361/0.2652, allocations: 87.36 kB / 0.9551 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.2652, allocations: 0 / 0.9551 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0004042/0.2656, allocations: 125.5 kB / 0.9552 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.2657, allocations: 55.34 kB / 0.9552 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.836e-05/0.2658, allocations: 125.7 kB / 0.9554 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.2658, allocations: 33.7 kB / 0.9554 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.994e-05/0.2659, allocations: 104 kB / 0.9555 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.2659, allocations: 15.81 kB / 0.9555 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.517e-05/0.266, allocations: 41.69 kB / 0.9555 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.2661, allocations: 310.8 kB / 0.9558 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.2662, allocations: 55.95 kB / 0.9559 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.2664, allocations: 83.33 kB / 0.956 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002287/0.2667, allocations: 116.2 kB / 0.9561 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.2667, allocations: 0 / 0.9561 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003914/0.2671, allocations: 195.3 kB / 0.9563 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.804e-05/0.2671, allocations: 37.69 kB / 0.9563 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2671, allocations: 0 / 0.9563 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.2671, allocations: 0 / 0.9563 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.554e-05/0.2672, allocations: 15.98 kB / 0.9563 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.2672, allocations: 4.062 kB / 0.9563 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/0.2674, allocations: 39.89 kB / 0.9564 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.2675, allocations: 4.312 kB / 0.9564 GB, free: 2.406 MB / 0.7325 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.0001145/0.2676, allocations: 135.7 kB / 0.9565 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.623e-05/0.2676, allocations: 11.89 kB / 0.9565 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.092e-05/0.2677, allocations: 8.375 kB / 0.9565 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.2677, allocations: 3.984 kB / 0.9565 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.2677, allocations: 4 kB / 0.9565 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.2677, allocations: 7.938 kB / 0.9565 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.2678, allocations: 189.5 kB / 0.9567 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.2678, allocations: 4 kB / 0.9567 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.603e-05/0.2679, allocations: 8 kB / 0.9567 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2679, allocations: 0 / 0.9567 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.2679, allocations: 3.984 kB / 0.9567 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.2679, allocations: 0 / 0.9567 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.2679, allocations: 4 kB / 0.9567 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.2682, allocations: 124.9 kB / 0.9569 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.49e-05/0.2682, allocations: 85.02 kB / 0.9569 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.2683, allocations: 8 kB / 0.9569 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.406e-05/0.2683, allocations: 7.984 kB / 0.9569 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.2684, allocations: 19.86 kB / 0.957 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.2684, allocations: 4 kB / 0.957 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.263e-05/0.2685, allocations: 91.27 kB / 0.9571 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2685, allocations: 0 / 0.9571 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002201/0.2687, allocations: 24 kB / 0.9571 GB, free: 1.582 MB / 0.7325 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.0001307/0.2688, allocations: 111.2 kB / 0.9572 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003599/0.2692, allocations: 163.3 kB / 0.9573 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2692, allocations: 4.094 kB / 0.9573 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.2693, allocations: 39.91 kB / 0.9574 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.2695, allocations: 8.109 kB / 0.9574 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003544/0.2699, allocations: 179.2 kB / 0.9576 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.2701, allocations: 0.698 MB / 0.9582 GB, free: 320 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.187e-05/0.2702, allocations: 4 kB / 0.9582 GB, free: 316 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.984e-05/0.2702, allocations: 15.42 kB / 0.9583 GB, free: 300 kB / 0.7325 GB Notification: Performance of SimCode: time 1.323e-06/0.2702, allocations: 4 kB / 0.9583 GB, free: 296 kB / 0.7325 GB Notification: Performance of Templates: time 0.00414/0.2744, allocations: 1.636 MB / 0.9599 GB, free: 14.67 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches