Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.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.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",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.84/1.84, 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.0009557/0.0009556, allocations: 177.3 kB / 487 MB, free: 5.344 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.185/1.185, allocations: 221.3 MB / 0.7819 GB, free: 1.324 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.0008838/0.0008838, allocations: 108.2 kB / 0.9213 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4536/0.4545, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.6537, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5461/1.2, allocations: 149.2 MB / 1.351 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001891/1.2, allocations: 76.67 kB / 1.351 GB, free: 15.94 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.03358/1.234, allocations: 10.8 MB / 1.362 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/1.234, allocations: 8 kB / 1.362 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.815e-05/1.234, allocations: 20.61 kB / 1.362 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/1.234, allocations: 189.3 kB / 1.362 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/1.234, allocations: 5.266 kB / 1.362 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.013e-05/1.234, allocations: 16.47 kB / 1.362 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002071/1.234, allocations: 93.92 kB / 1.362 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/1.234, allocations: 220.8 kB / 1.362 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/1.235, allocations: 11.94 kB / 1.362 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/1.235, allocations: 1.125 kB / 1.362 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/1.235, allocations: 4 kB / 1.362 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003297/1.235, allocations: 362.8 kB / 1.363 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/1.236, allocations: 468.7 kB / 1.363 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/1.236, allocations: 152.4 kB / 1.363 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/1.236, allocations: 8.875 kB / 1.363 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000273/1.237, allocations: 268.4 kB / 1.363 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=40): time 1.793e-06/1.237, allocations: 0 / 1.363 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of matching and sorting (n=40): time 0.0006541/1.237, allocations: 293 kB / 1.364 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.54e-05/1.237, allocations: 360.5 kB / 1.364 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.735e-05/1.237, allocations: 147.2 kB / 1.364 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/1.237, allocations: 33.7 kB / 1.364 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.51e-05/1.238, allocations: 92.48 kB / 1.364 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.483e-05/1.238, allocations: 106.9 kB / 1.364 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.942e-05/1.238, allocations: 0 / 1.364 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.725e-05/1.238, allocations: 333.5 kB / 1.365 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/1.238, allocations: 98.8 kB / 1.365 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/1.238, allocations: 145.3 kB / 1.365 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003873/1.238, allocations: 161.7 kB / 1.365 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.238, allocations: 0 / 1.365 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006548/1.239, allocations: 381.7 kB / 1.365 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/1.239, allocations: 7.906 kB / 1.365 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/1.239, allocations: 0 / 1.365 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/1.239, allocations: 4 kB / 1.365 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/1.239, allocations: 63.58 kB / 1.366 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/1.239, allocations: 4 kB / 1.366 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002843/1.24, allocations: 55.59 kB / 1.366 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/1.24, allocations: 23.67 kB / 1.366 GB, free: 10.29 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition8,$whenCondition7,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,$PRE.sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 4 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.837e-05/1.24, allocations: 126.7 kB / 1.366 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.762e-05/1.24, allocations: 27.7 kB / 1.366 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006357/1.241, allocations: 329.3 kB / 1.366 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/1.241, allocations: 11.98 kB / 1.366 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/1.241, allocations: 4 kB / 1.366 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/1.241, allocations: 4 kB / 1.366 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000298/1.241, allocations: 297.4 kB / 1.366 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/1.241, allocations: 0 / 1.366 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003443/1.241, allocations: 79.7 kB / 1.366 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/1.241, allocations: 4 kB / 1.366 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.219e-05/1.241, allocations: 15.66 kB / 1.366 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.199e-06/1.241, allocations: 7.984 kB / 1.366 GB, free: 9.48 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.241, allocations: 8 kB / 1.366 GB, free: 9.473 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007272/1.242, allocations: 0.5792 MB / 1.367 GB, free: 8.852 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007389/1.243, allocations: 0.9626 MB / 1.368 GB, free: 7.859 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/1.243, allocations: 147.4 kB / 1.368 GB, free: 7.707 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.608e-05/1.243, allocations: 11.94 kB / 1.368 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002986/1.243, allocations: 39 kB / 1.368 GB, free: 7.66 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.528e-05/1.243, allocations: 43.75 kB / 1.368 GB, free: 7.625 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/1.244, allocations: 23.67 kB / 1.368 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.198e-05/1.244, allocations: 117.9 kB / 1.368 GB, free: 7.504 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001302/1.245, allocations: 222 kB / 1.369 GB, free: 7.297 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition8,$whenCondition7,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 8 (sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise) * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0005091/1.245, allocations: 315.7 kB / 1.369 GB, free: 6.996 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001263/1.247, allocations: 2.991 MB / 1.372 GB, free: 4.008 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.247, allocations: 0 / 1.372 GB, free: 4.008 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002498/1.247, allocations: 171 kB / 1.372 GB, free: 3.879 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/1.247, allocations: 23.5 kB / 1.372 GB, free: 3.855 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008419/1.248, allocations: 416.8 kB / 1.372 GB, free: 3.457 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003616/1.248, allocations: 0.8139 MB / 1.373 GB, free: 18.62 MB / 0.823 GB Notification: Performance of SimCode: time 3.51e-07/1.248, allocations: 0 / 1.373 GB, free: 18.62 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime_fmu --startTime=-43200 --stopTime=259200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime_res.mat does not exist to compare? outputFormat=mat