Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 198.1 kB / 16.14 MB, free: 6.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.531/2.531, allocations: 461.8 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 62.75 kB / 0.8985 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2701, allocations: 157.4 MB / 1.052 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002098/0.2722, allocations: 0.953 MB / 1.053 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003061/0.2753, allocations: 2.529 MB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.2754, allocations: 7.938 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.478e-05/0.2755, allocations: 3.938 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002404/0.2758, allocations: 55.66 kB / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.2768, allocations: 414.9 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003442/0.2772, allocations: 299.1 kB / 1.056 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.311e-05/0.2773, allocations: 21.66 kB / 1.056 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002393/0.2775, allocations: 131.6 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/0.2777, allocations: 143.5 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.413e-05/0.2778, allocations: 12 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005925/0.2784, allocations: 307.7 kB / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.327e-05/0.2785, allocations: 55.8 kB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.2786, allocations: 111.5 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00079/0.2794, allocations: 0.534 MB / 1.058 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2794, allocations: 0 / 1.058 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.52e-07/0.2794, allocations: 0 / 1.058 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.2794, allocations: 0 / 1.058 GB, free: 2.676 MB / 0.8106 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.001431/0.2809, allocations: 0.6607 MB / 1.058 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.2809, allocations: 11.97 kB / 1.058 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.178e-05/0.281, allocations: 50.73 kB / 1.058 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.719e-05/0.2811, allocations: 28.64 kB / 1.058 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.2812, allocations: 197.4 kB / 1.059 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/0.2814, allocations: 131.4 kB / 1.059 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.828e-05/0.2814, allocations: 16.38 kB / 1.059 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003516/0.2818, allocations: 247.7 kB / 1.059 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.2818, allocations: 7.875 kB / 1.059 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.2818, allocations: 8 kB / 1.059 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.2818, allocations: 4 kB / 1.059 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002331/0.2821, allocations: 111.8 kB / 1.059 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004316/0.2825, allocations: 399.1 kB / 1.059 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/0.284, allocations: 495.3 kB / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.2843, allocations: 154.2 kB / 1.06 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.116e-05/0.2843, allocations: 19.91 kB / 1.06 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005779/0.2849, allocations: 311.5 kB / 1.06 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=40): time 3.236e-06/0.2849, allocations: 0 / 1.06 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40): time 0.0008821/0.2858, allocations: 413.7 kB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001723/0.286, allocations: 354.6 kB / 1.061 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.2862, allocations: 171.2 kB / 1.061 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.636e-05/0.2862, allocations: 37.7 kB / 1.061 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.386e-05/0.2863, allocations: 97.12 kB / 1.061 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.2865, allocations: 118.4 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.2866, allocations: 90.22 kB / 1.062 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.2868, allocations: 334.8 kB / 1.062 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000319/0.2871, allocations: 121.1 kB / 1.062 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003358/0.2875, allocations: 165.2 kB / 1.062 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006005/0.2881, allocations: 271.9 kB / 1.062 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.748e-06/0.2881, allocations: 0 / 1.062 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008586/0.289, allocations: 384.9 kB / 1.063 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.289, allocations: 5.094 kB / 1.063 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.289, allocations: 3.938 kB / 1.063 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.289, allocations: 4 kB / 1.063 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003926/0.2894, allocations: 75.88 kB / 1.063 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.2895, allocations: 4 kB / 1.063 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003196/0.2898, allocations: 51.66 kB / 1.063 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.552e-05/0.2898, allocations: 23.98 kB / 1.063 GB, free: 12.62 MB / 0.8262 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 (sunRiseSetSyd.sunUp,sunRiseSetSyd.nextSunSet,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunRise,$whenCondition7,$whenCondition8,sunRiseSetAntarctic.sunUp,sunRiseSetAntarctic.nextSunSet,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunRise,$whenCondition5,$whenCondition6,sunRiseSetSf.sunUp,sunRiseSetSf.nextSunSet,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunRise,$whenCondition3,$whenCondition4,sunRiseSetArctic.sunUp,sunRiseSetArctic.nextSunSet,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunRise,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002105/0.2901, allocations: 154.9 kB / 1.063 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.835e-05/0.2902, allocations: 35.64 kB / 1.063 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007566/0.2909, allocations: 354.1 kB / 1.063 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.2909, allocations: 8 kB / 1.063 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/0.291, allocations: 4 kB / 1.064 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.291, allocations: 3.984 kB / 1.064 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004873/0.2915, allocations: 353 kB / 1.064 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.2915, allocations: 0 / 1.064 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002927/0.2918, allocations: 75.84 kB / 1.064 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/0.2918, allocations: 4 kB / 1.064 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.54e-05/0.2919, allocations: 28.17 kB / 1.064 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-05/0.2919, allocations: 8 kB / 1.064 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.2919, allocations: 11.88 kB / 1.064 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000815/0.2927, allocations: 497.8 kB / 1.064 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001825/0.2929, allocations: 144.6 kB / 1.065 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.417e-05/0.293, allocations: 23.92 kB / 1.065 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002499/0.2932, allocations: 27.98 kB / 1.065 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.2934, allocations: 51.88 kB / 1.065 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.708e-05/0.2934, allocations: 23.98 kB / 1.065 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001034/0.2935, allocations: 127.2 kB / 1.065 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2935, allocations: 0 / 1.065 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006658/0.2942, allocations: 219.7 kB / 1.065 GB, free: 10.37 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001423/0.2956, allocations: 1.246 MB / 1.066 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006155/0.2963, allocations: 331.6 kB / 1.067 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2963, allocations: 0 / 1.067 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000283/0.2966, allocations: 180.6 kB / 1.067 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.2969, allocations: 39.92 kB / 1.067 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003454/0.3003, allocations: 2.847 MB / 1.07 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.3006, allocations: 0.7653 MB / 1.07 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002097/0.3008, allocations: 51.25 kB / 1.07 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/0.301, allocations: 95.39 kB / 1.07 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of SimCode: time 2.9e-07/0.301, allocations: 0 / 1.07 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01751/0.3185, allocations: 7.379 MB / 1.078 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002193/0.3188, allocations: 222.6 kB / 1.078 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/2.155, allocations: 7.938 kB / 1.078 GB, free: 13.05 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)