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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.001162/0.001162, allocations: 98.61 kB / 15.05 MB, free: 1.105 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.001309/0.00131, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.596/1.596, allocations: 223.2 MB / 239.9 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.759/2.759, allocations: 390.3 MB / 0.6653 GB, free: 3.035 MB / 0.5138 GB Notification: Performance of FrontEnd - loaded program: time 0.0003968/0.000397, allocations: 8 kB / 0.8146 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7618/0.7622, allocations: 142.3 MB / 0.9536 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001074/0.7633, allocations: 0.5052 MB / 0.9541 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001544/0.7649, allocations: 1.122 MB / 0.9552 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.765, allocations: 1.344 kB / 0.9552 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.145e-05/0.765, allocations: 7.922 kB / 0.9552 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.379e-05/0.7651, allocations: 10.33 kB / 0.9552 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004807/0.7656, allocations: 118.2 kB / 0.9553 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.7657, allocations: 75.19 kB / 0.9554 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.7659, allocations: 27.53 kB / 0.9554 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.766, allocations: 40.72 kB / 0.9555 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.911e-05/0.7661, allocations: 40.05 kB / 0.9555 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.7661, allocations: 5.375 kB / 0.9555 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.484e-05/0.7662, allocations: 28.44 kB / 0.9555 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.915e-05/0.7662, allocations: 10.95 kB / 0.9555 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.719e-05/0.7663, allocations: 38.14 kB / 0.9556 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.7664, allocations: 98.31 kB / 0.9557 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.7664, allocations: 0 / 0.9557 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.472e-06/0.7664, allocations: 0 / 0.9557 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.7664, allocations: 1.281 kB / 0.9557 GB, free: 6.512 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.000526/0.767, allocations: 428.3 kB / 0.9561 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.767, allocations: 9.312 kB / 0.9561 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.536e-05/0.7671, allocations: 40.05 kB / 0.9561 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.356e-05/0.7671, allocations: 14.89 kB / 0.9561 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.515e-05/0.7672, allocations: 175.7 kB / 0.9563 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.7672, allocations: 7.844 kB / 0.9563 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.7673, allocations: 8.5 kB / 0.9563 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.7675, allocations: 91.02 kB / 0.9564 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.7675, allocations: 0.9062 kB / 0.9564 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.7675, allocations: 0 / 0.9564 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.7675, allocations: 6.078 kB / 0.9564 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002095/0.7678, allocations: 76.42 kB / 0.9565 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005184/0.7683, allocations: 383 kB / 0.9569 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.7685, allocations: 64.27 kB / 0.9569 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.7685, allocations: 3.938 kB / 0.9569 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002245/0.7687, allocations: 86.67 kB / 0.957 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.7687, allocations: 0 / 0.957 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004215/0.7691, allocations: 148.6 kB / 0.9571 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.7692, allocations: 57.89 kB / 0.9572 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.826e-05/0.7693, allocations: 124.1 kB / 0.9573 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.7693, allocations: 33.2 kB / 0.9573 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.514e-05/0.7693, allocations: 96.61 kB / 0.9574 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.7694, allocations: 17.58 kB / 0.9575 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.249e-05/0.7694, allocations: 2.094 kB / 0.9575 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.789e-05/0.7694, allocations: 317 kB / 0.9578 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.7696, allocations: 58.95 kB / 0.9578 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.7698, allocations: 82.59 kB / 0.9579 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.7699, allocations: 76.33 kB / 0.958 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.7699, allocations: 7.984 kB / 0.958 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004035/0.7703, allocations: 206.2 kB / 0.9582 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/0.7704, allocations: 44.08 kB / 0.9582 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.7704, allocations: 0 / 0.9582 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.7704, allocations: 4.047 kB / 0.9582 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.882e-05/0.7705, allocations: 20.61 kB / 0.9582 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.7705, allocations: 1.562 kB / 0.9582 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/0.7708, allocations: 57.06 kB / 0.9583 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/0.7708, allocations: 13.09 kB / 0.9583 GB, free: 4.129 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,conEquSta.onBoi,$PRE.conEquSta.hys.y,conEquSta.hys.y,$PRE.onSys.y,onSys.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.628e-05/0.7709, allocations: 117.4 kB / 0.9584 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.845e-05/0.7709, allocations: 11.05 kB / 0.9584 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.091e-05/0.771, allocations: 9.594 kB / 0.9584 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.771, allocations: 4.984 kB / 0.9584 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.771, allocations: 0 / 0.9584 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.771, allocations: 0.9688 kB / 0.9584 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.7711, allocations: 184.9 kB / 0.9586 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.7711, allocations: 1.156 kB / 0.9586 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.761e-05/0.7712, allocations: 19.53 kB / 0.9586 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.7712, allocations: 3.938 kB / 0.9586 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.7712, allocations: 1 kB / 0.9586 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.7712, allocations: 1.094 kB / 0.9586 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.7713, allocations: 0 / 0.9586 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.7715, allocations: 136.4 kB / 0.9588 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.88e-05/0.7716, allocations: 82.23 kB / 0.9589 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.7716, allocations: 9.125 kB / 0.9589 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-05/0.7717, allocations: 22.39 kB / 0.9589 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.828e-05/0.7717, allocations: 12.89 kB / 0.9589 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.7718, allocations: 2.156 kB / 0.9589 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.214e-05/0.7718, allocations: 92.23 kB / 0.959 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7718, allocations: 0 / 0.959 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002436/0.7721, allocations: 30.25 kB / 0.959 GB, free: 3.445 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005187/0.7726, allocations: 0.6739 MB / 0.9597 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003655/0.773, allocations: 179.7 kB / 0.9598 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.773, allocations: 0 / 0.9598 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.7731, allocations: 46.22 kB / 0.9599 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/0.7733, allocations: 13.52 kB / 0.9599 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006308/0.7739, allocations: 0.7104 MB / 0.9606 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.7741, allocations: 0.6957 MB / 0.9613 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.954e-05/0.7741, allocations: 4.312 kB / 0.9613 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.861e-05/0.7742, allocations: 22.17 kB / 0.9613 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of SimCode: time 4.21e-07/0.7742, allocations: 0 / 0.9613 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01286/0.787, allocations: 2.382 MB / 0.9636 GB, free: 108 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/0.7872, allocations: 196 kB / 0.9638 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.578/2.365, allocations: 1.094 kB / 0.9638 GB, free: 15.87 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat does not exist to compare? outputFormat=mat