Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.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.TimerAccumulatingNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.818/1.818, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.0009004/0.0009001, allocations: 182.6 kB / 490.8 MB, free: 1.926 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.134/1.134, allocations: 221.3 MB / 0.7863 GB, free: 13.68 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.0008677/0.0008678, allocations: 100.8 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4288/0.4297, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.6138, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5137/1.128, allocations: 149.9 MB / 1.358 GB, free: 17.01 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001911/1.128, allocations: 70.28 kB / 1.358 GB, free: 17.01 MB / 0.823 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.01178/1.14, allocations: 4.262 MB / 1.362 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/1.14, allocations: 13.28 kB / 1.362 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.547e-05/1.14, allocations: 31.27 kB / 1.362 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.903e-05/1.14, allocations: 180.7 kB / 1.362 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.148e-05/1.14, allocations: 11.72 kB / 1.362 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.407e-05/1.14, allocations: 36.8 kB / 1.363 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002148/1.14, allocations: 105.4 kB / 1.363 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000339/1.141, allocations: 235.3 kB / 1.363 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/1.141, allocations: 0 / 1.363 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.114e-05/1.141, allocations: 8.594 kB / 1.363 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/1.141, allocations: 3.5 kB / 1.363 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006892/1.141, allocations: 0.538 MB / 1.363 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004062/1.142, allocations: 384.8 kB / 1.364 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/1.142, allocations: 187.2 kB / 1.364 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/1.142, allocations: 6.25 kB / 1.364 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003756/1.142, allocations: 271.2 kB / 1.364 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=46): time 1.573e-06/1.142, allocations: 0.9688 kB / 1.364 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=46): time 0.0005694/1.143, allocations: 375 kB / 1.365 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/1.143, allocations: 69.48 kB / 1.365 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.896e-05/1.143, allocations: 129 kB / 1.365 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.235e-05/1.143, allocations: 40.3 kB / 1.365 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/1.143, allocations: 97.34 kB / 1.365 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.871e-05/1.143, allocations: 95.61 kB / 1.365 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-05/1.143, allocations: 5.031 kB / 1.365 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001133/1.143, allocations: 335.6 kB / 1.365 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/1.144, allocations: 128.7 kB / 1.365 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002878/1.144, allocations: 269.6 kB / 1.366 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004385/1.144, allocations: 167 kB / 1.366 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/1.144, allocations: 5.281 kB / 1.366 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008777/1.145, allocations: 471.4 kB / 1.366 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/1.145, allocations: 5.219 kB / 1.366 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/1.145, allocations: 4.875 kB / 1.366 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/1.145, allocations: 15.31 kB / 1.366 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/1.146, allocations: 49.7 kB / 1.366 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/1.146, allocations: 7.875 kB / 1.366 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004585/1.146, allocations: 104.7 kB / 1.366 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.846e-05/1.146, allocations: 33.2 kB / 1.366 GB, free: 30.63 MB / 0.8386 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.0001364/1.146, allocations: 161.7 kB / 1.367 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/1.146, allocations: 26.98 kB / 1.367 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.437e-05/1.146, allocations: 27 kB / 1.367 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/1.146, allocations: 4.25 kB / 1.367 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/1.146, allocations: 1.406 kB / 1.367 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/1.146, allocations: 6.719 kB / 1.367 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/1.147, allocations: 0.841 MB / 1.368 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/1.147, allocations: 1.156 kB / 1.368 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.37e-05/1.148, allocations: 21.78 kB / 1.368 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/1.148, allocations: 2.188 kB / 1.368 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.71e-05/1.148, allocations: 19.41 kB / 1.368 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/1.148, allocations: 5.312 kB / 1.368 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/1.148, allocations: 0 / 1.368 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000556/1.148, allocations: 0.5097 MB / 1.368 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006506/1.149, allocations: 0.8678 MB / 1.369 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.872e-05/1.149, allocations: 97.09 kB / 1.369 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.153e-05/1.149, allocations: 26.06 kB / 1.369 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/1.149, allocations: 33.58 kB / 1.369 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.579e-05/1.149, allocations: 39.61 kB / 1.369 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.261e-05/1.149, allocations: 37.53 kB / 1.369 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.591e-05/1.149, allocations: 94.95 kB / 1.369 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009675/1.15, allocations: 94.34 kB / 1.369 GB, free: 29.19 MB / 0.8386 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.0001795/1.151, allocations: 145.3 kB / 1.369 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00059/1.151, allocations: 455.4 kB / 1.37 GB, free: 29 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/1.151, allocations: 0 / 1.37 GB, free: 29 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002972/1.151, allocations: 288.6 kB / 1.37 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/1.152, allocations: 29.2 kB / 1.37 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006107/1.152, allocations: 351.5 kB / 1.371 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003465/1.153, allocations: 0.7675 MB / 1.371 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of SimCode: time 2.7e-07/1.153, allocations: 0 / 1.371 GB, free: 28.16 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime_res.mat does not exist to compare? outputFormat=mat