Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.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: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sunRiseSetArctic.nextSunRise|sunRiseSetArctic.nextSunSet|sunRiseSetArctic.sunUp|sunRiseSetSf.nextSunRise|sunRiseSetSf.nextSunSet|sunRiseSetSf.sunUp|sunRiseSetAntarctic.nextSunRise|sunRiseSetAntarctic.nextSunSet|sunRiseSetAntarctic.sunUp|sunRiseSetSyd.nextSunRise|sunRiseSetSyd.nextSunSet|sunRiseSetSyd.sunUp",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sunRiseSetArctic.nextSunRise|sunRiseSetArctic.nextSunSet|sunRiseSetArctic.sunUp|sunRiseSetSf.nextSunRise|sunRiseSetSf.nextSunSet|sunRiseSetSf.sunUp|sunRiseSetAntarctic.nextSunRise|sunRiseSetAntarctic.nextSunSet|sunRiseSetAntarctic.sunUp|sunRiseSetSyd.nextSunRise|sunRiseSetSyd.nextSunSet|sunRiseSetSyd.sunUp",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") [: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.708/1.708, 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.0009355/0.0009355, allocations: 189.2 kB / 490.8 MB, free: 1.945 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.054/1.054, allocations: 221.3 MB / 0.7863 GB, free: 13.77 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.0008177/0.0008177, allocations: 89.48 kB / 0.9264 GB, free: 14.3 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.17e-06/5.19e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1662, allocations: 143 MB / 1.212 GB, free: 40.13 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4459/0.6121, allocations: 150 MB / 1.358 GB, free: 17.45 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001624/0.6123, allocations: 72.86 kB / 1.358 GB, free: 17.45 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02871/0.641, allocations: 10.16 MB / 1.368 GB, free: 16.87 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.641, allocations: 4.531 kB / 1.368 GB, free: 16.87 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.0009785/0.642, allocations: 0.6312 MB / 1.369 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.6421, allocations: 9 kB / 1.369 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.132e-05/0.6421, allocations: 20.2 kB / 1.369 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.78e-05/0.6422, allocations: 189.9 kB / 1.369 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.6422, allocations: 5.391 kB / 1.369 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.851e-05/0.6423, allocations: 13.31 kB / 1.369 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002021/0.6425, allocations: 93.92 kB / 1.369 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.6427, allocations: 222 kB / 1.369 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.6427, allocations: 5.094 kB / 1.369 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.6428, allocations: 2.469 kB / 1.369 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.6428, allocations: 5.969 kB / 1.369 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002993/0.6431, allocations: 355.3 kB / 1.37 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.6443, allocations: 476.4 kB / 1.37 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.6445, allocations: 149.3 kB / 1.37 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.192e-05/0.6445, allocations: 10.88 kB / 1.37 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002587/0.6448, allocations: 274.1 kB / 1.37 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=40): time 1.683e-06/0.6448, allocations: 1.344 kB / 1.37 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40): time 0.0006213/0.6454, allocations: 293.3 kB / 1.371 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.6455, allocations: 351.6 kB / 1.371 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.6456, allocations: 157.3 kB / 1.371 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.6456, allocations: 32.92 kB / 1.371 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.743e-05/0.6457, allocations: 94.64 kB / 1.371 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.486e-05/0.6457, allocations: 109.2 kB / 1.371 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.978e-05/0.6458, allocations: 1.25 kB / 1.371 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.503e-05/0.6459, allocations: 329.3 kB / 1.372 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.646, allocations: 96.19 kB / 1.372 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/0.6462, allocations: 149.3 kB / 1.372 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004072/0.6466, allocations: 163.6 kB / 1.372 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6466, allocations: 0 / 1.372 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007173/0.6474, allocations: 383.1 kB / 1.372 GB, free: 30 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.6474, allocations: 4.938 kB / 1.372 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.6474, allocations: 4.906 kB / 1.372 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.6474, allocations: 7.328 kB / 1.373 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.6477, allocations: 64.86 kB / 1.373 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.6477, allocations: 5.531 kB / 1.373 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002809/0.648, allocations: 52.56 kB / 1.373 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.031e-05/0.6481, allocations: 19.42 kB / 1.373 GB, free: 29.97 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 9.383e-05/0.6482, allocations: 128.3 kB / 1.373 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.808e-05/0.6482, allocations: 27.72 kB / 1.373 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005845/0.6488, allocations: 330.8 kB / 1.373 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.6488, allocations: 9.156 kB / 1.373 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.6488, allocations: 3.844 kB / 1.373 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/0.6489, allocations: 5.375 kB / 1.373 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.6491, allocations: 299.3 kB / 1.373 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.6491, allocations: 2.375 kB / 1.373 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002883/0.6494, allocations: 71.3 kB / 1.373 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.6494, allocations: 4.906 kB / 1.373 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/0.6495, allocations: 17.02 kB / 1.373 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.6495, allocations: 8.953 kB / 1.374 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.768e-06/0.6495, allocations: 7.875 kB / 1.374 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000644/0.6501, allocations: 0.579 MB / 1.374 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.6503, allocations: 146.7 kB / 1.374 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.358e-05/0.6503, allocations: 7.297 kB / 1.374 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.6506, allocations: 33.19 kB / 1.374 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.971e-05/0.6507, allocations: 51.23 kB / 1.374 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.112e-05/0.6507, allocations: 21.83 kB / 1.374 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.056e-05/0.6508, allocations: 121.8 kB / 1.374 GB, free: 29 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004495/0.6512, allocations: 212.2 kB / 1.375 GB, free: 28.95 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.0004509/0.6517, allocations: 322.2 kB / 1.375 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00139/0.6531, allocations: 2.984 MB / 1.378 GB, free: 26.08 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6531, allocations: 1.062 kB / 1.378 GB, free: 26.08 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002233/0.6533, allocations: 171.1 kB / 1.378 GB, free: 26.06 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.6535, allocations: 12.7 kB / 1.378 GB, free: 26.05 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006645/0.6542, allocations: 418.8 kB / 1.378 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003722/0.6545, allocations: 0.8077 MB / 1.379 GB, free: 25.14 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/0.6546, allocations: 3.938 kB / 1.379 GB, free: 25.13 MB / 0.8386 GB Notification: Performance of Templates: time 0.008277/0.6628, allocations: 5.185 MB / 1.384 GB, free: 24.38 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches