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.001183/0.001184, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001192/0.001192, allocations: 189 kB / 16.25 MB, free: 6.621 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.278/1.278, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.146/2.146, allocations: 390.2 MB / 0.6644 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 71.88 kB / 0.8122 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5606/0.562, allocations: 140.4 MB / 0.9492 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001915/0.564, allocations: 0.8717 MB / 0.9501 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.5651, allocations: 1.144 MB / 0.9512 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.193e-05/0.5652, allocations: 1.25 kB / 0.9512 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.813e-05/0.5653, allocations: 11.92 kB / 0.9512 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.359e-05/0.5654, allocations: 5.438 kB / 0.9512 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004277/0.5658, allocations: 128.3 kB / 0.9513 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.566, allocations: 151 kB / 0.9515 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.5661, allocations: 33.72 kB / 0.9515 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.558e-05/0.5662, allocations: 55.27 kB / 0.9516 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.791e-05/0.5662, allocations: 52.48 kB / 0.9516 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.969e-05/0.5663, allocations: 13.62 kB / 0.9516 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.01e-05/0.5664, allocations: 32.92 kB / 0.9517 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.118e-05/0.5664, allocations: 18.64 kB / 0.9517 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.862e-05/0.5664, allocations: 57.73 kB / 0.9517 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.5666, allocations: 145.2 kB / 0.9519 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5666, allocations: 0 / 0.9519 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.372e-06/0.5666, allocations: 0 / 0.9519 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.5666, allocations: 1.031 kB / 0.9519 GB, free: 7.105 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.0005187/0.5672, allocations: 438 kB / 0.9523 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.5672, allocations: 9.656 kB / 0.9523 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.957e-05/0.5672, allocations: 44.14 kB / 0.9524 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.955e-05/0.5673, allocations: 15.53 kB / 0.9524 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.311e-05/0.5674, allocations: 172 kB / 0.9525 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.5674, allocations: 8.469 kB / 0.9525 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.5674, allocations: 9.562 kB / 0.9525 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.5676, allocations: 91.02 kB / 0.9526 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.5676, allocations: 5.281 kB / 0.9526 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.5677, allocations: 0 / 0.9526 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.5677, allocations: 1.156 kB / 0.9526 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/0.5679, allocations: 60.02 kB / 0.9527 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004264/0.5683, allocations: 388.4 kB / 0.9531 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.5685, allocations: 58.61 kB / 0.9531 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.719e-05/0.5686, allocations: 26.91 kB / 0.9531 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.5686, allocations: 0 / 0.9531 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001986/0.5688, allocations: 85.89 kB / 0.9532 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.5688, allocations: 0 / 0.9532 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0003834/0.5692, allocations: 134.3 kB / 0.9534 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.5692, allocations: 52.62 kB / 0.9534 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.776e-05/0.5693, allocations: 129.4 kB / 0.9535 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.5693, allocations: 28.73 kB / 0.9536 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.028e-05/0.5694, allocations: 101.4 kB / 0.9537 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.5694, allocations: 14.31 kB / 0.9537 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.819e-05/0.5695, allocations: 41.52 kB / 0.9537 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.765e-05/0.5695, allocations: 319.6 kB / 0.954 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.5696, allocations: 48.06 kB / 0.9541 GB, free: 5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.5698, allocations: 85.7 kB / 0.9541 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.57, allocations: 120.4 kB / 0.9543 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.57, allocations: 0 / 0.9543 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003635/0.5704, allocations: 192.2 kB / 0.9544 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.5704, allocations: 36.45 kB / 0.9545 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.5704, allocations: 5.094 kB / 0.9545 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.5705, allocations: 5.484 kB / 0.9545 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.174e-05/0.5705, allocations: 13.94 kB / 0.9545 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.5706, allocations: 5.125 kB / 0.9545 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.5708, allocations: 40 kB / 0.9545 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.5708, allocations: 8.188 kB / 0.9546 GB, free: 4.641 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.72e-05/0.5709, allocations: 118.4 kB / 0.9547 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.48e-05/0.5709, allocations: 9.438 kB / 0.9547 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.66e-05/0.5709, allocations: 15.23 kB / 0.9547 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.5709, allocations: 0 / 0.9547 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.5709, allocations: 3.938 kB / 0.9547 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.571, allocations: 1.531 kB / 0.9547 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.685e-05/0.571, allocations: 180.5 kB / 0.9549 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.5711, allocations: 3.984 kB / 0.9549 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.705e-05/0.5711, allocations: 10.31 kB / 0.9549 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.5711, allocations: 0 / 0.9549 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.5711, allocations: 5.094 kB / 0.9549 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.5711, allocations: 12.89 kB / 0.9549 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.5712, allocations: 3.938 kB / 0.9549 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002301/0.5714, allocations: 118.9 kB / 0.955 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.647e-05/0.5714, allocations: 82.62 kB / 0.9551 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.5714, allocations: 2.25 kB / 0.9551 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.371e-05/0.5715, allocations: 8.641 kB / 0.9551 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.063e-05/0.5716, allocations: 20.7 kB / 0.9551 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.5716, allocations: 2.5 kB / 0.9551 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.376e-05/0.5716, allocations: 96.92 kB / 0.9552 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2e-07/0.5716, allocations: 0 / 0.9552 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002213/0.5718, allocations: 33.34 kB / 0.9552 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.000391/0.5722, allocations: 0.6622 MB / 0.9559 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003334/0.5726, allocations: 178.8 kB / 0.9561 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5726, allocations: 0 / 0.9561 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.5727, allocations: 33.22 kB / 0.9561 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.5729, allocations: 23.73 kB / 0.9561 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.5745, allocations: 1.618 MB / 0.9577 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.1e-05/0.5746, allocations: 0.6923 MB / 0.9584 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.483e-05/0.5746, allocations: 5.688 kB / 0.9584 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/0.5746, allocations: 30.92 kB / 0.9584 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.5747, allocations: 0 / 0.9584 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3573/0.932, allocations: 2.578 MB / 0.9609 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000295/0.9323, allocations: 218.8 kB / 0.9611 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/2.631, allocations: 0 / 0.9611 GB, free: 15.47 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