Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.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.TimerAccumulatingNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.838/1.838, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.0009445/0.0009445, allocations: 185.2 kB / 487 MB, free: 5.355 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.167/1.167, allocations: 221.3 MB / 0.7819 GB, free: 1.512 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.0008511/0.0008511, allocations: 99.56 kB / 0.9213 GB, free: 2.766 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4082/0.4091, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.5904, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4974/1.088, allocations: 149.1 MB / 1.351 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001547/1.088, allocations: 67.94 kB / 1.351 GB, free: 15.81 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.01187/1.1, allocations: 4.258 MB / 1.355 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/1.1, allocations: 9.062 kB / 1.355 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/1.1, allocations: 31.33 kB / 1.355 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/1.1, allocations: 177.2 kB / 1.355 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.359e-05/1.1, allocations: 12.53 kB / 1.355 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.148e-05/1.1, allocations: 36.08 kB / 1.355 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000237/1.101, allocations: 106 kB / 1.355 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003854/1.101, allocations: 239.8 kB / 1.356 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/1.101, allocations: 5.109 kB / 1.356 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.947e-05/1.101, allocations: 8.469 kB / 1.356 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/1.101, allocations: 6.219 kB / 1.356 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007602/1.102, allocations: 0.5361 MB / 1.356 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004545/1.102, allocations: 386 kB / 1.357 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002344/1.103, allocations: 186.1 kB / 1.357 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/1.103, allocations: 2.812 kB / 1.357 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003923/1.103, allocations: 269 kB / 1.357 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=46): time 1.673e-06/1.103, allocations: 0 / 1.357 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of matching and sorting (n=46): time 0.0006174/1.104, allocations: 379.3 kB / 1.357 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/1.104, allocations: 66.53 kB / 1.357 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.463e-05/1.104, allocations: 123.4 kB / 1.358 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.818e-05/1.104, allocations: 43.44 kB / 1.358 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.133e-05/1.104, allocations: 93.75 kB / 1.358 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.154e-05/1.104, allocations: 102.7 kB / 1.358 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.884e-05/1.104, allocations: 6.906 kB / 1.358 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.369e-05/1.104, allocations: 341.1 kB / 1.358 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002531/1.104, allocations: 126.3 kB / 1.358 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002839/1.105, allocations: 269.7 kB / 1.359 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000462/1.105, allocations: 164.4 kB / 1.359 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/1.105, allocations: 1.5 kB / 1.359 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009522/1.106, allocations: 467.2 kB / 1.359 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/1.106, allocations: 3.844 kB / 1.359 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.106, allocations: 5.469 kB / 1.359 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/1.106, allocations: 8 kB / 1.359 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/1.106, allocations: 43.08 kB / 1.359 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/1.106, allocations: 12.61 kB / 1.359 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000493/1.107, allocations: 112.8 kB / 1.359 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.968e-05/1.107, allocations: 36.17 kB / 1.359 GB, free: 13.45 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,$PRE.noThr.passed,noThr.passed,$PRE.thrTim.passed,thrTim.passed,$PRE.noThrWitRes.passed,noThrWitRes.passed,$PRE.thrTimWitRes.passed,thrTimWitRes.passed,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition20,noThr.reset,$whenCondition16,thrTim.reset,$whenCondition12,$whenCondition8,noThrWitRes.reset,thrTimWitRes.reset,$PRE.resTim.y,resTim.y,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition5,$whenCondition6,$whenCondition7,noThr.u,$PRE.noThr.entryTime,noThr.entryTime,$PRE.noThr.yAcc,noThr.yAcc,thrTim.u,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.thrTim.yAcc,thrTim.yAcc,noThrWitRes.u,$PRE.noThrWitRes.entryTime,noThrWitRes.entryTime,$PRE.noThrWitRes.yAcc,noThrWitRes.yAcc,thrTimWitRes.u,$PRE.thrTimWitRes.entryTime,thrTimWitRes.entryTime,$PRE.thrTimWitRes.yAcc,thrTimWitRes.yAcc,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 2 * 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.0001243/1.107, allocations: 155.5 kB / 1.36 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.818e-05/1.107, allocations: 31.3 kB / 1.36 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.483e-05/1.107, allocations: 19.25 kB / 1.36 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/1.107, allocations: 8.781 kB / 1.36 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/1.107, allocations: 0.7812 kB / 1.36 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/1.107, allocations: 6.703 kB / 1.36 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/1.108, allocations: 0.8402 MB / 1.36 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/1.108, allocations: 0.9062 kB / 1.36 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.031e-05/1.108, allocations: 28.81 kB / 1.36 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/1.108, allocations: 1.656 kB / 1.36 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.808e-05/1.108, allocations: 13.73 kB / 1.36 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/1.108, allocations: 2.562 kB / 1.36 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.109, allocations: 5.406 kB / 1.36 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005966/1.109, allocations: 0.5062 MB / 1.361 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006866/1.11, allocations: 0.8711 MB / 1.362 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.504e-05/1.11, allocations: 95.25 kB / 1.362 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.005e-05/1.11, allocations: 22.09 kB / 1.362 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/1.11, allocations: 37.22 kB / 1.362 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.877e-05/1.11, allocations: 40.94 kB / 1.362 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.249e-05/1.11, allocations: 34.56 kB / 1.362 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.348e-05/1.11, allocations: 100.2 kB / 1.362 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0009487/1.111, allocations: 101.4 kB / 1.362 GB, free: 11.89 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 42 (noThrWitRes.reset,thrTimWitRes.reset,noThr.u,noThrWitRes.u,thrTim.u,thrTimWitRes.u,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.y,resTim.y,noThr.reset,thrTim.reset) * Number of discrete states: 16 (thrTimWitRes.entryTime,thrTimWitRes.yAcc,thrTim.entryTime,thrTim.yAcc,thrTim.y,thrTim.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,noThr.entryTime,noThr.yAcc,noThr.y,noThr.passed,noThrWitRes.y,noThrWitRes.passed,thrTimWitRes.y,thrTimWitRes.passed) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0001807/1.112, allocations: 146.7 kB / 1.362 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0005226/1.112, allocations: 431.4 kB / 1.363 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.112, allocations: 1.125 kB / 1.363 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.000263/1.112, allocations: 294.7 kB / 1.363 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/1.113, allocations: 28.36 kB / 1.363 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006094/1.113, allocations: 351.3 kB / 1.363 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002177/1.113, allocations: 0.7723 MB / 1.364 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of SimCode: time 8.11e-07/1.113, allocations: 0 / 1.364 GB, free: 10.2 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime_res.mat does not exist to compare? outputFormat=mat