Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_10_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006493/0.006493, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001721/0.001721, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.463/2.463, allocations: 437.1 MB / 0.7106 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 60.14 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2572, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.001858/0.259, allocations: 0.9001 MB / 1.167 GB, free: 6.387 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002809/0.2619, allocations: 2.482 MB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.81e-05/0.2619, allocations: 0 / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.667e-05/0.262, allocations: 11.81 kB / 1.17 GB, free: 3.871 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001902/0.2622, allocations: 59.55 kB / 1.17 GB, free: 3.812 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000924/0.2631, allocations: 0.4947 MB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003191/0.2635, allocations: 319 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.779e-05/0.2635, allocations: 13.67 kB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.2637, allocations: 143.6 kB / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.2639, allocations: 151.5 kB / 1.171 GB, free: 2.699 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.294e-05/0.264, allocations: 24 kB / 1.171 GB, free: 2.676 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005907/0.2646, allocations: 375.7 kB / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.943e-05/0.2646, allocations: 63.8 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.2648, allocations: 123.5 kB / 1.171 GB, free: 2.125 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000657/0.2654, allocations: 0.5412 MB / 1.172 GB, free: 1.582 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.2655, allocations: 0 / 1.172 GB, free: 1.582 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2655, allocations: 3.938 kB / 1.172 GB, free: 1.578 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.2655, allocations: 0 / 1.172 GB, free: 1.578 MB / 0.92 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.001284/0.2668, allocations: 0.6714 MB / 1.172 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.2668, allocations: 8.031 kB / 1.172 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.335e-05/0.2669, allocations: 46.73 kB / 1.172 GB, free: 0.793 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.823e-05/0.2669, allocations: 32.72 kB / 1.172 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.2671, allocations: 197.5 kB / 1.173 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001492/0.2672, allocations: 127.3 kB / 1.173 GB, free: 388 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.751e-05/0.2673, allocations: 20.38 kB / 1.173 GB, free: 368 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003372/0.2676, allocations: 243.6 kB / 1.173 GB, free: 80 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.2676, allocations: 4 kB / 1.173 GB, free: 76 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.2677, allocations: 8 kB / 1.173 GB, free: 68 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.2677, allocations: 4 kB / 1.173 GB, free: 64 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002405/0.2679, allocations: 119.7 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004265/0.2684, allocations: 383.3 kB / 1.174 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/0.2698, allocations: 499.2 kB / 1.174 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/0.27, allocations: 162.2 kB / 1.174 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.27, allocations: 15.92 kB / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004542/0.2705, allocations: 311.6 kB / 1.174 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=40): time 1.693e-06/0.2705, allocations: 0 / 1.174 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of matching and sorting (n=40): time 0.000791/0.2713, allocations: 417 kB / 1.175 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001771/0.2715, allocations: 354.1 kB / 1.175 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.2716, allocations: 172.2 kB / 1.175 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.081e-05/0.2717, allocations: 37.7 kB / 1.175 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.129e-05/0.2718, allocations: 97.62 kB / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.865e-05/0.2719, allocations: 119.1 kB / 1.176 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.272, allocations: 94.22 kB / 1.176 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.2722, allocations: 342.8 kB / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002681/0.2724, allocations: 113.1 kB / 1.176 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000309/0.2727, allocations: 169 kB / 1.176 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000543/0.2733, allocations: 267.1 kB / 1.177 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.2733, allocations: 0 / 1.177 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007443/0.2741, allocations: 385.2 kB / 1.177 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.2741, allocations: 4 kB / 1.177 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2741, allocations: 0 / 1.177 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.2741, allocations: 4 kB / 1.177 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003771/0.2745, allocations: 87.81 kB / 1.177 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.2745, allocations: 0 / 1.177 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/0.2748, allocations: 55.7 kB / 1.177 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.494e-05/0.2748, allocations: 15.98 kB / 1.177 GB, free: 11.51 MB / 0.9356 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.0001498/0.275, allocations: 154.7 kB / 1.177 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.807e-05/0.275, allocations: 32.53 kB / 1.177 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006496/0.2757, allocations: 366.2 kB / 1.178 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.2757, allocations: 8 kB / 1.178 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.2757, allocations: 4 kB / 1.178 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.2757, allocations: 7.984 kB / 1.178 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003933/0.2761, allocations: 353.1 kB / 1.178 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.2761, allocations: 4 kB / 1.178 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002822/0.2764, allocations: 71.84 kB / 1.178 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.2764, allocations: 11.94 kB / 1.178 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.323e-05/0.2765, allocations: 23.98 kB / 1.178 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.2765, allocations: 4 kB / 1.178 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.2765, allocations: 4 kB / 1.178 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007253/0.2772, allocations: 0.494 MB / 1.179 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/0.2774, allocations: 144.8 kB / 1.179 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.021e-05/0.2775, allocations: 19.92 kB / 1.179 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/0.2777, allocations: 27.98 kB / 1.179 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.2778, allocations: 59.81 kB / 1.179 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.43e-05/0.2778, allocations: 23.98 kB / 1.179 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001031/0.2779, allocations: 131.8 kB / 1.179 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.278, allocations: 0 / 1.179 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004999/0.2785, allocations: 215.2 kB / 1.179 GB, free: 9.242 MB / 0.9356 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.001379/0.2798, allocations: 1.255 MB / 1.18 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006305/0.2805, allocations: 335.1 kB / 1.181 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2805, allocations: 0 / 1.181 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003017/0.2808, allocations: 183.7 kB / 1.181 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.2811, allocations: 40.39 kB / 1.181 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003487/0.2846, allocations: 2.754 MB / 1.184 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.2849, allocations: 0.7688 MB / 1.184 GB, free: 3.668 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000207/0.2851, allocations: 54.45 kB / 1.184 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002329/0.2854, allocations: 99.39 kB / 1.185 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of SimCode: time 3.51e-07/0.2854, allocations: 3.938 kB / 1.185 GB, free: 3.516 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.201/3.486, allocations: 7.889 MB / 1.192 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/16.56, allocations: 18.2 kB / 1.192 GB, free: 11.77 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime_fmu --startTime=-43200 --stopTime=259200 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)