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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.377/2.377, allocations: 387.1 MB / 399.7 MB, free: 9.441 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.001066/0.001066, allocations: 192 kB / 492.3 MB, free: 0.6133 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.661/1.661, allocations: 221.3 MB / 0.7872 GB, free: 12.88 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.001112/0.001111, allocations: 91.06 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.322e-05/3.324e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3663, allocations: 142.3 MB / 1.213 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.054/1.42, allocations: 149.9 MB / 1.359 GB, free: 18.93 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001673/1.42, allocations: 71.06 kB / 1.359 GB, free: 18.93 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03212/1.452, allocations: 10.52 MB / 1.369 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.483e-06/1.452, allocations: 0 / 1.369 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.394e-05/1.453, allocations: 3.969 kB / 1.369 GB, free: 34.07 MB / 0.8386 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.001478/1.454, allocations: 0.6262 MB / 1.37 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/1.454, allocations: 10.67 kB / 1.37 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.442e-05/1.454, allocations: 44.33 kB / 1.37 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.448e-05/1.454, allocations: 22.84 kB / 1.37 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/1.454, allocations: 192.2 kB / 1.37 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/1.455, allocations: 133.8 kB / 1.37 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.704e-05/1.455, allocations: 18.59 kB / 1.37 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003271/1.455, allocations: 235.7 kB / 1.371 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/1.455, allocations: 0 / 1.371 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/1.455, allocations: 7.438 kB / 1.371 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/1.455, allocations: 7.688 kB / 1.371 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002117/1.455, allocations: 111.5 kB / 1.371 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004159/1.456, allocations: 400.1 kB / 1.371 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/1.457, allocations: 495.8 kB / 1.371 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/1.457, allocations: 151 kB / 1.372 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.345e-05/1.457, allocations: 15.62 kB / 1.372 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003937/1.458, allocations: 308.7 kB / 1.372 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=40): time 2.475e-06/1.458, allocations: 0 / 1.372 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40): time 0.0006199/1.458, allocations: 317.4 kB / 1.372 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.466e-05/1.458, allocations: 353 kB / 1.373 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/1.459, allocations: 152.3 kB / 1.373 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.275e-05/1.459, allocations: 43.56 kB / 1.373 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.962e-05/1.459, allocations: 95.55 kB / 1.373 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.962e-05/1.459, allocations: 108.8 kB / 1.373 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.252e-05/1.459, allocations: 15.31 kB / 1.373 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.365e-05/1.459, allocations: 334.5 kB / 1.373 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/1.459, allocations: 107.8 kB / 1.373 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/1.459, allocations: 148.9 kB / 1.374 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002179/1.459, allocations: 115.3 kB / 1.374 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.459, allocations: 0 / 1.374 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005475/1.46, allocations: 362.6 kB / 1.374 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/1.46, allocations: 3.812 kB / 1.374 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/1.46, allocations: 7.875 kB / 1.374 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/1.46, allocations: 7.812 kB / 1.374 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003617/1.46, allocations: 76.64 kB / 1.374 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/1.46, allocations: 0 / 1.374 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003237/1.461, allocations: 61.94 kB / 1.374 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.05e-05/1.461, allocations: 17.61 kB / 1.374 GB, free: 30.96 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): 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.0001305/1.461, allocations: 143.7 kB / 1.374 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.291e-05/1.461, allocations: 26.69 kB / 1.374 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000675/1.462, allocations: 353.6 kB / 1.375 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/1.462, allocations: 11.69 kB / 1.375 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/1.462, allocations: 10.45 kB / 1.375 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/1.462, allocations: 7.078 kB / 1.375 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003375/1.462, allocations: 348.2 kB / 1.375 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/1.462, allocations: 3.844 kB / 1.375 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002631/1.462, allocations: 74.12 kB / 1.375 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/1.462, allocations: 3.812 kB / 1.375 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.112e-05/1.462, allocations: 17.53 kB / 1.375 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/1.462, allocations: 7.688 kB / 1.375 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.463, allocations: 3.938 kB / 1.375 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006005/1.463, allocations: 0.6073 MB / 1.376 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/1.463, allocations: 152.7 kB / 1.376 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.538e-05/1.463, allocations: 17.72 kB / 1.376 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/1.464, allocations: 39.3 kB / 1.376 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.401e-05/1.464, allocations: 48.59 kB / 1.376 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.059e-05/1.464, allocations: 22.09 kB / 1.376 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.621e-05/1.464, allocations: 140.9 kB / 1.376 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.3e-07/1.464, allocations: 0 / 1.376 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007026/1.465, allocations: 225.5 kB / 1.376 GB, free: 29.88 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.00165/1.466, allocations: 2.122 MB / 1.378 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004736/1.467, allocations: 317.2 kB / 1.379 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.467, allocations: 0 / 1.379 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002374/1.467, allocations: 189.1 kB / 1.379 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/1.467, allocations: 22.09 kB / 1.379 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/1.468, allocations: 0.5791 MB / 1.379 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/1.469, allocations: 0.767 MB / 1.38 GB, free: 27.13 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000225/1.469, allocations: 53.2 kB / 1.38 GB, free: 27.12 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/1.469, allocations: 95.78 kB / 1.38 GB, free: 27.11 MB / 0.8386 GB Notification: Performance of SimCode: time 5.71e-07/1.469, allocations: 0 / 1.38 GB, free: 27.11 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01908/1.488, allocations: 7.134 MB / 1.387 GB, free: 25.08 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/1.488, allocations: 189.4 kB / 1.388 GB, free: 24.85 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.986/3.474, allocations: 0 / 1.388 GB, free: 24.85 MB / 0.8386 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