Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests.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.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_SystemRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_SystemRequests",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.823/1.823, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.001051/0.001051, allocations: 183.2 kB / 490.8 MB, free: 1.949 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.149/1.149, allocations: 221.3 MB / 0.7863 GB, free: 13.74 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.000902/0.000902, allocations: 88.36 kB / 0.9264 GB, free: 14.27 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.427/0.428, allocations: 149.2 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.6119, allocations: 143 MB / 1.212 GB, free: 39.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5274/1.139, allocations: 152.2 MB / 1.36 GB, free: 17.27 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/1.14, allocations: 74.98 kB / 1.36 GB, free: 17.27 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.02901/1.169, allocations: 10.96 MB / 1.371 GB, free: 32 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/1.169, allocations: 10.31 kB / 1.371 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/1.169, allocations: 87.14 kB / 1.371 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/1.17, allocations: 0.6184 MB / 1.372 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.933e-05/1.17, allocations: 21.95 kB / 1.372 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/1.17, allocations: 51.7 kB / 1.372 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006261/1.171, allocations: 336.8 kB / 1.372 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007742/1.172, allocations: 496 kB / 1.373 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/1.172, allocations: 3.984 kB / 1.373 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.346e-05/1.172, allocations: 6.219 kB / 1.373 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/1.172, allocations: 12.16 kB / 1.373 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002486/1.174, allocations: 1.575 MB / 1.374 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007354/1.175, allocations: 0.5349 MB / 1.375 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003075/1.175, allocations: 209.3 kB / 1.375 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.987e-05/1.175, allocations: 14.95 kB / 1.375 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005322/1.176, allocations: 373 kB / 1.375 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=68): time 1.893e-06/1.176, allocations: 0 / 1.375 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=68): time 0.0009517/1.177, allocations: 0.4956 MB / 1.376 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/1.177, allocations: 91.42 kB / 1.376 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003563/1.177, allocations: 354.6 kB / 1.376 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.683e-05/1.177, allocations: 45.14 kB / 1.376 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/1.177, allocations: 223.4 kB / 1.377 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/1.178, allocations: 145 kB / 1.377 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/1.178, allocations: 2.781 kB / 1.377 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001439/1.178, allocations: 369.2 kB / 1.377 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003686/1.178, allocations: 190.9 kB / 1.377 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004464/1.179, allocations: 436.4 kB / 1.378 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008005/1.179, allocations: 259.5 kB / 1.378 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/1.179, allocations: 1.969 kB / 1.378 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001444/1.181, allocations: 0.6746 MB / 1.379 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/1.181, allocations: 5.516 kB / 1.379 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/1.181, allocations: 6.812 kB / 1.379 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/1.181, allocations: 11.44 kB / 1.379 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005107/1.181, allocations: 136.9 kB / 1.379 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/1.181, allocations: 11.89 kB / 1.379 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007682/1.182, allocations: 161.1 kB / 1.379 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.92e-05/1.182, allocations: 38.81 kB / 1.379 GB, free: 29.57 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 77 ($PRE.sysReq.tim1.u,$PRE.sysReq.tim2.u,$PRE.sysReq.tim3.u,$PRE.sysReq.sampler.firstTrigger,sysReq.sampler.firstTrigger,$whenCondition15,$whenCondition16,$whenCondition10,$PRE.sysReq.tim2.t_next,$whenCondition7,$PRE.sysReq.tim1.t_next,$whenCondition13,sysReq.sampler.sampleTrigger,$whenCondition14,TZonCooSet.sampleTrigger,sysReq.tim2.t_next,$whenCondition11,$whenCondition12,$whenCondition8,$whenCondition9,sysReq.yZonTemResReq,$PRE.sysReq.greThr1.greHys.y,sysReq.greThr1.greHys.y,$PRE.sysReq.greThr2.greHys.y,sysReq.greThr2.greHys.y,$PRE.sysReq.greThr.greHys.y,sysReq.greThr.greHys.y,sysReq.booToInt.y,sysReq.and1.y,sysReq.and2.y,sysReq.intSwi.u3,sysReq.tim1.u,sysReq.tim1.y,sysReq.tim2.u,sysReq.tim2.y,sysReq.sampler.y,$PRE.TZonCooSet.y,TZonCooSet.y,$PRE.booPul.y,booPul.y,sysReq.tim1.t_next,$PRE.sysReq.sampler3.firstTrigger,sysReq.sampler3.firstTrigger,$PRE.sysReq.sampler2.firstTrigger,sysReq.sampler2.firstTrigger,$PRE.sysReq.sampler1.firstTrigger,sysReq.sampler1.firstTrigger,$whenCondition1,$PRE.sysReq.tim3.t_next,$whenCondition4,sysReq.sampler1.sampleTrigger,$whenCondition5,sysReq.sampler2.sampleTrigger,$whenCondition6,sysReq.sampler3.sampleTrigger,$whenCondition2,$whenCondition3,sysReq.yZonPreResReq,$PRE.sysReq.greThr3.greHys.y,sysReq.greThr3.greHys.y,$PRE.sysReq.greThr4.greHys.y,sysReq.greThr4.greHys.y,sysReq.booToInt1.y,sysReq.and3.u1,sysReq.and3.y,sysReq.and4.y,sysReq.swi4.u3,sysReq.tim3.u,sysReq.tim3.y,$PRE.sysReq.greEqu.greHys.y,sysReq.greEqu.greHys.y,$PRE.sysReq.greEqu1.greHys.y,sysReq.greEqu1.greHys.y,sysReq.sampler1.y,sysReq.sampler2.y,sysReq.sampler3.y,sysReq.tim3.t_next) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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.0001686/1.182, allocations: 168.8 kB / 1.379 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.345e-05/1.183, allocations: 63.31 kB / 1.379 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/1.183, allocations: 63.58 kB / 1.379 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/1.183, allocations: 7.25 kB / 1.379 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/1.183, allocations: 1.703 kB / 1.379 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/1.183, allocations: 2.906 kB / 1.379 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/1.185, allocations: 1.342 MB / 1.381 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/1.185, allocations: 1.125 kB / 1.381 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000352/1.185, allocations: 83.2 kB / 1.381 GB, free: 29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/1.185, allocations: 6.594 kB / 1.381 GB, free: 29 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.434e-05/1.185, allocations: 19.58 kB / 1.381 GB, free: 29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/1.185, allocations: 2.656 kB / 1.381 GB, free: 29 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.185, allocations: 1.094 kB / 1.381 GB, free: 29 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008172/1.186, allocations: 0.6855 MB / 1.381 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000905/1.187, allocations: 1.078 MB / 1.382 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.453e-05/1.187, allocations: 129 kB / 1.382 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/1.187, allocations: 22.31 kB / 1.382 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006556/1.188, allocations: 120.1 kB / 1.383 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002122/1.188, allocations: 95.5 kB / 1.383 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.635e-05/1.188, allocations: 36.83 kB / 1.383 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0002422/1.188, allocations: 246.1 kB / 1.383 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001123/1.189, allocations: 151 kB / 1.383 GB, free: 27.82 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 58 (sysReq.tim3.u,sysReq.sampler3.sampleTrigger,sysReq.sampler2.sampleTrigger,sysReq.sampler1.sampleTrigger,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,sysReq.yZonPreResReq,sysReq.greThr3.greHys.y,sysReq.greThr4.greHys.y,sysReq.booToInt1.y,sysReq.and3.u1,sysReq.and3.y,sysReq.and4.y,sysReq.swi4.u3,sysReq.tim3.y,sysReq.tim3.t_next,sysReq.greEqu.greHys.y,sysReq.greEqu1.greHys.y,sysReq.sampler1.y,sysReq.sampler1.firstTrigger,sysReq.sampler2.y,sysReq.sampler2.firstTrigger,sysReq.sampler3.y,sysReq.sampler3.firstTrigger,sysReq.tim1.u,sysReq.tim2.u,TZonCooSet.sampleTrigger,sysReq.sampler.sampleTrigger,$whenCondition15,$whenCondition16,$whenCondition14,$whenCondition13,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition7,$whenCondition8,$whenCondition9,sysReq.yZonTemResReq,sysReq.greThr1.greHys.y,sysReq.greThr2.greHys.y,sysReq.greThr.greHys.y,sysReq.booToInt.y,sysReq.and1.y,sysReq.and2.y,sysReq.intSwi.u3,sysReq.tim1.y,sysReq.tim1.t_next,sysReq.tim2.y,sysReq.tim2.t_next,sysReq.sampler.y,sysReq.sampler.firstTrigger,TZonCooSet.y,booPul.y) * Number of discrete states: 11 (sysReq.tim2.t_next,sysReq.tim1.t_next,TZonCooSet.u,sysReq.greThr2.greHys.y,sysReq.greThr1.greHys.y,sysReq.greThr.greHys.y,sysReq.tim3.t_next,sysReq.greThr4.greHys.y,sysReq.greEqu1.greHys.y,sysReq.greEqu.greHys.y,sysReq.greThr3.greHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * 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.0002279/1.189, allocations: 169.5 kB / 1.383 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0009015/1.19, allocations: 0.556 MB / 1.384 GB, free: 27.65 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.19, allocations: 0.875 kB / 1.384 GB, free: 27.65 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004489/1.191, allocations: 305.9 kB / 1.384 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005011/1.191, allocations: 80.58 kB / 1.384 GB, free: 27.63 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/1.193, allocations: 0.7603 MB / 1.385 GB, free: 27.39 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006449/1.194, allocations: 0.9621 MB / 1.386 GB, free: 26.67 MB / 0.8386 GB Notification: Performance of SimCode: time 2.81e-07/1.194, allocations: 0 / 1.386 GB, free: 26.67 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_SystemRequests_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_SystemRequests.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests_res.mat does not exist to compare? outputFormat=mat