Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",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.304/2.304, allocations: 387.1 MB / 399.7 MB, free: 9.473 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.0009656/0.0009655, allocations: 180.2 kB / 492.3 MB, free: 0.5977 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.676/1.676, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.0009332/0.0009334, allocations: 93.22 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.573e-05/3.576e-05, allocations: 7.984 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2797, allocations: 142.4 MB / 1.213 GB, free: 38.36 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.1/1.38, allocations: 149.5 MB / 1.359 GB, free: 18.88 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/1.38, allocations: 69.42 kB / 1.359 GB, free: 18.88 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007855/1.388, allocations: 2.084 MB / 1.361 GB, free: 34.48 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.495e-06/1.388, allocations: 0 / 1.361 GB, free: 34.48 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.419e-05/1.388, allocations: 0 / 1.361 GB, free: 34.48 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005902/1.388, allocations: 404.2 kB / 1.361 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/1.388, allocations: 7.688 kB / 1.361 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.244e-05/1.389, allocations: 41.23 kB / 1.361 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.904e-05/1.389, allocations: 11.75 kB / 1.361 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/1.389, allocations: 168.2 kB / 1.361 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.303e-05/1.389, allocations: 8.641 kB / 1.361 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/1.389, allocations: 13.64 kB / 1.361 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/1.389, allocations: 93.06 kB / 1.361 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/1.389, allocations: 0 / 1.361 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/1.389, allocations: 1.406 kB / 1.361 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/1.389, allocations: 0 / 1.361 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.705e-05/1.389, allocations: 41.42 kB / 1.361 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006792/1.39, allocations: 373.7 kB / 1.362 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/1.39, allocations: 103.8 kB / 1.362 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.063e-05/1.39, allocations: 39.56 kB / 1.362 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/1.39, allocations: 3.844 kB / 1.362 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002564/1.39, allocations: 122 kB / 1.362 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/1.39, allocations: 0 / 1.362 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0003302/1.391, allocations: 166.2 kB / 1.362 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/1.391, allocations: 60.7 kB / 1.362 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/1.391, allocations: 106.8 kB / 1.362 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/1.391, allocations: 32.33 kB / 1.362 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.083e-05/1.391, allocations: 89.61 kB / 1.362 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/1.391, allocations: 28.75 kB / 1.362 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.545e-05/1.391, allocations: 7.594 kB / 1.362 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.931e-05/1.391, allocations: 321.7 kB / 1.363 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/1.391, allocations: 48.44 kB / 1.363 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/1.391, allocations: 95.08 kB / 1.363 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/1.392, allocations: 76.84 kB / 1.363 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.392, allocations: 0 / 1.363 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000338/1.392, allocations: 210 kB / 1.363 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/1.392, allocations: 35.03 kB / 1.363 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/1.392, allocations: 3.938 kB / 1.363 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/1.392, allocations: 5.625 kB / 1.363 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.765e-05/1.392, allocations: 21.27 kB / 1.363 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/1.392, allocations: 3.812 kB / 1.363 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/1.392, allocations: 44.58 kB / 1.363 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/1.392, allocations: 8.547 kB / 1.363 GB, free: 32.59 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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 0.0001091/1.392, allocations: 115.5 kB / 1.363 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/1.393, allocations: 13.59 kB / 1.363 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.988e-05/1.393, allocations: 19.75 kB / 1.363 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/1.393, allocations: 0 / 1.363 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/1.393, allocations: 5.453 kB / 1.363 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/1.393, allocations: 3.812 kB / 1.363 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003946/1.393, allocations: 421.9 kB / 1.364 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/1.393, allocations: 3.875 kB / 1.364 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.176e-05/1.393, allocations: 3.812 kB / 1.364 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/1.393, allocations: 5.906 kB / 1.364 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/1.393, allocations: 9.125 kB / 1.364 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/1.393, allocations: 11.77 kB / 1.364 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.393, allocations: 0 / 1.364 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/1.393, allocations: 252.4 kB / 1.364 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.362e-05/1.393, allocations: 90.56 kB / 1.364 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/1.393, allocations: 9.719 kB / 1.364 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.773e-05/1.394, allocations: 10.08 kB / 1.364 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.691e-05/1.394, allocations: 22.03 kB / 1.364 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/1.394, allocations: 9.484 kB / 1.364 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.276e-05/1.394, allocations: 85.47 kB / 1.364 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.394, allocations: 0 / 1.364 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000283/1.394, allocations: 42.8 kB / 1.364 GB, free: 31.82 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: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0006625/1.395, allocations: 0.8015 MB / 1.365 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000289/1.395, allocations: 192.6 kB / 1.365 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.395, allocations: 3.938 kB / 1.365 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.137e-05/1.395, allocations: 75.64 kB / 1.365 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/1.395, allocations: 9.625 kB / 1.365 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000519/1.396, allocations: 179.8 kB / 1.366 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/1.396, allocations: 0.6967 MB / 1.366 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.096e-05/1.396, allocations: 6.219 kB / 1.366 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.428e-05/1.396, allocations: 25.2 kB / 1.366 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of SimCode: time 5.81e-07/1.396, allocations: 0 / 1.366 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01662/1.413, allocations: 2.478 MB / 1.369 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/1.413, allocations: 169.3 kB / 1.369 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.691/3.104, allocations: 0 / 1.369 GB, free: 29.8 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat does not exist to compare? outputFormat=mat