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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.421/2.421, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001242/0.001242, allocations: 178.8 kB / 0.4901 GB, free: 2.227 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.485/1.485, allocations: 223.1 MB / 0.7992 GB, free: 15.7 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.0009098/0.0009095, allocations: 104 kB / 0.9396 GB, free: 2.883 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003827/0.0003827, allocations: 8.969 kB / 1.09 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3314, allocations: 143 MB / 1.229 GB, free: 85.38 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1995/0.5309, allocations: 150.8 MB / 1.377 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/0.5312, allocations: 71.95 kB / 1.377 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.0369/0.5681, allocations: 10.58 MB / 1.387 GB, free: 3.691 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.545e-06/0.5682, allocations: 0 / 1.387 GB, free: 3.691 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.528e-05/0.5682, allocations: 4 kB / 1.387 GB, free: 3.688 MB / 0.8855 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.001572/0.5698, allocations: 0.6487 MB / 1.388 GB, free: 2.988 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.5698, allocations: 8.031 kB / 1.388 GB, free: 2.98 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.21e-05/0.5699, allocations: 42.55 kB / 1.388 GB, free: 2.93 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.5701, allocations: 19.81 kB / 1.388 GB, free: 2.91 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.5703, allocations: 191.5 kB / 1.388 GB, free: 2.68 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001795/0.5704, allocations: 126.8 kB / 1.388 GB, free: 2.531 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.758e-05/0.5705, allocations: 23.98 kB / 1.388 GB, free: 2.508 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003854/0.5709, allocations: 236.5 kB / 1.388 GB, free: 2.234 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.5709, allocations: 0 / 1.388 GB, free: 2.234 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/0.571, allocations: 8 kB / 1.388 GB, free: 2.227 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.571, allocations: 4 kB / 1.388 GB, free: 2.223 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002649/0.5712, allocations: 123.7 kB / 1.388 GB, free: 2.102 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005602/0.5718, allocations: 395.2 kB / 1.389 GB, free: 1.633 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.5733, allocations: 491.5 kB / 1.389 GB, free: 1.043 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.106e-05/0.5733, allocations: 16.12 kB / 1.389 GB, free: 1.027 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000482/0.5738, allocations: 311.4 kB / 1.39 GB, free: 0.6719 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=40): time 3.216e-06/0.5738, allocations: 4 kB / 1.39 GB, free: 0.668 MB / 0.8855 GB Notification: Performance of matching and sorting (n=40): time 0.0008722/0.5747, allocations: 408.9 kB / 1.39 GB, free: 268 kB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001837/0.5749, allocations: 350.1 kB / 1.39 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.5751, allocations: 153.2 kB / 1.39 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.109e-05/0.5751, allocations: 46.12 kB / 1.39 GB, free: 15.63 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 6.411e-05/0.5752, allocations: 97.14 kB / 1.391 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.5753, allocations: 118.4 kB / 1.391 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.493e-05/0.5754, allocations: 8 kB / 1.391 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.5755, allocations: 334.8 kB / 1.391 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002737/0.5758, allocations: 113.1 kB / 1.391 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002949/0.5761, allocations: 161 kB / 1.391 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.5764, allocations: 135.4 kB / 1.391 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.5764, allocations: 0 / 1.391 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007201/0.5771, allocations: 368.4 kB / 1.392 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.5772, allocations: 4 kB / 1.392 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.5772, allocations: 4 kB / 1.392 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.578e-05/0.5772, allocations: 0 / 1.392 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004254/0.5776, allocations: 79.88 kB / 1.392 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.355e-05/0.5777, allocations: 11.94 kB / 1.392 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003291/0.578, allocations: 51.66 kB / 1.392 GB, free: 14.15 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.993e-05/0.5781, allocations: 23.92 kB / 1.392 GB, free: 14.13 MB / 0.9011 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * 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.0001866/0.5782, allocations: 153.7 kB / 1.392 GB, free: 13.97 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.368e-05/0.5783, allocations: 24.47 kB / 1.392 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007091/0.579, allocations: 366.9 kB / 1.392 GB, free: 13.58 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/0.5791, allocations: 8 kB / 1.392 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/0.5791, allocations: 4 kB / 1.392 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.5791, allocations: 7.984 kB / 1.392 GB, free: 13.56 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004115/0.5795, allocations: 353.2 kB / 1.393 GB, free: 13.17 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.5795, allocations: 8 kB / 1.393 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003022/0.5798, allocations: 75.91 kB / 1.393 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.886e-06/0.5799, allocations: 4 kB / 1.393 GB, free: 13.08 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.884e-05/0.5799, allocations: 19.98 kB / 1.393 GB, free: 13.06 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.5799, allocations: 7.938 kB / 1.393 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/0.5799, allocations: 4 kB / 1.393 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007999/0.5807, allocations: 0.6139 MB / 1.393 GB, free: 12.32 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001971/0.5809, allocations: 144.5 kB / 1.394 GB, free: 12.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.538e-05/0.581, allocations: 19.98 kB / 1.394 GB, free: 12.14 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/0.5813, allocations: 35.98 kB / 1.394 GB, free: 12.1 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.5814, allocations: 51.88 kB / 1.394 GB, free: 12.05 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.143e-05/0.5815, allocations: 27.94 kB / 1.394 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 9.993e-05/0.5816, allocations: 131.2 kB / 1.394 GB, free: 11.89 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5816, allocations: 0 / 1.394 GB, free: 11.89 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0008061/0.5824, allocations: 219.7 kB / 1.394 GB, free: 11.68 MB / 0.9011 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) * Number of clocked states: 0 () * 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.001994/0.5844, allocations: 2.136 MB / 1.396 GB, free: 9.438 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0006517/0.5851, allocations: 327.7 kB / 1.396 GB, free: 9.121 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.5851, allocations: 4 kB / 1.396 GB, free: 9.117 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002844/0.5854, allocations: 183.7 kB / 1.397 GB, free: 8.938 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.5856, allocations: 16.88 kB / 1.397 GB, free: 8.918 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.5874, allocations: 1.452 MB / 1.398 GB, free: 7.375 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.5877, allocations: 0.7691 MB / 1.399 GB, free: 6.578 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002565/0.588, allocations: 59.23 kB / 1.399 GB, free: 6.52 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.5882, allocations: 95.39 kB / 1.399 GB, free: 6.426 MB / 0.9011 GB Notification: Performance of SimCode: time 3.91e-07/0.5882, allocations: 0 / 1.399 GB, free: 6.426 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5554/1.144, allocations: 6.943 MB / 1.406 GB, free: 170.2 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000151/1.144, allocations: 216.2 kB / 1.406 GB, free: 169.9 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.074/3.217, allocations: 2.188 kB / 1.406 GB, free: 169.9 MB / 0.9011 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