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.383/2.383, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001402/0.001402, allocations: 184.4 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.598/1.598, allocations: 221.3 MB / 0.7915 GB, free: 5.457 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.0008631/0.0008631, allocations: 95.61 kB / 0.9317 GB, free: 5.773 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.662e-05/2.672e-05, allocations: 7.984 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2733, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.879/1.152, allocations: 150.8 MB / 1.366 GB, free: 3.293 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/1.153, allocations: 74.17 kB / 1.366 GB, free: 3.254 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03416/1.187, allocations: 10.52 MB / 1.376 GB, free: 10.34 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.343e-06/1.187, allocations: 0 / 1.376 GB, free: 10.34 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.06e-05/1.187, allocations: 4 kB / 1.376 GB, free: 10.33 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.001273/1.188, allocations: 0.6333 MB / 1.377 GB, free: 9.668 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/1.188, allocations: 12.03 kB / 1.377 GB, free: 9.656 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.616e-05/1.188, allocations: 42.42 kB / 1.377 GB, free: 9.609 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.835e-05/1.188, allocations: 22.88 kB / 1.377 GB, free: 9.59 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/1.188, allocations: 191.4 kB / 1.377 GB, free: 9.359 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001604/1.189, allocations: 125 kB / 1.377 GB, free: 9.219 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.375e-05/1.189, allocations: 22.38 kB / 1.377 GB, free: 9.203 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000339/1.189, allocations: 237.4 kB / 1.378 GB, free: 8.965 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/1.189, allocations: 3.938 kB / 1.378 GB, free: 8.961 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/1.189, allocations: 7.188 kB / 1.378 GB, free: 8.957 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/1.189, allocations: 4 kB / 1.378 GB, free: 8.953 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002128/1.189, allocations: 120.6 kB / 1.378 GB, free: 8.859 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004488/1.19, allocations: 397.7 kB / 1.378 GB, free: 8.449 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/1.191, allocations: 498.7 kB / 1.379 GB, free: 7.906 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/1.191, allocations: 148.5 kB / 1.379 GB, free: 7.754 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.263e-05/1.191, allocations: 15.92 kB / 1.379 GB, free: 7.738 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004378/1.192, allocations: 307.9 kB / 1.379 GB, free: 7.434 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=40): time 1.984e-06/1.192, allocations: 4 kB / 1.379 GB, free: 7.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40): time 0.0006561/1.193, allocations: 314.7 kB / 1.379 GB, free: 7.176 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001907/1.193, allocations: 352.8 kB / 1.38 GB, free: 6.754 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/1.193, allocations: 156.6 kB / 1.38 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.686e-05/1.193, allocations: 44.94 kB / 1.38 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.93e-05/1.193, allocations: 90.27 kB / 1.38 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.833e-05/1.193, allocations: 113.6 kB / 1.38 GB, free: 6.391 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.231e-05/1.193, allocations: 14.12 kB / 1.38 GB, free: 6.383 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001474/1.193, allocations: 340.8 kB / 1.38 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/1.194, allocations: 102.4 kB / 1.381 GB, free: 5.984 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/1.194, allocations: 151 kB / 1.381 GB, free: 5.863 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002312/1.194, allocations: 119.6 kB / 1.381 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/1.194, allocations: 0 / 1.381 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006128/1.195, allocations: 352.6 kB / 1.381 GB, free: 5.512 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/1.195, allocations: 9.25 kB / 1.381 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/1.195, allocations: 4 kB / 1.381 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/1.195, allocations: 4 kB / 1.381 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004067/1.195, allocations: 79.56 kB / 1.381 GB, free: 5.422 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/1.195, allocations: 4 kB / 1.381 GB, free: 5.418 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/1.195, allocations: 50.3 kB / 1.381 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-05/1.195, allocations: 23.53 kB / 1.381 GB, free: 5.355 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.0001278/1.196, allocations: 145.2 kB / 1.381 GB, free: 5.219 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.423e-05/1.196, allocations: 23.72 kB / 1.381 GB, free: 5.195 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006804/1.196, allocations: 365.4 kB / 1.382 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/1.196, allocations: 8 kB / 1.382 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/1.196, allocations: 8 kB / 1.382 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/1.196, allocations: 8.172 kB / 1.382 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003805/1.197, allocations: 344.2 kB / 1.382 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/1.197, allocations: 3.984 kB / 1.382 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002809/1.197, allocations: 75.41 kB / 1.382 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/1.197, allocations: 11.98 kB / 1.382 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.339e-05/1.197, allocations: 14.8 kB / 1.382 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/1.197, allocations: 8 kB / 1.382 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.236e-05/1.197, allocations: 4 kB / 1.382 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000783/1.198, allocations: 0.6026 MB / 1.383 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/1.198, allocations: 151.2 kB / 1.383 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.329e-05/1.198, allocations: 22.44 kB / 1.383 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/1.198, allocations: 34.78 kB / 1.383 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/1.199, allocations: 59.58 kB / 1.383 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.659e-05/1.199, allocations: 23.61 kB / 1.383 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001105/1.199, allocations: 121.1 kB / 1.383 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.199, allocations: 0 / 1.383 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007813/1.2, allocations: 224.7 kB / 1.384 GB, free: 3.25 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.001944/1.201, allocations: 2.126 MB / 1.386 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005991/1.202, allocations: 316.5 kB / 1.386 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/1.202, allocations: 4 kB / 1.386 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000285/1.202, allocations: 176 kB / 1.386 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/1.203, allocations: 23.25 kB / 1.386 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/1.204, allocations: 0.5733 MB / 1.387 GB, free: 204 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004346/1.204, allocations: 0.7689 MB / 1.387 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002475/1.205, allocations: 59.3 kB / 1.387 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/1.205, allocations: 93.39 kB / 1.388 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.844e-06/1.205, allocations: 0 / 1.388 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02105/1.226, allocations: 7.148 MB / 1.395 GB, free: 8.336 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/1.226, allocations: 183.7 kB / 1.395 GB, free: 8.113 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.966/3.192, allocations: 7 kB / 1.395 GB, free: 8.109 MB / 0.8542 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