Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.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.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.202/2.202, allocations: 390.3 MB / 405.3 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.001063/0.001063, allocations: 167.5 kB / 498.1 MB, free: 5.629 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.534/1.534, allocations: 223.2 MB / 0.7948 GB, free: 18.84 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.0008981/0.0008981, allocations: 97.7 kB / 0.9346 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003406/0.0003406, allocations: 9.781 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2639, allocations: 142.4 MB / 1.223 GB, free: 89.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1889/0.4528, allocations: 150 MB / 1.369 GB, free: 3.289 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.4531, allocations: 71.95 kB / 1.37 GB, free: 3.219 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03444/0.4876, allocations: 10.57 MB / 1.38 GB, free: 8.629 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.163e-06/0.4876, allocations: 0 / 1.38 GB, free: 8.629 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.4876, allocations: 4 kB / 1.38 GB, free: 8.625 MB / 0.8855 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.001287/0.4889, allocations: 0.6412 MB / 1.38 GB, free: 7.938 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.489, allocations: 8.031 kB / 1.38 GB, free: 7.93 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.63e-05/0.4891, allocations: 50.48 kB / 1.381 GB, free: 7.871 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.848e-05/0.4891, allocations: 23.81 kB / 1.381 GB, free: 7.848 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.4893, allocations: 190.3 kB / 1.381 GB, free: 7.621 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001551/0.4895, allocations: 134.8 kB / 1.381 GB, free: 7.465 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.528e-05/0.4895, allocations: 19.94 kB / 1.381 GB, free: 7.445 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/0.4899, allocations: 235.8 kB / 1.381 GB, free: 7.172 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.4899, allocations: 0 / 1.381 GB, free: 7.172 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.4899, allocations: 4 kB / 1.381 GB, free: 7.168 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.4899, allocations: 4 kB / 1.381 GB, free: 7.164 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002166/0.4901, allocations: 115.7 kB / 1.381 GB, free: 7.051 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004703/0.4906, allocations: 399.1 kB / 1.382 GB, free: 6.578 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.4921, allocations: 499.5 kB / 1.382 GB, free: 5.98 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.04e-05/0.4921, allocations: 16.08 kB / 1.382 GB, free: 5.965 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004546/0.4926, allocations: 305 kB / 1.382 GB, free: 5.617 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=40): time 2.023e-06/0.4926, allocations: 0 / 1.382 GB, free: 5.617 MB / 0.8855 GB Notification: Performance of matching and sorting (n=40): time 0.0007901/0.4934, allocations: 405.4 kB / 1.383 GB, free: 5.215 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000185/0.4936, allocations: 354.1 kB / 1.383 GB, free: 4.789 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.4937, allocations: 150.4 kB / 1.383 GB, free: 4.629 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.541e-05/0.4938, allocations: 41.7 kB / 1.383 GB, free: 4.582 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.507e-05/0.4938, allocations: 97.12 kB / 1.383 GB, free: 4.484 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.494, allocations: 106.5 kB / 1.383 GB, free: 4.379 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/0.494, allocations: 15.94 kB / 1.383 GB, free: 4.363 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.4941, allocations: 338.8 kB / 1.384 GB, free: 4.023 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002638/0.4944, allocations: 113.1 kB / 1.384 GB, free: 3.914 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/0.4947, allocations: 165 kB / 1.384 GB, free: 3.742 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/0.495, allocations: 127.8 kB / 1.384 GB, free: 3.617 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.495, allocations: 0 / 1.384 GB, free: 3.617 MB / 0.8855 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007238/0.4957, allocations: 373.2 kB / 1.385 GB, free: 3.25 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.4957, allocations: 4.938 kB / 1.385 GB, free: 3.246 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.4957, allocations: 4.984 kB / 1.385 GB, free: 3.242 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.4958, allocations: 4 kB / 1.385 GB, free: 3.238 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003933/0.4962, allocations: 83.81 kB / 1.385 GB, free: 3.156 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.4962, allocations: 0 / 1.385 GB, free: 3.156 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.4965, allocations: 63.58 kB / 1.385 GB, free: 3.094 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.555e-05/0.4965, allocations: 19.98 kB / 1.385 GB, free: 3.074 MB / 0.8855 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 () * Number of clocked 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.0001535/0.4967, allocations: 149.7 kB / 1.385 GB, free: 2.918 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.141e-05/0.4967, allocations: 24.56 kB / 1.385 GB, free: 2.895 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006709/0.4974, allocations: 369.9 kB / 1.385 GB, free: 2.523 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.4974, allocations: 8 kB / 1.385 GB, free: 2.516 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.4975, allocations: 4 kB / 1.385 GB, free: 2.512 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.4975, allocations: 7.984 kB / 1.385 GB, free: 2.504 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003709/0.4978, allocations: 353.1 kB / 1.386 GB, free: 2.109 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.4979, allocations: 4 kB / 1.386 GB, free: 2.105 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002954/0.4982, allocations: 67.91 kB / 1.386 GB, free: 2.039 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.4982, allocations: 11.94 kB / 1.386 GB, free: 2.027 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.488e-05/0.4982, allocations: 19.98 kB / 1.386 GB, free: 2.008 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.4982, allocations: 4 kB / 1.386 GB, free: 2.004 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/0.4982, allocations: 8 kB / 1.386 GB, free: 1.996 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007497/0.499, allocations: 0.6179 MB / 1.386 GB, free: 1.258 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/0.4992, allocations: 144.6 kB / 1.386 GB, free: 1.098 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.366e-05/0.4992, allocations: 20 kB / 1.386 GB, free: 1.078 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002646/0.4995, allocations: 43.97 kB / 1.387 GB, free: 1.035 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.4996, allocations: 47.88 kB / 1.387 GB, free: 0.9883 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-05/0.4997, allocations: 28.12 kB / 1.387 GB, free: 0.9609 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.284e-05/0.4998, allocations: 123.2 kB / 1.387 GB, free: 0.8398 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4998, allocations: 0 / 1.387 GB, free: 0.8398 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006727/0.5004, allocations: 219.7 kB / 1.387 GB, free: 0.625 MB / 0.8855 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) * Number of clocked states: 0 () * 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.001852/0.5023, allocations: 2.16 MB / 1.389 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0006077/0.5029, allocations: 319.4 kB / 1.389 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5029, allocations: 0 / 1.389 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002892/0.5032, allocations: 195.6 kB / 1.39 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001788/0.5034, allocations: 21.62 kB / 1.39 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.505, allocations: 1.44 MB / 1.391 GB, free: 12.3 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.5054, allocations: 0.7652 MB / 1.392 GB, free: 11.51 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002271/0.5056, allocations: 59.23 kB / 1.392 GB, free: 11.45 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001818/0.5058, allocations: 99.33 kB / 1.392 GB, free: 11.35 MB / 0.9011 GB Notification: Performance of SimCode: time 2.31e-07/0.5058, allocations: 8 kB / 1.392 GB, free: 11.34 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01865/0.5245, allocations: 6.938 MB / 1.399 GB, free: 4.586 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001756/0.5247, allocations: 204.6 kB / 1.399 GB, free: 4.348 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.907/2.432, allocations: 0 / 1.399 GB, free: 4.348 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime_fmu --startTime=-43200 --stopTime=259200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime_res.mat does not exist to compare? outputFormat=mat