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: "" <> 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.001479/0.001479, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.299/1.299, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.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.19/2.19, allocations: 390.3 MB / 0.6647 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 71.89 kB / 0.8127 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5652/0.5664, allocations: 140.4 MB / 0.9497 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001857/0.5683, allocations: 0.8087 MB / 0.9505 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.5693, allocations: 1.16 MB / 0.9516 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.949e-05/0.5694, allocations: 1.156 kB / 0.9516 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.79e-05/0.5694, allocations: 3.938 kB / 0.9516 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.242e-05/0.5695, allocations: 13.08 kB / 0.9517 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004022/0.5699, allocations: 135.6 kB / 0.9518 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.5701, allocations: 154.9 kB / 0.9519 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.5702, allocations: 34.33 kB / 0.952 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.243e-05/0.5703, allocations: 55.38 kB / 0.952 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.728e-05/0.5704, allocations: 60.02 kB / 0.9521 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.977e-05/0.5704, allocations: 14.25 kB / 0.9521 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.131e-05/0.5705, allocations: 24.95 kB / 0.9521 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.242e-05/0.5705, allocations: 14.53 kB / 0.9521 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.153e-05/0.5706, allocations: 57.88 kB / 0.9522 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.5707, allocations: 148.4 kB / 0.9523 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.5707, allocations: 0 / 0.9523 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5708, allocations: 1.219 kB / 0.9523 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.5708, allocations: 0 / 0.9523 GB, free: 7.098 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.0005236/0.5713, allocations: 441.8 kB / 0.9528 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.5713, allocations: 9.625 kB / 0.9528 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.552e-05/0.5714, allocations: 40.73 kB / 0.9528 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.638e-05/0.5714, allocations: 11.38 kB / 0.9528 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.129e-05/0.5715, allocations: 176.2 kB / 0.953 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.5715, allocations: 4.625 kB / 0.953 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.5715, allocations: 11.94 kB / 0.953 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.5717, allocations: 85.27 kB / 0.9531 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.5718, allocations: 3.938 kB / 0.9531 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.5718, allocations: 5.312 kB / 0.9531 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.5718, allocations: 1.531 kB / 0.9531 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.572, allocations: 55.64 kB / 0.9531 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004324/0.5724, allocations: 392.4 kB / 0.9535 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.5726, allocations: 50.27 kB / 0.9536 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.176e-05/0.5727, allocations: 35.33 kB / 0.9536 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.5727, allocations: 0 / 0.9536 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002072/0.5729, allocations: 90.33 kB / 0.9537 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.5729, allocations: 0 / 0.9537 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0003872/0.5733, allocations: 125.4 kB / 0.9538 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.117e-05/0.5733, allocations: 52.69 kB / 0.9539 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.931e-05/0.5734, allocations: 126 kB / 0.954 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.5734, allocations: 36.67 kB / 0.954 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.215e-05/0.5735, allocations: 100.4 kB / 0.9541 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.5735, allocations: 18.72 kB / 0.9541 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.992e-05/0.5736, allocations: 37.61 kB / 0.9542 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.754e-05/0.5736, allocations: 320 kB / 0.9545 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.5738, allocations: 51.2 kB / 0.9545 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.5739, allocations: 77.75 kB / 0.9546 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.5742, allocations: 119.4 kB / 0.9547 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.5742, allocations: 1.406 kB / 0.9547 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003705/0.5745, allocations: 195.5 kB / 0.9549 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.5746, allocations: 40.97 kB / 0.9549 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.5746, allocations: 1.5 kB / 0.9549 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.5746, allocations: 5.5 kB / 0.9549 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.404e-05/0.5747, allocations: 10.22 kB / 0.9549 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.5747, allocations: 7.922 kB / 0.9549 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002373/0.575, allocations: 40.36 kB / 0.955 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.575, allocations: 4.312 kB / 0.955 GB, free: 4.637 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.949e-05/0.5751, allocations: 121.6 kB / 0.9551 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.639e-05/0.5751, allocations: 10.39 kB / 0.9551 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.811e-05/0.5751, allocations: 10.75 kB / 0.9551 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.5751, allocations: 320 / 0.9551 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.5751, allocations: 5.125 kB / 0.9551 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.5751, allocations: 3.938 kB / 0.9551 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.914e-05/0.5752, allocations: 189.7 kB / 0.9553 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.5753, allocations: 4 kB / 0.9553 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.549e-05/0.5753, allocations: 5.5 kB / 0.9553 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.5753, allocations: 1.344 kB / 0.9553 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.5753, allocations: 3.984 kB / 0.9553 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5753, allocations: 1.094 kB / 0.9553 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5754, allocations: 3.938 kB / 0.9553 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.5756, allocations: 126.5 kB / 0.9555 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.706e-05/0.5756, allocations: 78.42 kB / 0.9555 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.5756, allocations: 5.562 kB / 0.9555 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.381e-05/0.5757, allocations: 9.672 kB / 0.9555 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.767e-05/0.5758, allocations: 17.48 kB / 0.9556 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.5758, allocations: 2.562 kB / 0.9556 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.16e-05/0.5758, allocations: 96.36 kB / 0.9557 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5758, allocations: 0 / 0.9557 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002183/0.576, allocations: 29.62 kB / 0.9557 GB, free: 3.953 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.000413/0.5765, allocations: 0.6615 MB / 0.9563 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003385/0.5768, allocations: 170.8 kB / 0.9565 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.5768, allocations: 0 / 0.9565 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.5769, allocations: 37.38 kB / 0.9565 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.5771, allocations: 19.31 kB / 0.9565 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.5788, allocations: 1.603 MB / 0.9581 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001788/0.579, allocations: 0.6985 MB / 0.9588 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.794e-05/0.5791, allocations: 3.25 kB / 0.9588 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.907e-05/0.5791, allocations: 23.61 kB / 0.9588 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of SimCode: time 5.61e-07/0.5791, allocations: 0 / 0.9588 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03562/0.6148, allocations: 2.776 MB / 0.9615 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.031/7.646, allocations: 9.781 kB / 0.9615 GB, free: 15.55 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