Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.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.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",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.277/2.277, allocations: 387.1 MB / 399.7 MB, free: 9.449 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.001056/0.001056, allocations: 169 kB / 492.3 MB, free: 0.6172 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.788/1.788, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.001004/0.001004, allocations: 96.69 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.518e-05/3.519e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3304, allocations: 142.3 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.017/1.348, allocations: 149.9 MB / 1.359 GB, free: 18.99 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/1.348, allocations: 74.28 kB / 1.359 GB, free: 18.99 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0315/1.379, allocations: 10.52 MB / 1.369 GB, free: 34.13 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.382e-06/1.379, allocations: 3.75 kB / 1.369 GB, free: 34.13 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.252e-05/1.379, allocations: 0 / 1.369 GB, free: 34.13 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.001342/1.381, allocations: 0.6243 MB / 1.37 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/1.381, allocations: 11.34 kB / 1.37 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.97e-05/1.381, allocations: 47.84 kB / 1.37 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.922e-05/1.381, allocations: 22 kB / 1.37 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/1.381, allocations: 192 kB / 1.37 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/1.381, allocations: 136.3 kB / 1.37 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.587e-05/1.381, allocations: 17.44 kB / 1.37 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003094/1.382, allocations: 236.8 kB / 1.371 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/1.382, allocations: 0 / 1.371 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/1.382, allocations: 7.25 kB / 1.371 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/1.382, allocations: 3.969 kB / 1.371 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002054/1.382, allocations: 121.4 kB / 1.371 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004121/1.382, allocations: 391 kB / 1.371 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/1.384, allocations: 494.7 kB / 1.371 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/1.384, allocations: 156.5 kB / 1.372 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/1.384, allocations: 10.56 kB / 1.372 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003414/1.384, allocations: 308 kB / 1.372 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=40): time 2.515e-06/1.384, allocations: 0 / 1.372 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40): time 0.0005787/1.385, allocations: 315.1 kB / 1.372 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.518e-05/1.385, allocations: 352.4 kB / 1.373 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/1.385, allocations: 153.4 kB / 1.373 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.495e-05/1.385, allocations: 44.67 kB / 1.373 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.481e-05/1.385, allocations: 98.27 kB / 1.373 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.777e-05/1.385, allocations: 107.1 kB / 1.373 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.169e-05/1.385, allocations: 15.06 kB / 1.373 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001018/1.385, allocations: 341.8 kB / 1.373 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/1.386, allocations: 105.5 kB / 1.373 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/1.386, allocations: 152.4 kB / 1.374 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/1.386, allocations: 114.8 kB / 1.374 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.386, allocations: 0 / 1.374 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005148/1.387, allocations: 350.4 kB / 1.374 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/1.387, allocations: 8.938 kB / 1.374 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/1.387, allocations: 0 / 1.374 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/1.387, allocations: 7.844 kB / 1.374 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003457/1.387, allocations: 79.97 kB / 1.374 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/1.387, allocations: 0 / 1.374 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002992/1.387, allocations: 59.69 kB / 1.374 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.906e-05/1.387, allocations: 21.95 kB / 1.374 GB, free: 31.03 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.0001179/1.387, allocations: 148.9 kB / 1.374 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.193e-05/1.388, allocations: 30.38 kB / 1.374 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005935/1.388, allocations: 356.5 kB / 1.375 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/1.388, allocations: 7.969 kB / 1.375 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/1.388, allocations: 3.906 kB / 1.375 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/1.388, allocations: 10.69 kB / 1.375 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003079/1.388, allocations: 347.5 kB / 1.375 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/1.388, allocations: 0 / 1.375 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/1.389, allocations: 77.91 kB / 1.375 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/1.389, allocations: 3.812 kB / 1.375 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.323e-05/1.389, allocations: 20.52 kB / 1.375 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/1.389, allocations: 7.812 kB / 1.375 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.389, allocations: 7.844 kB / 1.375 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000608/1.389, allocations: 0.5946 MB / 1.376 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/1.39, allocations: 155.3 kB / 1.376 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.403e-05/1.39, allocations: 22.86 kB / 1.376 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002427/1.39, allocations: 44.25 kB / 1.376 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.886e-05/1.39, allocations: 40.89 kB / 1.376 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.118e-05/1.39, allocations: 21.78 kB / 1.376 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.649e-05/1.39, allocations: 137.7 kB / 1.376 GB, free: 30 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.8e-07/1.39, allocations: 0 / 1.376 GB, free: 30 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006792/1.391, allocations: 225.2 kB / 1.376 GB, free: 29.94 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.001754/1.393, allocations: 2.122 MB / 1.378 GB, free: 28.25 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004902/1.393, allocations: 324.4 kB / 1.379 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.393, allocations: 0 / 1.379 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002295/1.393, allocations: 187.3 kB / 1.379 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/1.394, allocations: 18.03 kB / 1.379 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/1.395, allocations: 0.5801 MB / 1.379 GB, free: 27.9 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/1.395, allocations: 0.7671 MB / 1.38 GB, free: 27.2 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002402/1.395, allocations: 51.88 kB / 1.38 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/1.395, allocations: 98.81 kB / 1.38 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of SimCode: time 3.91e-07/1.395, allocations: 0 / 1.38 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01987/1.415, allocations: 7.142 MB / 1.387 GB, free: 25.12 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/1.416, allocations: 180.3 kB / 1.388 GB, free: 24.89 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.938/3.354, allocations: 2 kB / 1.388 GB, free: 24.89 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime_fmu --startTime=43200 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime_res.mat does not exist to compare? outputFormat=mat