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.19/2.19, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001132/0.001132, allocations: 180.8 kB / 487.4 MB, free: 5.051 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.581/1.581, allocations: 221.5 MB / 0.7824 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009896/0.0009897, allocations: 99.77 kB / 0.9219 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.924e-05/1.928e-05, allocations: 5.953 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3069, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.069/1.376, allocations: 149.3 MB / 1.352 GB, free: 18.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/1.376, allocations: 75.88 kB / 1.352 GB, free: 18.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03305/1.409, allocations: 10.48 MB / 1.362 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.613e-06/1.409, allocations: 0 / 1.362 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.021e-05/1.409, allocations: 3.875 kB / 1.362 GB, free: 33.35 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.001277/1.41, allocations: 0.6274 MB / 1.363 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/1.41, allocations: 12.19 kB / 1.363 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.365e-05/1.411, allocations: 19.34 kB / 1.363 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/1.411, allocations: 194.8 kB / 1.363 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/1.411, allocations: 7.25 kB / 1.363 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.922e-05/1.411, allocations: 11.53 kB / 1.363 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002025/1.411, allocations: 86.08 kB / 1.363 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002677/1.411, allocations: 222.7 kB / 1.363 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/1.411, allocations: 3.844 kB / 1.363 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/1.411, allocations: 3.938 kB / 1.363 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/1.411, allocations: 7.844 kB / 1.363 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/1.412, allocations: 358.3 kB / 1.364 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/1.413, allocations: 478.4 kB / 1.364 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/1.413, allocations: 149.9 kB / 1.364 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.765e-05/1.413, allocations: 3.844 kB / 1.364 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003437/1.413, allocations: 296.3 kB / 1.365 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=40): time 2.354e-06/1.413, allocations: 0 / 1.365 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40): time 0.002441/1.416, allocations: 0.5252 MB / 1.365 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.174e-05/1.416, allocations: 359.6 kB / 1.365 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/1.416, allocations: 152.9 kB / 1.366 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.751e-05/1.416, allocations: 32.95 kB / 1.366 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.642e-05/1.416, allocations: 92.27 kB / 1.366 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.308e-05/1.416, allocations: 101.5 kB / 1.366 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.1e-05/1.416, allocations: 0 / 1.366 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001311/1.417, allocations: 334.6 kB / 1.366 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/1.417, allocations: 99.2 kB / 1.366 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/1.417, allocations: 142 kB / 1.366 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003106/1.42, allocations: 0.5057 MB / 1.367 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/1.42, allocations: 0 / 1.367 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.003362/1.423, allocations: 0.7172 MB / 1.367 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/1.423, allocations: 7.656 kB / 1.367 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/1.423, allocations: 3.938 kB / 1.368 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/1.423, allocations: 3.969 kB / 1.368 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003178/1.424, allocations: 66.23 kB / 1.368 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/1.424, allocations: 3.875 kB / 1.368 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003099/1.424, allocations: 45.91 kB / 1.368 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.024e-05/1.424, allocations: 20.58 kB / 1.368 GB, free: 30.46 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.0001821/1.424, allocations: 123.1 kB / 1.368 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002237/1.427, allocations: 0.5423 MB / 1.368 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.803e-05/1.427, allocations: 29.7 kB / 1.368 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005783/1.427, allocations: 320.2 kB / 1.369 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/1.427, allocations: 7.75 kB / 1.369 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/1.427, allocations: 7.969 kB / 1.369 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/1.427, allocations: 10.41 kB / 1.369 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003115/1.428, allocations: 307.6 kB / 1.369 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/1.428, allocations: 3.844 kB / 1.369 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000267/1.428, allocations: 70.27 kB / 1.369 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/1.428, allocations: 3.75 kB / 1.369 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/1.428, allocations: 13.33 kB / 1.369 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-06/1.428, allocations: 10.06 kB / 1.369 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/1.428, allocations: 3.844 kB / 1.369 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002367/1.43, allocations: 0.8159 MB / 1.37 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001982/1.431, allocations: 151.2 kB / 1.37 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.701e-05/1.431, allocations: 6.766 kB / 1.37 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/1.431, allocations: 37.11 kB / 1.37 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/1.431, allocations: 54.92 kB / 1.37 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.077e-05/1.431, allocations: 25.5 kB / 1.37 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001012/1.431, allocations: 115.2 kB / 1.37 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.431, allocations: 3.906 kB / 1.37 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006818/1.432, allocations: 208.9 kB / 1.37 GB, free: 29.36 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.003442/1.435, allocations: 2.339 MB / 1.373 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001756/1.437, allocations: 2.993 MB / 1.376 GB, free: 24.93 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.437, allocations: 0 / 1.376 GB, free: 24.93 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002/1.437, allocations: 160.3 kB / 1.376 GB, free: 24.92 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/1.437, allocations: 13.28 kB / 1.376 GB, free: 24.91 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/1.438, allocations: 0.5297 MB / 1.376 GB, free: 24.61 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/1.439, allocations: 0.7651 MB / 1.377 GB, free: 23.91 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002001/1.439, allocations: 52.78 kB / 1.377 GB, free: 23.89 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/1.439, allocations: 92.45 kB / 1.377 GB, free: 23.89 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.439, allocations: 0 / 1.377 GB, free: 23.89 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02676/1.466, allocations: 6.842 MB / 1.384 GB, free: 22.46 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/1.466, allocations: 170.9 kB / 1.384 GB, free: 22.26 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.958/3.424, allocations: 3.75 kB / 1.384 GB, free: 22.26 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