Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.SunRiseSet,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_11_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.001484/0.001484, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.294/1.294, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.546/2.546, allocations: 469.8 MB / 0.7424 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 72.55 kB / 0.9087 GB, free: 34.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2409, allocations: 159.2 MB / 1.064 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001917/0.2428, allocations: 0.8864 MB / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002855/0.2457, allocations: 2.484 MB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.04e-05/0.2458, allocations: 0 / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.654e-05/0.2458, allocations: 19.8 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.246, allocations: 47.56 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009948/0.247, allocations: 0.4918 MB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003057/0.2473, allocations: 323.1 kB / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.103e-05/0.2474, allocations: 17.61 kB / 1.068 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.2476, allocations: 139.6 kB / 1.068 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001935/0.2478, allocations: 151.5 kB / 1.069 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.617e-05/0.2478, allocations: 24 kB / 1.069 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005207/0.2484, allocations: 315.8 kB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.804e-05/0.2484, allocations: 67.8 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.2486, allocations: 119.5 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006565/0.2492, allocations: 0.5455 MB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.2492, allocations: 0 / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2492, allocations: 0 / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.2492, allocations: 0 / 1.07 GB, free: 8.543 MB / 0.8262 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.001272/0.2505, allocations: 0.6606 MB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.2506, allocations: 8.031 kB / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.922e-05/0.2506, allocations: 46.73 kB / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.198e-05/0.2507, allocations: 24.66 kB / 1.07 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.2508, allocations: 190 kB / 1.07 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/0.251, allocations: 135.3 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.606e-05/0.251, allocations: 16.38 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003526/0.2514, allocations: 248.2 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.2514, allocations: 7.875 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.2514, allocations: 8 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.2514, allocations: 4 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002196/0.2517, allocations: 115.8 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004282/0.2521, allocations: 395.1 kB / 1.071 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.2535, allocations: 495.3 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002191/0.2537, allocations: 162.2 kB / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.2538, allocations: 19.92 kB / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004261/0.2542, allocations: 319.5 kB / 1.072 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=40): time 1.783e-06/0.2542, allocations: 0 / 1.072 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40): time 0.0007818/0.255, allocations: 405.4 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001661/0.2552, allocations: 354.2 kB / 1.073 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.2553, allocations: 172.6 kB / 1.073 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.506e-05/0.2554, allocations: 41.7 kB / 1.073 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.683e-05/0.2555, allocations: 97.12 kB / 1.073 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.809e-05/0.2556, allocations: 114.4 kB / 1.073 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.2557, allocations: 94.22 kB / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.2558, allocations: 334.8 kB / 1.074 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000271/0.2561, allocations: 117.1 kB / 1.074 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002936/0.2564, allocations: 169 kB / 1.074 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005408/0.257, allocations: 267.6 kB / 1.074 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.257, allocations: 0 / 1.074 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007357/0.2577, allocations: 388 kB / 1.075 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.2577, allocations: 4 kB / 1.075 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2577, allocations: 0 / 1.075 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.2578, allocations: 4 kB / 1.075 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003619/0.2581, allocations: 71.88 kB / 1.075 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.2581, allocations: 4 kB / 1.075 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000272/0.2584, allocations: 55.66 kB / 1.075 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.303e-05/0.2585, allocations: 20.98 kB / 1.075 GB, free: 2.5 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.0001419/0.2586, allocations: 154.5 kB / 1.075 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.056e-05/0.2587, allocations: 31.66 kB / 1.075 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006545/0.2593, allocations: 362.1 kB / 1.075 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.2593, allocations: 8 kB / 1.075 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.2594, allocations: 4 kB / 1.075 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.2594, allocations: 3.984 kB / 1.075 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003633/0.2597, allocations: 353 kB / 1.076 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2597, allocations: 0 / 1.076 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002762/0.26, allocations: 83.83 kB / 1.076 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.26, allocations: 7.938 kB / 1.076 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.865e-05/0.2601, allocations: 12 kB / 1.076 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.774e-06/0.2601, allocations: 11.98 kB / 1.076 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.2601, allocations: 3.938 kB / 1.076 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006703/0.2608, allocations: 497.8 kB / 1.076 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.2609, allocations: 148.5 kB / 1.077 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.829e-05/0.261, allocations: 19.98 kB / 1.077 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.2612, allocations: 35.97 kB / 1.077 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.219e-05/0.2613, allocations: 43.89 kB / 1.077 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.11e-05/0.2614, allocations: 28.17 kB / 1.077 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.17e-05/0.2615, allocations: 123.2 kB / 1.077 GB, free: 484 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2615, allocations: 0 / 1.077 GB, free: 484 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004766/0.2619, allocations: 219.7 kB / 1.077 GB, free: 264 kB / 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.001316/0.2633, allocations: 1.245 MB / 1.078 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006366/0.2639, allocations: 361.4 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2639, allocations: 0 / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002863/0.2642, allocations: 188.2 kB / 1.079 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.2645, allocations: 41.92 kB / 1.079 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003433/0.2679, allocations: 2.745 MB / 1.081 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.2682, allocations: 0.7611 MB / 1.082 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001958/0.2684, allocations: 50.89 kB / 1.082 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.2686, allocations: 99.39 kB / 1.082 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.2686, allocations: 0 / 1.082 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.881/1.15, allocations: 7.776 MB / 1.09 GB, free: 2.836 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.92, allocations: 8.578 kB / 1.09 GB, free: 2.832 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)