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: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008877/0.0008878, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.005465/0.005465, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.249/1.249, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.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.118/2.118, allocations: 390.9 MB / 0.6664 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002927/0.0002927, allocations: 8 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5365/0.5368, allocations: 142.4 MB / 0.9552 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.0008144/0.5376, allocations: 0.5243 MB / 0.9557 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.5387, allocations: 1.153 MB / 0.9568 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.49e-05/0.5388, allocations: 4.969 kB / 0.9568 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.552e-05/0.5388, allocations: 0 / 0.9568 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.268e-05/0.5389, allocations: 9.875 kB / 0.9568 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004111/0.5393, allocations: 124.7 kB / 0.957 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.5394, allocations: 127.4 kB / 0.9571 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.5396, allocations: 41.02 kB / 0.9571 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.374e-05/0.5396, allocations: 41.56 kB / 0.9572 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.484e-05/0.5397, allocations: 52.05 kB / 0.9572 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.5398, allocations: 6.25 kB / 0.9572 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.435e-05/0.5398, allocations: 19.89 kB / 0.9572 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.179e-05/0.5399, allocations: 3.375 kB / 0.9572 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.415e-05/0.5399, allocations: 70.61 kB / 0.9573 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.5401, allocations: 144.7 kB / 0.9574 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.5401, allocations: 0 / 0.9574 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5401, allocations: 0 / 0.9574 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.5401, allocations: 4 kB / 0.9574 GB, free: 5.902 MB / 0.7169 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.0004791/0.5406, allocations: 418.2 kB / 0.9578 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.5407, allocations: 9.188 kB / 0.9578 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.279e-05/0.5407, allocations: 37.06 kB / 0.9579 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.263e-05/0.5407, allocations: 11.69 kB / 0.9579 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.174e-05/0.5408, allocations: 188.2 kB / 0.9581 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.5408, allocations: 8.297 kB / 0.9581 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.5409, allocations: 12.06 kB / 0.9581 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.5411, allocations: 85.44 kB / 0.9582 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.5411, allocations: 5.062 kB / 0.9582 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.5411, allocations: 0 / 0.9582 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.5411, allocations: 2.375 kB / 0.9582 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00021/0.5413, allocations: 77.44 kB / 0.9583 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004384/0.5418, allocations: 377.7 kB / 0.9586 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.5419, allocations: 60.88 kB / 0.9587 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.858e-05/0.5421, allocations: 39.58 kB / 0.9587 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-06/0.5421, allocations: 0 / 0.9587 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.5423, allocations: 87.23 kB / 0.9588 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.5423, allocations: 3.938 kB / 0.9588 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0003908/0.5427, allocations: 149.7 kB / 0.9589 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.062e-05/0.5427, allocations: 51.41 kB / 0.959 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.524e-05/0.5428, allocations: 125.8 kB / 0.9591 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.5428, allocations: 33.33 kB / 0.9591 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.844e-05/0.5428, allocations: 103.9 kB / 0.9592 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.39e-05/0.5429, allocations: 14.09 kB / 0.9593 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.5429, allocations: 24.3 kB / 0.9593 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.769e-05/0.5429, allocations: 317.5 kB / 0.9596 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.5431, allocations: 55.14 kB / 0.9596 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.5433, allocations: 87.14 kB / 0.9597 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/0.5435, allocations: 129.7 kB / 0.9598 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5435, allocations: 0 / 0.9598 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003813/0.5439, allocations: 201.8 kB / 0.96 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.5439, allocations: 38.02 kB / 0.9601 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.5439, allocations: 4.125 kB / 0.9601 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.5439, allocations: 5.375 kB / 0.9601 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.97e-05/0.544, allocations: 16.17 kB / 0.9601 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.544, allocations: 5.312 kB / 0.9601 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002442/0.5443, allocations: 56.98 kB / 0.9602 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.5443, allocations: 13.48 kB / 0.9602 GB, free: 3.453 MB / 0.7169 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 6.687e-05/0.5444, allocations: 122.5 kB / 0.9603 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.259e-05/0.5444, allocations: 2.75 kB / 0.9603 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.67e-05/0.5444, allocations: 9.75 kB / 0.9603 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.5444, allocations: 5.359 kB / 0.9603 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.5445, allocations: 7.938 kB / 0.9603 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.5445, allocations: 0 / 0.9603 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.625e-05/0.5446, allocations: 194 kB / 0.9605 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5446, allocations: 0 / 0.9605 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.988e-05/0.5446, allocations: 16.23 kB / 0.9605 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.5446, allocations: 0 / 0.9605 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.5446, allocations: 1.375 kB / 0.9605 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.5447, allocations: 0 / 0.9605 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5447, allocations: 5.312 kB / 0.9605 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.5449, allocations: 135.9 kB / 0.9606 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.666e-05/0.5449, allocations: 82.39 kB / 0.9607 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.5449, allocations: 1.375 kB / 0.9607 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.091e-05/0.545, allocations: 17.61 kB / 0.9607 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.5451, allocations: 21.5 kB / 0.9608 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.5451, allocations: 5.312 kB / 0.9608 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.158e-05/0.5451, allocations: 96.73 kB / 0.9609 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5451, allocations: 0 / 0.9609 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002148/0.5453, allocations: 29.5 kB / 0.9609 GB, free: 2.758 MB / 0.7169 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.00041/0.5458, allocations: 0.6708 MB / 0.9615 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003383/0.5461, allocations: 184.8 kB / 0.9617 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5461, allocations: 0 / 0.9617 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.5462, allocations: 41.8 kB / 0.9618 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.5464, allocations: 22.23 kB / 0.9618 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.548, allocations: 1.65 MB / 0.9634 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/0.5481, allocations: 0.6947 MB / 0.9641 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.09e-05/0.5482, allocations: 3.188 kB / 0.9641 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.5482, allocations: 26.83 kB / 0.9641 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.5482, allocations: 0 / 0.9641 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6592/1.207, allocations: 2.419 MB / 0.9665 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002132/1.208, allocations: 222.2 kB / 0.9667 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.081/3.289, allocations: 0 / 0.9667 GB, free: 14.41 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > 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