Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001517/0.001517, allocations: 191.5 kB / 16.25 MB, free: 6.617 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.576/1.576, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.921/2.921, allocations: 472.6 MB / 0.7448 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 66.06 kB / 0.9115 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.3998, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.003096/0.4029, allocations: 0.9511 MB / 1.069 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003542/0.4065, allocations: 2.471 MB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.4066, allocations: 0 / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.412e-05/0.4067, allocations: 11.86 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002503/0.407, allocations: 51.67 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.4082, allocations: 446.9 kB / 1.072 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003568/0.4086, allocations: 319.1 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.624e-05/0.4086, allocations: 13.95 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002561/0.4089, allocations: 147.6 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002216/0.4091, allocations: 147.5 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.059e-05/0.4092, allocations: 24 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005885/0.4098, allocations: 311.8 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.829e-05/0.4099, allocations: 67.8 kB / 1.073 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.41, allocations: 127.5 kB / 1.073 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008801/0.4109, allocations: 0.5415 MB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4109, allocations: 0 / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.344e-06/0.4109, allocations: 11.94 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.4109, allocations: 0 / 1.073 GB, free: 5.156 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.001531/0.4125, allocations: 0.6528 MB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.4125, allocations: 12.03 kB / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.327e-05/0.4126, allocations: 28.59 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.4128, allocations: 188.8 kB / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001712/0.4129, allocations: 131.4 kB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.848e-05/0.413, allocations: 24.38 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003774/0.4134, allocations: 251.8 kB / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.4134, allocations: 0 / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.4134, allocations: 8 kB / 1.074 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.4135, allocations: 4 kB / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002624/0.4137, allocations: 119.7 kB / 1.075 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004679/0.4142, allocations: 387.1 kB / 1.075 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/0.4157, allocations: 0.4915 MB / 1.075 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/0.416, allocations: 162.3 kB / 1.076 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.891e-05/0.416, allocations: 11.92 kB / 1.076 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004919/0.4165, allocations: 315.5 kB / 1.076 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=40): time 3.176e-06/0.4165, allocations: 4 kB / 1.076 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40): time 0.0008635/0.4174, allocations: 405 kB / 1.076 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001661/0.4176, allocations: 354.1 kB / 1.077 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.4178, allocations: 159.8 kB / 1.077 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.476e-05/0.4178, allocations: 49.7 kB / 1.077 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.408e-05/0.4179, allocations: 101.1 kB / 1.077 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.99e-05/0.418, allocations: 106.5 kB / 1.077 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.4182, allocations: 98.22 kB / 1.077 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.4183, allocations: 330.8 kB / 1.077 GB, free: 276 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002997/0.4186, allocations: 113.1 kB / 1.078 GB, free: 164 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003343/0.419, allocations: 176.9 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005892/0.4196, allocations: 262.4 kB / 1.078 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.4196, allocations: 1 kB / 1.078 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008017/0.4204, allocations: 388.3 kB / 1.078 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.4204, allocations: 4 kB / 1.078 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.4204, allocations: 8 kB / 1.078 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.4205, allocations: 0 / 1.078 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004082/0.4209, allocations: 75.88 kB / 1.078 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.4209, allocations: 4 kB / 1.078 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003213/0.4212, allocations: 47.66 kB / 1.078 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.935e-05/0.4213, allocations: 23.92 kB / 1.078 GB, free: 15.18 MB / 0.8419 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.0001628/0.4214, allocations: 162.5 kB / 1.079 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.403e-05/0.4215, allocations: 31.66 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007221/0.4222, allocations: 362 kB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.4223, allocations: 15.94 kB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.4223, allocations: 4 kB / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.4223, allocations: 7.984 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004034/0.4227, allocations: 345.1 kB / 1.079 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.4227, allocations: 7.938 kB / 1.079 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003281/0.4231, allocations: 75.89 kB / 1.079 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.4231, allocations: 7.938 kB / 1.079 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.566e-05/0.4231, allocations: 12 kB / 1.079 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.889e-06/0.4231, allocations: 11.92 kB / 1.079 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.4231, allocations: 4 kB / 1.079 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007292/0.4239, allocations: 0.4904 MB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001704/0.4241, allocations: 148.5 kB / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.819e-05/0.4241, allocations: 23.92 kB / 1.08 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/0.4244, allocations: 31.97 kB / 1.08 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.4245, allocations: 51.83 kB / 1.08 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.806e-05/0.4246, allocations: 23.98 kB / 1.08 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001104/0.4247, allocations: 123.2 kB / 1.08 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4247, allocations: 0 / 1.08 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006794/0.4254, allocations: 215.7 kB / 1.081 GB, free: 12.92 MB / 0.8419 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.0006412/0.426, allocations: 313 kB / 1.081 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007433/0.4268, allocations: 359.5 kB / 1.081 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.4268, allocations: 4 kB / 1.081 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003301/0.4271, allocations: 184.1 kB / 1.081 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.4274, allocations: 29.97 kB / 1.081 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.4285, allocations: 0.6473 MB / 1.082 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.4288, allocations: 0.7611 MB / 1.083 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002427/0.4291, allocations: 58.88 kB / 1.083 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.4292, allocations: 51.41 kB / 1.083 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of SimCode: time 2.124e-06/0.4292, allocations: 0 / 1.083 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of Templates: time 0.01015/0.4394, allocations: 5.474 MB / 1.088 GB, free: 4.969 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)