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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.234/2.234, allocations: 390.5 MB / 398 MB, free: 10.93 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.001329/0.001329, allocations: 180.6 kB / 491.2 MB, free: 1.598 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.67/1.67, allocations: 221.5 MB / 0.7868 GB, free: 13.37 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.001077/0.001077, allocations: 103.5 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.273e-05/2.25e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3015, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9073/1.209, allocations: 150.1 MB / 1.359 GB, free: 17.32 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/1.209, allocations: 70.19 kB / 1.359 GB, free: 17.32 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03264/1.242, allocations: 10.48 MB / 1.369 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.305e-06/1.242, allocations: 0 / 1.369 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.826e-05/1.242, allocations: 3.906 kB / 1.369 GB, free: 32.45 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.001574/1.244, allocations: 0.6269 MB / 1.37 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.375e-05/1.244, allocations: 11.81 kB / 1.37 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/1.244, allocations: 22.7 kB / 1.37 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/1.244, allocations: 191 kB / 1.37 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/1.244, allocations: 7.906 kB / 1.37 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.288e-05/1.244, allocations: 15.38 kB / 1.37 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002131/1.244, allocations: 84.92 kB / 1.37 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/1.244, allocations: 219.8 kB / 1.37 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/1.245, allocations: 3.844 kB / 1.37 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/1.245, allocations: 2.484 kB / 1.37 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/1.245, allocations: 3.938 kB / 1.37 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/1.245, allocations: 360.5 kB / 1.371 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/1.246, allocations: 473.2 kB / 1.371 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/1.246, allocations: 141.8 kB / 1.371 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.167e-05/1.246, allocations: 17.5 kB / 1.371 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003263/1.247, allocations: 298.6 kB / 1.372 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=40): time 2.244e-06/1.247, allocations: 0 / 1.372 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40): time 0.00239/1.249, allocations: 0.532 MB / 1.372 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.543e-05/1.249, allocations: 355.3 kB / 1.373 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/1.249, allocations: 152.9 kB / 1.373 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.307e-05/1.249, allocations: 33.17 kB / 1.373 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.362e-05/1.25, allocations: 95.23 kB / 1.373 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.14e-05/1.25, allocations: 110.7 kB / 1.373 GB, free: 30 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.26e-05/1.25, allocations: 0 / 1.373 GB, free: 30 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.266e-05/1.25, allocations: 334.3 kB / 1.373 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/1.25, allocations: 97.86 kB / 1.373 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/1.25, allocations: 142.2 kB / 1.373 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003173/1.253, allocations: 0.5096 MB / 1.374 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/1.253, allocations: 4 kB / 1.374 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.003503/1.257, allocations: 0.7105 MB / 1.375 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/1.257, allocations: 3.844 kB / 1.375 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.644e-05/1.257, allocations: 3.969 kB / 1.375 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/1.257, allocations: 0 / 1.375 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003105/1.257, allocations: 68.67 kB / 1.375 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/1.257, allocations: 3.906 kB / 1.375 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003325/1.258, allocations: 54.69 kB / 1.375 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.31e-05/1.258, allocations: 21.97 kB / 1.375 GB, free: 29.55 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.000162/1.258, allocations: 130.5 kB / 1.375 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002324/1.26, allocations: 0.5253 MB / 1.375 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.678e-05/1.26, allocations: 27.22 kB / 1.375 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005618/1.261, allocations: 332.3 kB / 1.376 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/1.261, allocations: 7.656 kB / 1.376 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/1.261, allocations: 3.906 kB / 1.376 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/1.261, allocations: 6.906 kB / 1.376 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003854/1.261, allocations: 297.6 kB / 1.376 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/1.261, allocations: 3.188 kB / 1.376 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002897/1.261, allocations: 73.77 kB / 1.376 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-05/1.262, allocations: 7.75 kB / 1.376 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.831e-05/1.262, allocations: 18.12 kB / 1.376 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/1.262, allocations: 3.812 kB / 1.376 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/1.262, allocations: 3.875 kB / 1.376 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002613/1.264, allocations: 0.8093 MB / 1.377 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000251/1.264, allocations: 160.1 kB / 1.377 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.853e-05/1.265, allocations: 3.875 kB / 1.377 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002848/1.265, allocations: 35.28 kB / 1.377 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/1.265, allocations: 49.95 kB / 1.377 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.104e-05/1.265, allocations: 33.42 kB / 1.377 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000106/1.265, allocations: 122 kB / 1.377 GB, free: 28.51 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2e-07/1.265, allocations: 7.875 kB / 1.377 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008532/1.266, allocations: 209.6 kB / 1.378 GB, free: 28.45 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.003603/1.27, allocations: 2.319 MB / 1.38 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001815/1.271, allocations: 2.988 MB / 1.383 GB, free: 24.05 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/1.271, allocations: 4.031 kB / 1.383 GB, free: 24.04 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002301/1.272, allocations: 164.9 kB / 1.383 GB, free: 24.03 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/1.272, allocations: 10.62 kB / 1.383 GB, free: 24.02 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/1.273, allocations: 0.528 MB / 1.383 GB, free: 23.72 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/1.273, allocations: 0.7696 MB / 1.384 GB, free: 23.02 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002248/1.274, allocations: 53.92 kB / 1.384 GB, free: 23 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/1.274, allocations: 92.05 kB / 1.384 GB, free: 23 MB / 0.8386 GB Notification: Performance of SimCode: time 1.012e-06/1.274, allocations: 3.938 kB / 1.384 GB, free: 22.99 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02677/1.301, allocations: 6.842 MB / 1.391 GB, free: 20.72 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/1.301, allocations: 184.8 kB / 1.391 GB, free: 20.52 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.104/3.405, allocations: 3.938 kB / 1.391 GB, free: 20.52 MB / 0.8386 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime_fmu --startTime=43200 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime_res.mat does not exist to compare? outputFormat=mat