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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.002052/0.002052, allocations: 102.2 kB / 16.27 MB, free: 6 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.002445/0.002446, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.39/1.39, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.298/2.298, allocations: 390.3 MB / 0.6653 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 68.59 kB / 0.8132 GB, free: 33.07 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3332, allocations: 140.4 MB / 0.9503 GB, free: 8.832 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002252/0.3355, allocations: 0.8084 MB / 0.9511 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.337, allocations: 1.148 MB / 0.9522 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.369e-05/0.337, allocations: 0 / 0.9522 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.347e-05/0.3371, allocations: 7.875 kB / 0.9522 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.392e-05/0.3372, allocations: 11.86 kB / 0.9522 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004939/0.3377, allocations: 143.4 kB / 0.9523 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.3379, allocations: 143.8 kB / 0.9525 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.338, allocations: 43.95 kB / 0.9525 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.3381, allocations: 59.83 kB / 0.9526 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.426e-05/0.3382, allocations: 47.83 kB / 0.9526 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.219e-05/0.3383, allocations: 16 kB / 0.9526 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.231e-05/0.3384, allocations: 31.92 kB / 0.9527 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.741e-05/0.3384, allocations: 15.97 kB / 0.9527 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.05e-05/0.3385, allocations: 55.78 kB / 0.9527 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.3387, allocations: 147.9 kB / 0.9529 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3387, allocations: 0 / 0.9529 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3387, allocations: 0 / 0.9529 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.3387, allocations: 4 kB / 0.9529 GB, free: 6.141 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.0006448/0.3394, allocations: 434.2 kB / 0.9533 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3394, allocations: 15.91 kB / 0.9533 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.254e-05/0.3395, allocations: 12.84 kB / 0.9533 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.3396, allocations: 184.1 kB / 0.9535 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.3396, allocations: 8.375 kB / 0.9535 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/0.3397, allocations: 8.375 kB / 0.9535 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.3399, allocations: 90.16 kB / 0.9536 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.3399, allocations: 192 / 0.9536 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.3399, allocations: 7.938 kB / 0.9536 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.34, allocations: 4 kB / 0.9536 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002193/0.3402, allocations: 59.94 kB / 0.9537 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005743/0.3408, allocations: 380.5 kB / 0.954 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.3409, allocations: 46.56 kB / 0.9541 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.3411, allocations: 32.92 kB / 0.9541 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.3411, allocations: 0 / 0.9541 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002657/0.3413, allocations: 95.3 kB / 0.9542 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.763e-06/0.3414, allocations: 0 / 0.9542 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0004324/0.3418, allocations: 121.5 kB / 0.9543 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.3418, allocations: 55.41 kB / 0.9544 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.342, allocations: 125.7 kB / 0.9545 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.342, allocations: 33.7 kB / 0.9545 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.212e-05/0.3421, allocations: 104 kB / 0.9546 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.3421, allocations: 15.81 kB / 0.9546 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.135e-05/0.3422, allocations: 33.69 kB / 0.9547 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.3423, allocations: 318.8 kB / 0.955 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.3425, allocations: 55.95 kB / 0.955 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.3426, allocations: 83.33 kB / 0.9551 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002625/0.3429, allocations: 116.3 kB / 0.9552 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3429, allocations: 0 / 0.9552 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004433/0.3434, allocations: 195.2 kB / 0.9554 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.321e-05/0.3434, allocations: 44.12 kB / 0.9554 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.3434, allocations: 0 / 0.9554 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.3435, allocations: 0 / 0.9554 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.3436, allocations: 15.92 kB / 0.9555 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.3436, allocations: 0 / 0.9555 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002438/0.3439, allocations: 43.89 kB / 0.9555 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.3439, allocations: 8.062 kB / 0.9555 GB, free: 3.18 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.0001261/0.344, allocations: 125.9 kB / 0.9556 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.3441, allocations: 11.84 kB / 0.9556 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.165e-05/0.3441, allocations: 8.375 kB / 0.9556 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3441, allocations: 0 / 0.9556 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.3441, allocations: 0 / 0.9556 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.3442, allocations: 3.938 kB / 0.9557 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.3443, allocations: 193.6 kB / 0.9558 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3444, allocations: 0 / 0.9558 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.631e-05/0.3444, allocations: 16.3 kB / 0.9559 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3444, allocations: 0 / 0.9559 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.3445, allocations: 0 / 0.9559 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.3445, allocations: 7.938 kB / 0.9559 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3445, allocations: 0 / 0.9559 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002898/0.3448, allocations: 128.9 kB / 0.956 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.793e-05/0.3448, allocations: 89 kB / 0.9561 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.381e-05/0.3449, allocations: 4 kB / 0.9561 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.917e-05/0.3449, allocations: 11.98 kB / 0.9561 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.034e-05/0.345, allocations: 11.92 kB / 0.9561 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.345, allocations: 4 kB / 0.9561 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.382e-05/0.3451, allocations: 95.27 kB / 0.9562 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3451, allocations: 0 / 0.9562 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002312/0.3453, allocations: 24.12 kB / 0.9562 GB, free: 2.363 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.0002011/0.3456, allocations: 111.2 kB / 0.9563 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004276/0.346, allocations: 171.3 kB / 0.9565 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.346, allocations: 7.938 kB / 0.9565 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.3461, allocations: 35.92 kB / 0.9565 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.3464, allocations: 8.109 kB / 0.9565 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004592/0.3469, allocations: 204.8 kB / 0.9567 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.3472, allocations: 0.6922 MB / 0.9574 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.795e-05/0.3472, allocations: 23.42 kB / 0.9574 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of SimCode: time 2.01e-07/0.3472, allocations: 0 / 0.9574 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of Templates: time 0.003555/0.3508, allocations: 1.345 MB / 0.9587 GB, free: 15.7 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 -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