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.224/2.224, allocations: 390.5 MB / 398 MB, free: 10.92 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.00116/0.00116, allocations: 169 kB / 491.2 MB, free: 1.59 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.559/1.559, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.001128/0.001128, allocations: 91.8 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.741e-05/2.755e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2923, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9347/1.227, allocations: 150.1 MB / 1.359 GB, free: 17.27 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001809/1.227, allocations: 67.42 kB / 1.359 GB, free: 17.27 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03105/1.258, allocations: 10.49 MB / 1.369 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.282e-06/1.258, allocations: 0 / 1.369 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.999e-06/1.258, allocations: 3.875 kB / 1.369 GB, free: 32.41 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.001203/1.26, allocations: 0.6277 MB / 1.37 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/1.26, allocations: 7.688 kB / 1.37 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.366e-05/1.26, allocations: 22 kB / 1.37 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.524e-05/1.26, allocations: 187 kB / 1.37 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/1.26, allocations: 11.62 kB / 1.37 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.464e-05/1.26, allocations: 14.66 kB / 1.37 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001963/1.26, allocations: 85.61 kB / 1.37 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/1.26, allocations: 221.7 kB / 1.37 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/1.26, allocations: 0 / 1.37 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/1.26, allocations: 3.875 kB / 1.37 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/1.26, allocations: 7.812 kB / 1.37 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003081/1.261, allocations: 357.2 kB / 1.371 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/1.262, allocations: 470.8 kB / 1.371 GB, free: 31 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/1.262, allocations: 149.3 kB / 1.371 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/1.262, allocations: 11.47 kB / 1.371 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002938/1.262, allocations: 310.5 kB / 1.372 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=40): time 1.974e-06/1.262, allocations: 0 / 1.372 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40): time 0.002267/1.265, allocations: 0.5227 MB / 1.372 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/1.265, allocations: 356.3 kB / 1.373 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/1.265, allocations: 154.9 kB / 1.373 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/1.265, allocations: 32.39 kB / 1.373 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.412e-05/1.265, allocations: 94.84 kB / 1.373 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.683e-05/1.265, allocations: 102.1 kB / 1.373 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.15e-05/1.265, allocations: 3.938 kB / 1.373 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.754e-05/1.265, allocations: 333 kB / 1.373 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/1.265, allocations: 103.4 kB / 1.373 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/1.265, allocations: 142.2 kB / 1.373 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003009/1.268, allocations: 0.505 MB / 1.374 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/1.268, allocations: 3.812 kB / 1.374 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.003383/1.272, allocations: 0.7103 MB / 1.375 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/1.272, allocations: 7.75 kB / 1.375 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/1.272, allocations: 0 / 1.375 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/1.272, allocations: 3.875 kB / 1.375 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003231/1.272, allocations: 69.8 kB / 1.375 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/1.272, allocations: 3.875 kB / 1.375 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003265/1.273, allocations: 48.05 kB / 1.375 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/1.273, allocations: 17.72 kB / 1.375 GB, free: 29.52 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.273, allocations: 126.8 kB / 1.375 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002255/1.275, allocations: 0.5456 MB / 1.375 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/1.275, allocations: 23.25 kB / 1.375 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006052/1.276, allocations: 320.5 kB / 1.376 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.355e-06/1.276, allocations: 11.62 kB / 1.376 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/1.276, allocations: 7.875 kB / 1.376 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/1.276, allocations: 2.906 kB / 1.376 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003044/1.276, allocations: 300.3 kB / 1.376 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/1.276, allocations: 3.875 kB / 1.376 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002757/1.276, allocations: 71.72 kB / 1.376 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/1.276, allocations: 7.688 kB / 1.376 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/1.276, allocations: 14.66 kB / 1.376 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/1.276, allocations: 3.875 kB / 1.376 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.277, allocations: 4 kB / 1.376 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00225/1.279, allocations: 0.823 MB / 1.377 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/1.279, allocations: 154.6 kB / 1.377 GB, free: 28.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.472e-05/1.279, allocations: 10.77 kB / 1.377 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/1.279, allocations: 28.92 kB / 1.377 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.144e-05/1.279, allocations: 56.06 kB / 1.377 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-05/1.279, allocations: 22.14 kB / 1.377 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.515e-05/1.279, allocations: 121.1 kB / 1.377 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8.22e-07/1.279, allocations: 0 / 1.377 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007398/1.28, allocations: 218.3 kB / 1.378 GB, free: 28.41 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.003427/1.284, allocations: 2.318 MB / 1.38 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002133/1.286, allocations: 2.992 MB / 1.383 GB, free: 24 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/1.286, allocations: 3.906 kB / 1.383 GB, free: 24 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002138/1.286, allocations: 165.6 kB / 1.383 GB, free: 23.98 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/1.286, allocations: 11.81 kB / 1.383 GB, free: 23.98 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/1.287, allocations: 0.5262 MB / 1.383 GB, free: 23.68 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/1.288, allocations: 0.7668 MB / 1.384 GB, free: 22.97 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002025/1.288, allocations: 52.89 kB / 1.384 GB, free: 22.96 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/1.288, allocations: 92.23 kB / 1.384 GB, free: 22.95 MB / 0.8386 GB Notification: Performance of SimCode: time 7.91e-07/1.288, allocations: 0 / 1.384 GB, free: 22.95 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02395/1.312, allocations: 6.851 MB / 1.391 GB, free: 20.66 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001423/1.312, allocations: 186.6 kB / 1.391 GB, free: 20.46 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.955/3.267, allocations: 0 / 1.391 GB, free: 20.46 MB / 0.8386 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