Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.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.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_9_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_9_Buildings_Controls_Continuous_Examples_OffTimer",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.0009841/0.0009839, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001281/0.001282, allocations: 168.7 kB / 15.95 MB, free: 204 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.404/1.404, allocations: 223.2 MB / 240 MB, free: 5.297 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.401/2.401, allocations: 390.4 MB / 0.6655 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003135/0.0003136, allocations: 12 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7004/0.7007, allocations: 142.3 MB / 0.9538 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.00143/0.7022, allocations: 1.176 MB / 0.955 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006069/0.7028, allocations: 414.6 kB / 0.9554 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.61e-05/0.7029, allocations: 1.219 kB / 0.9554 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.561e-05/0.7029, allocations: 3.938 kB / 0.9554 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.814e-05/0.703, allocations: 9.234 kB / 0.9554 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001398/0.7032, allocations: 23.89 kB / 0.9554 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.651e-05/0.7033, allocations: 45.88 kB / 0.9555 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.469e-05/0.7034, allocations: 17.31 kB / 0.9555 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.473e-05/0.7034, allocations: 11.25 kB / 0.9555 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.287e-05/0.7035, allocations: 21.19 kB / 0.9555 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.7035, allocations: 1.375 kB / 0.9555 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.138e-05/0.7035, allocations: 2.969 kB / 0.9555 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.401e-05/0.7035, allocations: 5.469 kB / 0.9555 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.932e-05/0.7036, allocations: 33.88 kB / 0.9556 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.85e-05/0.7036, allocations: 33.5 kB / 0.9556 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.7037, allocations: 4.969 kB / 0.9556 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7037, allocations: 0 / 0.9556 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.7037, allocations: 0 / 0.9556 GB, free: 6.664 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003925/0.7041, allocations: 351.9 kB / 0.9559 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.7041, allocations: 16.67 kB / 0.9559 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.931e-05/0.7042, allocations: 36.84 kB / 0.956 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.499e-05/0.7042, allocations: 14.27 kB / 0.956 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.867e-05/0.7043, allocations: 161.4 kB / 0.9561 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.7043, allocations: 6.562 kB / 0.9562 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.7043, allocations: 7.672 kB / 0.9562 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.511e-05/0.7044, allocations: 55.5 kB / 0.9562 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.7044, allocations: 0 / 0.9562 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.7044, allocations: 1.469 kB / 0.9562 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.7044, allocations: 1.438 kB / 0.9562 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.699e-05/0.7045, allocations: 29.16 kB / 0.9562 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003937/0.7049, allocations: 311.4 kB / 0.9565 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.281e-05/0.705, allocations: 60.12 kB / 0.9566 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.892e-05/0.705, allocations: 28.69 kB / 0.9566 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.7051, allocations: 5.094 kB / 0.9566 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001379/0.7052, allocations: 75.5 kB / 0.9567 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.7052, allocations: 0 / 0.9567 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0002015/0.7054, allocations: 101.2 kB / 0.9568 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.7055, allocations: 52.5 kB / 0.9568 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.363e-05/0.7055, allocations: 105 kB / 0.9569 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.7055, allocations: 31.02 kB / 0.957 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.802e-05/0.7056, allocations: 90.06 kB / 0.9571 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.7056, allocations: 22.55 kB / 0.9571 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-06/0.7056, allocations: 5.438 kB / 0.9571 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.195e-05/0.7057, allocations: 312.2 kB / 0.9574 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.195e-05/0.7057, allocations: 20.8 kB / 0.9574 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.247e-05/0.7057, allocations: 40.3 kB / 0.9574 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.13e-05/0.7058, allocations: 23.56 kB / 0.9575 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.7058, allocations: 0 / 0.9575 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001276/0.7059, allocations: 106.9 kB / 0.9576 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.7059, allocations: 13.05 kB / 0.9576 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.706, allocations: 0 / 0.9576 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.706, allocations: 3.281 kB / 0.9576 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.748e-05/0.706, allocations: 7.5 kB / 0.9576 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.7061, allocations: 1.406 kB / 0.9576 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.544e-05/0.7061, allocations: 14.23 kB / 0.9576 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.7061, allocations: 10.81 kB / 0.9576 GB, free: 4.656 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 6.409e-05/0.7062, allocations: 120.3 kB / 0.9577 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.083e-05/0.7062, allocations: 2.656 kB / 0.9577 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.674e-05/0.7063, allocations: 11.92 kB / 0.9577 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.7063, allocations: 3.031 kB / 0.9577 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.7063, allocations: 0 / 0.9577 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.7063, allocations: 3.984 kB / 0.9578 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002992/0.7066, allocations: 361.6 kB / 0.9581 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.7066, allocations: 4.984 kB / 0.9581 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.53e-05/0.7066, allocations: 3.156 kB / 0.9581 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.7066, allocations: 0.9688 kB / 0.9581 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.7067, allocations: 0.9375 kB / 0.9581 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.7067, allocations: 0 / 0.9581 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.7067, allocations: 1.094 kB / 0.9581 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.7068, allocations: 183.4 kB / 0.9583 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.1e-05/0.7068, allocations: 85.88 kB / 0.9584 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.7068, allocations: 5.156 kB / 0.9584 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.182e-05/0.7069, allocations: 13.58 kB / 0.9584 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.707, allocations: 11.42 kB / 0.9584 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.707, allocations: 2.25 kB / 0.9584 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.373e-05/0.707, allocations: 84.06 kB / 0.9585 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.707, allocations: 4 kB / 0.9585 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002297/0.7073, allocations: 11.25 kB / 0.9585 GB, free: 3.789 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000304/0.7076, allocations: 0.7198 MB / 0.9592 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001133/0.7077, allocations: 48.33 kB / 0.9592 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7077, allocations: 1.125 kB / 0.9592 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.154e-05/0.7078, allocations: 40.67 kB / 0.9593 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.708, allocations: 10.61 kB / 0.9593 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007522/0.7088, allocations: 0.4986 MB / 0.9598 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.7089, allocations: 0.6894 MB / 0.9605 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.056e-05/0.709, allocations: 4.344 kB / 0.9605 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.038e-05/0.709, allocations: 14.84 kB / 0.9605 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.709, allocations: 4 kB / 0.9605 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01063/0.7196, allocations: 1.469 MB / 0.9619 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001287/0.7198, allocations: 176.8 kB / 0.9621 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/2.442, allocations: 0 / 0.9621 GB, free: 0.957 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer_res.mat does not exist to compare? outputFormat=mat