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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.228/2.228, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001166/0.001166, allocations: 184.5 kB / 487.4 MB, free: 5.066 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008855/0.0008856, allocations: 99.77 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.69e-05/1.701e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2877, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9407/1.228, allocations: 149.1 MB / 1.352 GB, free: 18.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/1.229, allocations: 73.95 kB / 1.352 GB, free: 18.13 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003804/1.233, allocations: 1.126 MB / 1.353 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.302e-06/1.233, allocations: 0 / 1.353 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.574e-06/1.233, allocations: 0 / 1.353 GB, free: 33.79 MB / 0.8386 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.0004014/1.233, allocations: 352.8 kB / 1.353 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/1.233, allocations: 9 kB / 1.353 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.134e-05/1.233, allocations: 6.234 kB / 1.353 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/1.233, allocations: 178 kB / 1.353 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/1.233, allocations: 1.312 kB / 1.353 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/1.233, allocations: 4.391 kB / 1.353 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.666e-05/1.233, allocations: 23.22 kB / 1.353 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.326e-05/1.233, allocations: 52.89 kB / 1.353 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/1.233, allocations: 0 / 1.353 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/1.233, allocations: 1.922 kB / 1.353 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/1.234, allocations: 5.25 kB / 1.353 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004808/1.234, allocations: 283.1 kB / 1.354 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.286e-05/1.234, allocations: 47.88 kB / 1.354 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.737e-05/1.234, allocations: 23.97 kB / 1.354 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/1.234, allocations: 3.875 kB / 1.354 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/1.234, allocations: 73.56 kB / 1.354 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/1.234, allocations: 4 kB / 1.354 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0001947/1.235, allocations: 74.48 kB / 1.354 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/1.235, allocations: 56.05 kB / 1.354 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.45e-05/1.235, allocations: 103.1 kB / 1.354 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/1.235, allocations: 29.88 kB / 1.354 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.29e-05/1.235, allocations: 80.8 kB / 1.354 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/1.235, allocations: 20.66 kB / 1.354 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/1.235, allocations: 0 / 1.354 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001171/1.235, allocations: 320.7 kB / 1.355 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.782e-05/1.235, allocations: 15.59 kB / 1.355 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.939e-05/1.235, allocations: 38.48 kB / 1.355 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.669e-05/1.235, allocations: 22.58 kB / 1.355 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.235, allocations: 0 / 1.355 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001095/1.235, allocations: 82.09 kB / 1.355 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/1.235, allocations: 11.3 kB / 1.355 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.235, allocations: 4.031 kB / 1.355 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/1.235, allocations: 0 / 1.355 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.126e-05/1.235, allocations: 13.5 kB / 1.355 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/1.235, allocations: 3.812 kB / 1.355 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.73e-05/1.235, allocations: 12.89 kB / 1.355 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/1.235, allocations: 7.828 kB / 1.355 GB, free: 32.13 MB / 0.8386 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 8.333e-05/1.235, allocations: 105.4 kB / 1.355 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.696e-05/1.236, allocations: 83.3 kB / 1.355 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.045e-05/1.236, allocations: 8.547 kB / 1.355 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.425e-05/1.236, allocations: 9.203 kB / 1.355 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/1.236, allocations: 7.781 kB / 1.355 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.236, allocations: 4.891 kB / 1.355 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/1.236, allocations: 3.984 kB / 1.355 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000329/1.236, allocations: 325.4 kB / 1.355 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/1.236, allocations: 0 / 1.355 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.699e-05/1.236, allocations: 13.34 kB / 1.355 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/1.236, allocations: 0 / 1.355 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/1.236, allocations: 3.875 kB / 1.355 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/1.236, allocations: 4.516 kB / 1.355 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.236, allocations: 0 / 1.355 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/1.236, allocations: 171 kB / 1.355 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.938e-05/1.236, allocations: 85.52 kB / 1.356 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/1.236, allocations: 0.6562 kB / 1.356 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.341e-05/1.236, allocations: 13.83 kB / 1.356 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/1.236, allocations: 11.91 kB / 1.356 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/1.236, allocations: 2.188 kB / 1.356 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.014e-05/1.236, allocations: 83.53 kB / 1.356 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.236, allocations: 0 / 1.356 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000209/1.237, allocations: 11.5 kB / 1.356 GB, free: 31.36 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.0003688/1.237, allocations: 0.706 MB / 1.356 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001088/1.237, allocations: 49.61 kB / 1.356 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/1.237, allocations: 0 / 1.356 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.172e-05/1.237, allocations: 23.06 kB / 1.356 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/1.237, allocations: 9.938 kB / 1.356 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000445/1.238, allocations: 147.3 kB / 1.357 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/1.238, allocations: 0.69 MB / 1.357 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.828e-05/1.238, allocations: 5.75 kB / 1.357 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.375e-05/1.238, allocations: 16.53 kB / 1.357 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of SimCode: time 2.7e-07/1.238, allocations: 3.938 kB / 1.357 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02756/1.266, allocations: 1.166 MB / 1.358 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/1.266, allocations: 136.8 kB / 1.359 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.602/2.868, allocations: 0 / 1.359 GB, free: 29.59 MB / 0.8386 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