Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.371/2.371, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001277/0.001277, allocations: 191.9 kB / 0.4901 GB, free: 2.23 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.597/1.597, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.001165/0.001165, allocations: 102.2 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003638/0.0003635, allocations: 10.72 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2753, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1906/0.466, allocations: 150.4 MB / 1.376 GB, free: 3.082 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.4663, allocations: 71.95 kB / 1.376 GB, free: 3.012 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006581/0.4729, allocations: 2.095 MB / 1.378 GB, free: 0.9141 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.494e-06/0.473, allocations: 0 / 1.378 GB, free: 0.9141 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.473, allocations: 4 kB / 1.378 GB, free: 0.9102 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.0005889/0.4736, allocations: 404.9 kB / 1.379 GB, free: 472 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.4736, allocations: 8.031 kB / 1.379 GB, free: 464 kB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.164e-05/0.4737, allocations: 34.56 kB / 1.379 GB, free: 420 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.903e-05/0.4738, allocations: 19.84 kB / 1.379 GB, free: 400 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.4739, allocations: 167.1 kB / 1.379 GB, free: 192 kB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.4739, allocations: 7.984 kB / 1.379 GB, free: 184 kB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.668e-05/0.474, allocations: 15.98 kB / 1.379 GB, free: 168 kB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.4741, allocations: 93.52 kB / 1.379 GB, free: 68 kB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.4742, allocations: 0 / 1.379 GB, free: 68 kB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.4742, allocations: 3.984 kB / 1.379 GB, free: 64 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.4742, allocations: 0 / 1.379 GB, free: 64 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.803e-05/0.4743, allocations: 39.97 kB / 1.379 GB, free: 24 kB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006805/0.475, allocations: 380.6 kB / 1.379 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.4752, allocations: 98.53 kB / 1.379 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.4752, allocations: 4 kB / 1.379 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002962/0.4755, allocations: 127.2 kB / 1.38 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=13): time 1.753e-06/0.4755, allocations: 3.938 kB / 1.38 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13): time 0.00041/0.4759, allocations: 209.5 kB / 1.38 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.476, allocations: 55.41 kB / 1.38 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.441e-05/0.4761, allocations: 101 kB / 1.38 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.602e-05/0.4761, allocations: 33.7 kB / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.569e-05/0.4762, allocations: 92.28 kB / 1.38 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.4762, allocations: 27.61 kB / 1.38 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.518e-05/0.4762, allocations: 8 kB / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.4764, allocations: 322.8 kB / 1.38 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.4765, allocations: 51.97 kB / 1.38 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.4766, allocations: 86.38 kB / 1.381 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.4768, allocations: 84.5 kB / 1.381 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4768, allocations: 4 kB / 1.381 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003566/0.4771, allocations: 211.2 kB / 1.381 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.845e-05/0.4772, allocations: 33.7 kB / 1.381 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.4772, allocations: 7.984 kB / 1.381 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.4772, allocations: 3.953 kB / 1.381 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.73e-05/0.4773, allocations: 15.94 kB / 1.381 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.4773, allocations: 4 kB / 1.381 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.4776, allocations: 48.02 kB / 1.381 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.893e-05/0.4776, allocations: 12 kB / 1.381 GB, free: 13.89 MB / 0.8855 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.0001106/0.4777, allocations: 122.6 kB / 1.381 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.131e-05/0.4777, allocations: 15.89 kB / 1.381 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.722e-05/0.4778, allocations: 16.5 kB / 1.381 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.4778, allocations: 0 / 1.381 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.4778, allocations: 3.953 kB / 1.381 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.4778, allocations: 4 kB / 1.381 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004415/0.4783, allocations: 422.5 kB / 1.382 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.4783, allocations: 0 / 1.382 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.592e-05/0.4783, allocations: 23.8 kB / 1.382 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4783, allocations: 0 / 1.382 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.4784, allocations: 7.953 kB / 1.382 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4784, allocations: 8 kB / 1.382 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4784, allocations: 0 / 1.382 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002748/0.4787, allocations: 261.6 kB / 1.382 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.124e-05/0.4787, allocations: 81.02 kB / 1.382 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.4788, allocations: 8 kB / 1.382 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.07e-05/0.4789, allocations: 11.94 kB / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.4789, allocations: 15.97 kB / 1.382 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.4789, allocations: 12 kB / 1.382 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.436e-05/0.479, allocations: 95.2 kB / 1.382 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.41e-07/0.479, allocations: 0 / 1.382 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002941/0.4793, allocations: 36 kB / 1.382 GB, free: 12.67 MB / 0.8855 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.000684/0.48, allocations: 0.8116 MB / 1.383 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003218/0.4803, allocations: 199.2 kB / 1.383 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4803, allocations: 0 / 1.383 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.4804, allocations: 67.98 kB / 1.383 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.4806, allocations: 19.94 kB / 1.383 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009343/0.4816, allocations: 1.041 MB / 1.384 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.4819, allocations: 0.6965 MB / 1.385 GB, free: 9.711 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.014e-05/0.482, allocations: 12.53 kB / 1.385 GB, free: 9.699 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.14e-05/0.482, allocations: 23.44 kB / 1.385 GB, free: 9.676 MB / 0.8855 GB Notification: Performance of SimCode: time 2.3e-07/0.482, allocations: 0 / 1.385 GB, free: 9.676 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01402/0.496, allocations: 2.427 MB / 1.387 GB, free: 7.426 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/0.4962, allocations: 206 kB / 1.387 GB, free: 7.184 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.599/2.096, allocations: 0 / 1.387 GB, free: 7.184 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat does not exist to compare? outputFormat=mat