Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.294/2.294, allocations: 390.3 MB / 402.8 MB, free: 6.695 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 180.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 221.3 MB / 0.7915 GB, free: 5.371 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008986/0.0008988, allocations: 87.94 kB / 0.9317 GB, free: 5.688 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.918e-05/2.929e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2303, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8642/1.095, allocations: 150.6 MB / 1.366 GB, free: 3.273 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/1.095, allocations: 67.16 kB / 1.366 GB, free: 3.238 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003265/1.098, allocations: 1.136 MB / 1.367 GB, free: 2.238 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.453e-06/1.098, allocations: 0 / 1.367 GB, free: 2.238 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.242e-05/1.098, allocations: 0 / 1.367 GB, free: 2.238 MB / 0.823 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.0004669/1.099, allocations: 358 kB / 1.367 GB, free: 1.852 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/1.099, allocations: 8.031 kB / 1.367 GB, free: 1.844 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.944e-05/1.099, allocations: 34.56 kB / 1.367 GB, free: 1.801 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.917e-05/1.099, allocations: 3.953 kB / 1.367 GB, free: 1.797 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/1.099, allocations: 178.6 kB / 1.368 GB, free: 1.586 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/1.099, allocations: 4.875 kB / 1.368 GB, free: 1.582 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/1.099, allocations: 7.25 kB / 1.368 GB, free: 1.578 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/1.099, allocations: 52.12 kB / 1.368 GB, free: 1.527 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/1.099, allocations: 0 / 1.368 GB, free: 1.527 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/1.099, allocations: 0 / 1.368 GB, free: 1.527 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/1.099, allocations: 4 kB / 1.368 GB, free: 1.523 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.374e-05/1.099, allocations: 26.92 kB / 1.368 GB, free: 1.504 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005125/1.1, allocations: 308.5 kB / 1.368 GB, free: 1.172 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.895e-05/1.1, allocations: 58.84 kB / 1.368 GB, free: 1.117 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.493e-05/1.1, allocations: 24.19 kB / 1.368 GB, free: 1.094 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-06/1.1, allocations: 0 / 1.368 GB, free: 1.094 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001397/1.1, allocations: 85.55 kB / 1.368 GB, free: 1.008 MB / 0.823 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/1.1, allocations: 0 / 1.368 GB, free: 1.008 MB / 0.823 GB Notification: Performance of matching and sorting (n=9): time 0.0001963/1.1, allocations: 83.42 kB / 1.368 GB, free: 0.9297 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/1.1, allocations: 59.39 kB / 1.368 GB, free: 0.8594 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.639e-05/1.1, allocations: 95.94 kB / 1.368 GB, free: 0.7656 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/1.1, allocations: 29.7 kB / 1.368 GB, free: 0.7305 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.428e-05/1.1, allocations: 87.89 kB / 1.369 GB, free: 0.6445 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/1.1, allocations: 30.94 kB / 1.369 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/1.1, allocations: 0 / 1.369 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.649e-05/1.101, allocations: 318.1 kB / 1.369 GB, free: 308 kB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.28e-05/1.101, allocations: 11.5 kB / 1.369 GB, free: 300 kB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.627e-05/1.101, allocations: 47.48 kB / 1.369 GB, free: 248 kB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.28e-05/1.101, allocations: 23.05 kB / 1.369 GB, free: 232 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.101, allocations: 4 kB / 1.369 GB, free: 228 kB / 0.823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001348/1.101, allocations: 92.28 kB / 1.369 GB, free: 144 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/1.101, allocations: 5.406 kB / 1.369 GB, free: 140 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/1.101, allocations: 4 kB / 1.369 GB, free: 136 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/1.101, allocations: 7.891 kB / 1.369 GB, free: 128 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.584e-05/1.101, allocations: 11.98 kB / 1.369 GB, free: 116 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/1.101, allocations: 4 kB / 1.369 GB, free: 112 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.852e-05/1.101, allocations: 7.938 kB / 1.369 GB, free: 104 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/1.101, allocations: 7 kB / 1.369 GB, free: 100 kB / 0.823 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 () * 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 9.431e-05/1.101, allocations: 121.1 kB / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/1.101, allocations: 4 kB / 1.369 GB, free: 15.97 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.367e-05/1.101, allocations: 7.656 kB / 1.369 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/1.101, allocations: 0 / 1.369 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/1.101, allocations: 3.953 kB / 1.369 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/1.101, allocations: 0 / 1.369 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003908/1.102, allocations: 361 kB / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.102, allocations: 192 / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.966e-05/1.102, allocations: 7.984 kB / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/1.102, allocations: 4.219 kB / 1.37 GB, free: 15.56 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-06/1.102, allocations: 3.953 kB / 1.37 GB, free: 15.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/1.102, allocations: 0 / 1.37 GB, free: 15.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.102, allocations: 0 / 1.37 GB, free: 15.56 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/1.102, allocations: 190.3 kB / 1.37 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.384e-05/1.102, allocations: 81.02 kB / 1.37 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/1.102, allocations: 64 / 1.37 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.827e-05/1.102, allocations: 15.95 kB / 1.37 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.743e-05/1.102, allocations: 11.8 kB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/1.102, allocations: 7.922 kB / 1.37 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.753e-05/1.102, allocations: 83.16 kB / 1.37 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.31e-07/1.102, allocations: 0 / 1.37 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000214/1.102, allocations: 12 kB / 1.37 GB, free: 15.15 MB / 0.8386 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 () * 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.0004043/1.103, allocations: 0.7088 MB / 1.371 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001244/1.103, allocations: 49.81 kB / 1.371 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.103, allocations: 0 / 1.371 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.746e-05/1.103, allocations: 31.38 kB / 1.371 GB, free: 14.37 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/1.103, allocations: 16 kB / 1.371 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004627/1.104, allocations: 145.9 kB / 1.371 GB, free: 14.19 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/1.104, allocations: 0.6926 MB / 1.372 GB, free: 13.47 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.262e-05/1.104, allocations: 7.984 kB / 1.372 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.382e-05/1.104, allocations: 18 kB / 1.372 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of SimCode: time 3.3e-07/1.104, allocations: 4 kB / 1.372 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01236/1.116, allocations: 1.481 MB / 1.373 GB, free: 12.1 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/1.117, allocations: 157 kB / 1.373 GB, free: 11.87 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.511/2.628, allocations: 0 / 1.373 GB, free: 11.87 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer_res.mat does not exist to compare? outputFormat=mat