Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.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.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.829/1.829, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.0009363/0.0009364, allocations: 177.3 kB / 490.8 MB, free: 1.957 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.141/1.141, 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.0008317/0.0008317, allocations: 87 kB / 0.9264 GB, free: 14.22 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4365/0.4374, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.6224, allocations: 143 MB / 1.212 GB, free: 40 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5009/1.123, allocations: 150 MB / 1.358 GB, free: 17.48 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000157/1.123, allocations: 72.44 kB / 1.358 GB, free: 17.48 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.03209/1.156, allocations: 10.8 MB / 1.369 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/1.156, allocations: 9.281 kB / 1.369 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.894e-05/1.156, allocations: 19.97 kB / 1.369 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.968e-05/1.156, allocations: 192.9 kB / 1.369 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/1.156, allocations: 10.52 kB / 1.369 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.511e-05/1.156, allocations: 12.72 kB / 1.369 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002179/1.156, allocations: 96.58 kB / 1.369 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/1.156, allocations: 213.8 kB / 1.369 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/1.156, allocations: 5.031 kB / 1.369 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.284e-05/1.156, allocations: 3.094 kB / 1.369 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/1.156, allocations: 5.031 kB / 1.369 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003696/1.157, allocations: 358.2 kB / 1.37 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/1.158, allocations: 474.5 kB / 1.37 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/1.158, allocations: 152.2 kB / 1.37 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.592e-05/1.158, allocations: 10.23 kB / 1.37 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002612/1.159, allocations: 272.8 kB / 1.371 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=40): time 2.103e-06/1.159, allocations: 0 / 1.371 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40): time 0.0007347/1.159, allocations: 295.5 kB / 1.371 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.156e-05/1.159, allocations: 350.5 kB / 1.371 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/1.16, allocations: 157 kB / 1.371 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/1.16, allocations: 30.27 kB / 1.371 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.596e-05/1.16, allocations: 92.67 kB / 1.371 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.421e-05/1.16, allocations: 106.5 kB / 1.372 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-05/1.16, allocations: 0 / 1.372 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000104/1.16, allocations: 330.6 kB / 1.372 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/1.16, allocations: 102.8 kB / 1.372 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/1.16, allocations: 142 kB / 1.372 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004824/1.161, allocations: 161.7 kB / 1.372 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/1.161, allocations: 0 / 1.372 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008254/1.162, allocations: 390.1 kB / 1.373 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/1.162, allocations: 7.938 kB / 1.373 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/1.162, allocations: 1.891 kB / 1.373 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/1.162, allocations: 7.062 kB / 1.373 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003272/1.162, allocations: 61 kB / 1.373 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/1.162, allocations: 3.703 kB / 1.373 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003153/1.162, allocations: 52.38 kB / 1.373 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.257e-05/1.162, allocations: 26.08 kB / 1.373 GB, free: 30.01 MB / 0.8386 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 0.0001261/1.163, allocations: 124.4 kB / 1.373 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.295e-05/1.163, allocations: 32.72 kB / 1.373 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007321/1.163, allocations: 330.8 kB / 1.373 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/1.163, allocations: 9.031 kB / 1.373 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/1.163, allocations: 4.781 kB / 1.373 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.46e-05/1.163, allocations: 6.562 kB / 1.373 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003534/1.164, allocations: 296.5 kB / 1.374 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/1.164, allocations: 2 kB / 1.374 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003067/1.164, allocations: 73.48 kB / 1.374 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/1.164, allocations: 4.844 kB / 1.374 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.082e-05/1.164, allocations: 12.7 kB / 1.374 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/1.164, allocations: 14 kB / 1.374 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/1.164, allocations: 7.312 kB / 1.374 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000847/1.165, allocations: 0.5719 MB / 1.374 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008567/1.166, allocations: 0.9653 MB / 1.375 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/1.166, allocations: 144.1 kB / 1.375 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.964e-05/1.166, allocations: 11.33 kB / 1.375 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/1.166, allocations: 32.53 kB / 1.375 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/1.166, allocations: 45.02 kB / 1.375 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-05/1.167, allocations: 23.86 kB / 1.375 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8.64e-05/1.167, allocations: 119.2 kB / 1.375 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001267/1.168, allocations: 224.6 kB / 1.376 GB, free: 28.25 MB / 0.8386 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.0006329/1.169, allocations: 323.1 kB / 1.376 GB, free: 28.1 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001649/1.17, allocations: 2.986 MB / 1.379 GB, free: 25.38 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.17, allocations: 1.312 kB / 1.379 GB, free: 25.38 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002605/1.17, allocations: 171 kB / 1.379 GB, free: 25.36 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/1.171, allocations: 11.75 kB / 1.379 GB, free: 25.36 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008272/1.171, allocations: 415.5 kB / 1.379 GB, free: 25.14 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000448/1.172, allocations: 0.8105 MB / 1.38 GB, free: 24.44 MB / 0.8386 GB Notification: Performance of SimCode: time 2.91e-07/1.172, allocations: 0 / 1.38 GB, free: 24.44 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime_fmu --startTime=-43200 --stopTime=259200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime_res.mat does not exist to compare? outputFormat=mat