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.473/2.473, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001207/0.001207, allocations: 180.9 kB / 487.4 MB, free: 5.043 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.682/1.682, allocations: 221.5 MB / 0.7824 GB, free: 0.9648 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.0008974/0.0008973, allocations: 103 kB / 0.9219 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.798e-05/2.813e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2805, allocations: 142.3 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9878/1.268, allocations: 148.9 MB / 1.351 GB, free: 18.48 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/1.269, allocations: 73.16 kB / 1.352 GB, free: 18.48 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006738/1.275, allocations: 2.068 MB / 1.354 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.302e-06/1.275, allocations: 0 / 1.354 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.008e-05/1.275, allocations: 7.969 kB / 1.354 GB, free: 34.09 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.0005443/1.276, allocations: 396.2 kB / 1.354 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/1.276, allocations: 12.3 kB / 1.354 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.14e-05/1.276, allocations: 4.578 kB / 1.354 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/1.276, allocations: 179.4 kB / 1.354 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/1.276, allocations: 8.516 kB / 1.354 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.906e-05/1.276, allocations: 9.344 kB / 1.354 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.64e-05/1.276, allocations: 32.84 kB / 1.354 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/1.277, allocations: 81.09 kB / 1.354 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/1.277, allocations: 0 / 1.354 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/1.277, allocations: 5.219 kB / 1.354 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/1.277, allocations: 0 / 1.354 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006039/1.277, allocations: 356.8 kB / 1.355 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/1.277, allocations: 84.61 kB / 1.355 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.57e-05/1.277, allocations: 35.78 kB / 1.355 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/1.277, allocations: 0 / 1.355 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000202/1.278, allocations: 123.2 kB / 1.355 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/1.278, allocations: 0 / 1.355 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0002695/1.278, allocations: 150.8 kB / 1.355 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.326e-05/1.278, allocations: 56.02 kB / 1.355 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.834e-05/1.278, allocations: 107.1 kB / 1.355 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/1.278, allocations: 33.53 kB / 1.355 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.069e-05/1.278, allocations: 85.23 kB / 1.355 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/1.278, allocations: 32.39 kB / 1.355 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.346e-05/1.278, allocations: 0 / 1.355 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001459/1.278, allocations: 328.2 kB / 1.356 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.013e-05/1.278, allocations: 43.14 kB / 1.356 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.307e-05/1.279, allocations: 87.78 kB / 1.356 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/1.279, allocations: 54.94 kB / 1.356 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.279, allocations: 7.625 kB / 1.356 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003796/1.279, allocations: 169.7 kB / 1.356 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.518e-05/1.279, allocations: 38 kB / 1.356 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/1.279, allocations: 3.875 kB / 1.356 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/1.279, allocations: 4.547 kB / 1.356 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.295e-05/1.279, allocations: 12.84 kB / 1.356 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.507e-06/1.279, allocations: 4.484 kB / 1.356 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/1.28, allocations: 48.59 kB / 1.356 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/1.28, allocations: 12.97 kB / 1.356 GB, free: 32.34 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 9.285e-05/1.28, allocations: 110.3 kB / 1.356 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001958/1.28, allocations: 159.7 kB / 1.356 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.369e-05/1.28, allocations: 8.406 kB / 1.356 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/1.28, allocations: 8.766 kB / 1.356 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/1.28, allocations: 3.844 kB / 1.356 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/1.28, allocations: 3.953 kB / 1.356 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/1.28, allocations: 1.547 kB / 1.356 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003703/1.28, allocations: 384 kB / 1.357 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/1.28, allocations: 3.5 kB / 1.357 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.098e-05/1.28, allocations: 8.484 kB / 1.357 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/1.28, allocations: 4 kB / 1.357 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/1.28, allocations: 9.344 kB / 1.357 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/1.28, allocations: 4.469 kB / 1.357 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.28, allocations: 0 / 1.357 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002262/1.281, allocations: 237 kB / 1.357 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.701e-05/1.281, allocations: 89.55 kB / 1.357 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/1.281, allocations: 5.562 kB / 1.357 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.365e-05/1.281, allocations: 14.14 kB / 1.357 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.726e-05/1.281, allocations: 18.48 kB / 1.357 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/1.281, allocations: 12.98 kB / 1.357 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.551e-05/1.281, allocations: 88.11 kB / 1.357 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.1e-07/1.281, allocations: 0 / 1.357 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002565/1.281, allocations: 36.31 kB / 1.357 GB, free: 31.57 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.0006058/1.282, allocations: 0.7944 MB / 1.358 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002368/1.282, allocations: 179.4 kB / 1.358 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/1.282, allocations: 3.969 kB / 1.358 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.838e-05/1.282, allocations: 66.53 kB / 1.358 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/1.282, allocations: 15.41 kB / 1.358 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004368/1.283, allocations: 165.3 kB / 1.358 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/1.283, allocations: 0.6968 MB / 1.359 GB, free: 30 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.734e-05/1.283, allocations: 6.406 kB / 1.359 GB, free: 30 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.85e-05/1.283, allocations: 24.62 kB / 1.359 GB, free: 30 MB / 0.8386 GB Notification: Performance of SimCode: time 2.21e-07/1.283, allocations: 0 / 1.359 GB, free: 30 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02558/1.309, allocations: 2.091 MB / 1.361 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002055/1.309, allocations: 168.2 kB / 1.361 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.516/2.825, allocations: 0 / 1.361 GB, free: 29.66 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