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.349/2.349, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001107/0.001107, allocations: 177.1 kB / 498.1 MB, free: 5.68 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.459/1.459, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.0009635/0.0009634, allocations: 95.81 kB / 0.9346 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003706, allocations: 12 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.31, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1909/0.501, allocations: 149.6 MB / 1.369 GB, free: 12.36 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.5013, allocations: 71.95 kB / 1.369 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006397/0.5077, allocations: 2.088 MB / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.234e-06/0.5078, allocations: 0 / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.5078, allocations: 0 / 1.371 GB, free: 10.2 MB / 0.8698 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.0005818/0.5084, allocations: 412.9 kB / 1.372 GB, free: 9.738 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.5084, allocations: 8.031 kB / 1.372 GB, free: 9.73 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.467e-05/0.5085, allocations: 38.55 kB / 1.372 GB, free: 9.684 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.294e-05/0.5085, allocations: 15.86 kB / 1.372 GB, free: 9.668 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.5087, allocations: 170.9 kB / 1.372 GB, free: 9.461 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.5087, allocations: 8 kB / 1.372 GB, free: 9.453 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.538e-05/0.5088, allocations: 12 kB / 1.372 GB, free: 9.441 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.5089, allocations: 93.56 kB / 1.372 GB, free: 9.344 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.509, allocations: 0 / 1.372 GB, free: 9.344 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.509, allocations: 0 / 1.372 GB, free: 9.344 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.509, allocations: 0 / 1.372 GB, free: 9.344 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.065e-05/0.5091, allocations: 47.91 kB / 1.372 GB, free: 9.297 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006458/0.5097, allocations: 384.5 kB / 1.372 GB, free: 8.871 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.5099, allocations: 86.55 kB / 1.372 GB, free: 8.777 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.51, allocations: 4 kB / 1.372 GB, free: 8.773 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000262/0.5102, allocations: 127.3 kB / 1.372 GB, free: 8.637 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=13): time 2.745e-06/0.5102, allocations: 4 kB / 1.372 GB, free: 8.633 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13): time 0.000436/0.5107, allocations: 209 kB / 1.373 GB, free: 8.426 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.5107, allocations: 63.55 kB / 1.373 GB, free: 8.352 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.773e-05/0.5108, allocations: 104.9 kB / 1.373 GB, free: 8.242 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.5109, allocations: 33.7 kB / 1.373 GB, free: 8.203 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.228e-05/0.5109, allocations: 92.05 kB / 1.373 GB, free: 8.109 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.511, allocations: 23.7 kB / 1.373 GB, free: 8.086 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.636e-05/0.511, allocations: 8 kB / 1.373 GB, free: 8.078 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.5111, allocations: 318.8 kB / 1.373 GB, free: 7.758 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.5112, allocations: 51.98 kB / 1.373 GB, free: 7.707 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.5114, allocations: 92.25 kB / 1.373 GB, free: 7.602 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.5115, allocations: 73.7 kB / 1.374 GB, free: 7.523 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-06/0.5115, allocations: 0 / 1.374 GB, free: 7.523 MB / 0.8698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003505/0.5119, allocations: 219.1 kB / 1.374 GB, free: 7.297 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.738e-05/0.5119, allocations: 33.69 kB / 1.374 GB, free: 7.258 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.5119, allocations: 4 kB / 1.374 GB, free: 7.254 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.5119, allocations: 3.953 kB / 1.374 GB, free: 7.25 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.504e-05/0.512, allocations: 11.94 kB / 1.374 GB, free: 7.238 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.512, allocations: 7.984 kB / 1.374 GB, free: 7.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/0.5123, allocations: 51.94 kB / 1.374 GB, free: 7.18 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.5123, allocations: 11.94 kB / 1.374 GB, free: 7.168 MB / 0.8698 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 () * Number of clocked 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.0001086/0.5124, allocations: 129.8 kB / 1.374 GB, free: 7.031 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.5124, allocations: 4 kB / 1.374 GB, free: 7.027 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.649e-05/0.5125, allocations: 8.5 kB / 1.374 GB, free: 7.016 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.5125, allocations: 4 kB / 1.374 GB, free: 7.012 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.5125, allocations: 7.953 kB / 1.374 GB, free: 7.004 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.5125, allocations: 3.984 kB / 1.374 GB, free: 7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004385/0.513, allocations: 438.4 kB / 1.374 GB, free: 6.516 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.513, allocations: 0 / 1.374 GB, free: 6.516 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.164e-05/0.513, allocations: 4 kB / 1.374 GB, free: 6.512 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.513, allocations: 0 / 1.374 GB, free: 6.512 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.513, allocations: 11.94 kB / 1.374 GB, free: 6.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.5131, allocations: 0 / 1.374 GB, free: 6.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5131, allocations: 4 kB / 1.374 GB, free: 6.496 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.5133, allocations: 267.3 kB / 1.375 GB, free: 6.223 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-05/0.5134, allocations: 85.02 kB / 1.375 GB, free: 6.121 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.5134, allocations: 3.984 kB / 1.375 GB, free: 6.117 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.299e-05/0.5135, allocations: 19.94 kB / 1.375 GB, free: 6.098 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.308e-05/0.5136, allocations: 11.92 kB / 1.375 GB, free: 6.086 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.5136, allocations: 15.98 kB / 1.375 GB, free: 6.07 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.835e-05/0.5136, allocations: 83.28 kB / 1.375 GB, free: 5.988 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5137, allocations: 0 / 1.375 GB, free: 5.988 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002891/0.5139, allocations: 43.92 kB / 1.375 GB, free: 5.945 MB / 0.8698 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) * Number of clocked states: 0 () * 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.0006543/0.5146, allocations: 0.8098 MB / 1.376 GB, free: 5.109 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00032/0.5149, allocations: 199.3 kB / 1.376 GB, free: 4.902 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.515, allocations: 0 / 1.376 GB, free: 4.902 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.5151, allocations: 83.83 kB / 1.376 GB, free: 4.82 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.5153, allocations: 7.953 kB / 1.376 GB, free: 4.812 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008596/0.5161, allocations: 1.035 MB / 1.377 GB, free: 3.711 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.5164, allocations: 0.6965 MB / 1.378 GB, free: 2.988 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.135e-05/0.5164, allocations: 8.562 kB / 1.378 GB, free: 2.98 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.959e-05/0.5165, allocations: 23.42 kB / 1.378 GB, free: 2.957 MB / 0.8698 GB Notification: Performance of SimCode: time 4.318e-06/0.5165, allocations: 0 / 1.378 GB, free: 2.957 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01531/0.5318, allocations: 2.434 MB / 1.38 GB, free: 0.7031 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002259/0.5321, allocations: 192 kB / 1.38 GB, free: 480 kB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.572/2.104, allocations: 6.953 kB / 1.38 GB, free: 476 kB / 0.8698 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