Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests.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.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.85/1.85, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.0009654/0.0009654, allocations: 179.9 kB / 487 MB, free: 5.391 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.154/1.154, allocations: 221.3 MB / 0.7819 GB, free: 1.344 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.0009226/0.0009224, allocations: 95.17 kB / 0.9213 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5159/0.5168, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.7144, allocations: 142.3 MB / 1.205 GB, free: 26.07 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5125/1.227, allocations: 151.5 MB / 1.353 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002069/1.227, allocations: 77.95 kB / 1.353 GB, free: 15.87 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.02899/1.256, allocations: 10.97 MB / 1.364 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/1.256, allocations: 9 kB / 1.364 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/1.256, allocations: 103 kB / 1.364 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/1.257, allocations: 0.6089 MB / 1.365 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.671e-05/1.257, allocations: 27.3 kB / 1.365 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.728e-05/1.258, allocations: 47.98 kB / 1.365 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005649/1.258, allocations: 335 kB / 1.365 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006811/1.259, allocations: 491.4 kB / 1.366 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/1.259, allocations: 0 / 1.366 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.018e-05/1.259, allocations: 7.297 kB / 1.366 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/1.259, allocations: 12 kB / 1.366 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002086/1.261, allocations: 1.579 MB / 1.367 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006408/1.262, allocations: 0.5232 MB / 1.368 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002792/1.262, allocations: 214.7 kB / 1.368 GB, free: 9.121 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.126e-05/1.262, allocations: 15.08 kB / 1.368 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004544/1.262, allocations: 371.2 kB / 1.368 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=68): time 1.773e-06/1.262, allocations: 4 kB / 1.368 GB, free: 8.828 MB / 0.8073 GB Notification: Performance of matching and sorting (n=68): time 0.0007268/1.263, allocations: 0.4925 MB / 1.369 GB, free: 8.457 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/1.263, allocations: 89.05 kB / 1.369 GB, free: 8.355 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/1.264, allocations: 352 kB / 1.369 GB, free: 8.082 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.971e-05/1.264, allocations: 44.39 kB / 1.369 GB, free: 8.043 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 9.339e-05/1.264, allocations: 220.8 kB / 1.369 GB, free: 7.848 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 9.498e-05/1.264, allocations: 141.7 kB / 1.37 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/1.264, allocations: 4 kB / 1.37 GB, free: 7.734 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.385e-05/1.264, allocations: 374 kB / 1.37 GB, free: 7.387 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003085/1.264, allocations: 191.9 kB / 1.37 GB, free: 7.281 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003766/1.265, allocations: 436.7 kB / 1.371 GB, free: 6.844 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006955/1.265, allocations: 270.7 kB / 1.371 GB, free: 6.645 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/1.265, allocations: 0 / 1.371 GB, free: 6.645 MB / 0.8073 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001252/1.267, allocations: 0.6717 MB / 1.371 GB, free: 6.102 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.968e-06/1.267, allocations: 8.125 kB / 1.371 GB, free: 6.094 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/1.267, allocations: 8 kB / 1.371 GB, free: 6.086 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/1.267, allocations: 15.98 kB / 1.371 GB, free: 6.07 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004617/1.267, allocations: 130.2 kB / 1.372 GB, free: 5.949 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/1.267, allocations: 12 kB / 1.372 GB, free: 5.938 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007019/1.268, allocations: 163.6 kB / 1.372 GB, free: 5.777 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.923e-05/1.268, allocations: 43.17 kB / 1.372 GB, free: 5.742 MB / 0.8073 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.0001424/1.268, allocations: 168.8 kB / 1.372 GB, free: 5.578 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.736e-05/1.268, allocations: 67.22 kB / 1.372 GB, free: 5.512 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.272e-05/1.268, allocations: 54.19 kB / 1.372 GB, free: 5.488 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/1.268, allocations: 8 kB / 1.372 GB, free: 5.48 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/1.268, allocations: 0 / 1.372 GB, free: 5.48 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/1.268, allocations: 3.984 kB / 1.372 GB, free: 5.477 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/1.27, allocations: 1.342 MB / 1.373 GB, free: 4.449 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/1.27, allocations: 3.906 kB / 1.373 GB, free: 4.445 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003116/1.27, allocations: 87.06 kB / 1.373 GB, free: 4.363 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/1.27, allocations: 4 kB / 1.373 GB, free: 4.359 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.32e-05/1.27, allocations: 11.67 kB / 1.373 GB, free: 4.352 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/1.27, allocations: 4 kB / 1.373 GB, free: 4.348 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.27, allocations: 0 / 1.373 GB, free: 4.348 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006568/1.271, allocations: 0.6969 MB / 1.374 GB, free: 3.762 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006889/1.272, allocations: 1.066 MB / 1.375 GB, free: 2.812 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.536e-05/1.272, allocations: 124.4 kB / 1.375 GB, free: 2.672 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.899e-05/1.272, allocations: 19.73 kB / 1.375 GB, free: 2.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006037/1.272, allocations: 127.7 kB / 1.375 GB, free: 2.539 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001812/1.272, allocations: 99.31 kB / 1.376 GB, free: 2.461 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-05/1.273, allocations: 35.59 kB / 1.376 GB, free: 2.434 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001769/1.273, allocations: 245.3 kB / 1.376 GB, free: 2.25 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001023/1.274, allocations: 147.7 kB / 1.376 GB, free: 2.105 MB / 0.8073 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.0001815/1.274, allocations: 163.6 kB / 1.376 GB, free: 1.945 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0007215/1.275, allocations: 0.5526 MB / 1.377 GB, free: 1.555 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/1.275, allocations: 0 / 1.377 GB, free: 1.555 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0003657/1.275, allocations: 315.6 kB / 1.377 GB, free: 1.355 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004628/1.276, allocations: 77.61 kB / 1.377 GB, free: 1.301 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/1.277, allocations: 0.7516 MB / 1.378 GB, free: 0.6523 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005213/1.277, allocations: 0.965 MB / 1.379 GB, free: 15.66 MB / 0.823 GB Notification: Performance of SimCode: time 3.1e-07/1.277, allocations: 0 / 1.379 GB, free: 15.66 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_SystemRequests_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_SystemRequests.fmu > Buildings_9_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_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests_res.mat does not exist to compare? outputFormat=mat