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.263/2.263, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001314/0.001314, allocations: 182.9 kB / 498.1 MB, free: 5.762 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.493/1.493, allocations: 223.1 MB / 0.7948 GB, free: 18.02 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.0009149/0.000915, allocations: 104.3 kB / 0.9346 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.000385, allocations: 11.19 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.264, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1703/0.4344, allocations: 150 MB / 1.369 GB, free: 12.08 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/0.4347, allocations: 71.95 kB / 1.37 GB, free: 12.01 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03423/0.4689, allocations: 10.56 MB / 1.38 GB, free: 1.434 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.374e-06/0.469, allocations: 0 / 1.38 GB, free: 1.434 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.469, allocations: 4 kB / 1.38 GB, free: 1.43 MB / 0.8698 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.001324/0.4703, allocations: 0.6374 MB / 1.38 GB, free: 0.7461 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.4704, allocations: 8.031 kB / 1.38 GB, free: 0.7383 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.884e-05/0.4705, allocations: 54.48 kB / 1.381 GB, free: 0.6758 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.676e-05/0.4705, allocations: 15.81 kB / 1.381 GB, free: 0.6602 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.4707, allocations: 202.2 kB / 1.381 GB, free: 432 kB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001651/0.4709, allocations: 122.8 kB / 1.381 GB, free: 284 kB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.634e-05/0.4709, allocations: 23.98 kB / 1.381 GB, free: 260 kB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003737/0.4713, allocations: 231.7 kB / 1.381 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.4713, allocations: 8 kB / 1.381 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.4713, allocations: 7.984 kB / 1.381 GB, free: 15.97 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.4714, allocations: 8 kB / 1.381 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002091/0.4716, allocations: 111.8 kB / 1.381 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000464/0.472, allocations: 406.9 kB / 1.382 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.4735, allocations: 491.6 kB / 1.382 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.304e-05/0.4735, allocations: 24.06 kB / 1.382 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004434/0.474, allocations: 304.9 kB / 1.382 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=40): time 1.784e-06/0.474, allocations: 0 / 1.382 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of matching and sorting (n=40): time 0.0008057/0.4748, allocations: 409.5 kB / 1.383 GB, free: 14 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001831/0.475, allocations: 350.6 kB / 1.383 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.4751, allocations: 150.4 kB / 1.383 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.055e-05/0.4752, allocations: 45.69 kB / 1.383 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.16e-05/0.4753, allocations: 93.14 kB / 1.383 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.4754, allocations: 114.4 kB / 1.383 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.198e-05/0.4754, allocations: 8 kB / 1.384 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.4756, allocations: 338.8 kB / 1.384 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002752/0.4759, allocations: 117 kB / 1.384 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/0.4761, allocations: 161 kB / 1.384 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/0.4764, allocations: 123.5 kB / 1.384 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4764, allocations: 0 / 1.384 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007061/0.4772, allocations: 369.4 kB / 1.385 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.4772, allocations: 8 kB / 1.385 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.4772, allocations: 0 / 1.385 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.4772, allocations: 11.98 kB / 1.385 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004012/0.4776, allocations: 75.88 kB / 1.385 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.4776, allocations: 4 kB / 1.385 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000297/0.4779, allocations: 59.56 kB / 1.385 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.491e-05/0.478, allocations: 16.98 kB / 1.385 GB, free: 11.88 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.0001604/0.4782, allocations: 161.7 kB / 1.385 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.946e-05/0.4782, allocations: 19.81 kB / 1.385 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006966/0.4789, allocations: 362 kB / 1.385 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.4789, allocations: 15.94 kB / 1.385 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.479, allocations: 7.984 kB / 1.385 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.479, allocations: 4 kB / 1.385 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003825/0.4794, allocations: 357.1 kB / 1.386 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.4794, allocations: 3.938 kB / 1.386 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002925/0.4797, allocations: 71.91 kB / 1.386 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.4797, allocations: 7.938 kB / 1.386 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/0.4797, allocations: 19.98 kB / 1.386 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.754e-06/0.4797, allocations: 11.94 kB / 1.386 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4797, allocations: 0 / 1.386 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007299/0.4805, allocations: 0.6255 MB / 1.386 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.4806, allocations: 140.6 kB / 1.386 GB, free: 9.887 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.24e-05/0.4807, allocations: 19.98 kB / 1.386 GB, free: 9.867 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/0.481, allocations: 31.98 kB / 1.387 GB, free: 9.836 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.587e-05/0.4811, allocations: 51.94 kB / 1.387 GB, free: 9.785 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.301e-05/0.4811, allocations: 28.19 kB / 1.387 GB, free: 9.758 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.725e-05/0.4812, allocations: 135.2 kB / 1.387 GB, free: 9.625 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4812, allocations: 0 / 1.387 GB, free: 9.625 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006715/0.4819, allocations: 219.7 kB / 1.387 GB, free: 9.41 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.001715/0.4836, allocations: 2.132 MB / 1.389 GB, free: 7.172 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000603/0.4842, allocations: 335.4 kB / 1.389 GB, free: 6.848 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4842, allocations: 0 / 1.389 GB, free: 6.848 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002815/0.4845, allocations: 184 kB / 1.39 GB, free: 6.668 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.4847, allocations: 20.19 kB / 1.39 GB, free: 6.645 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.4862, allocations: 1.447 MB / 1.391 GB, free: 5.098 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.4866, allocations: 0.7652 MB / 1.392 GB, free: 4.309 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002317/0.4868, allocations: 54.94 kB / 1.392 GB, free: 4.254 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/0.487, allocations: 95.33 kB / 1.392 GB, free: 4.16 MB / 0.8855 GB Notification: Performance of SimCode: time 2.51e-07/0.487, allocations: 0 / 1.392 GB, free: 4.16 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01853/0.5055, allocations: 6.944 MB / 1.399 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/0.5058, allocations: 212.4 kB / 1.399 GB, free: 13.15 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.954/2.46, allocations: 4 kB / 1.399 GB, free: 13.14 MB / 0.9011 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