Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.0008727/0.0008729, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.001169/0.001169, allocations: 173.4 kB / 16.27 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.528/1.528, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.925/2.925, allocations: 473.4 MB / 0.7469 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004019/0.0004019, allocations: 10.33 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.4023, allocations: 162.2 MB / 1.074 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001172/0.4035, allocations: 0.6046 MB / 1.075 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003201/0.4067, allocations: 2.506 MB / 1.077 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.098e-05/0.4068, allocations: 8 kB / 1.077 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.979e-05/0.4068, allocations: 11.81 kB / 1.077 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002359/0.4071, allocations: 39.69 kB / 1.077 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008806/0.4079, allocations: 418.9 kB / 1.078 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003093/0.4083, allocations: 303.1 kB / 1.078 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.033e-05/0.4084, allocations: 13.67 kB / 1.078 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002078/0.4086, allocations: 131.6 kB / 1.078 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.4088, allocations: 151.4 kB / 1.078 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.816e-05/0.4088, allocations: 12 kB / 1.078 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000476/0.4093, allocations: 299.8 kB / 1.079 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.298e-05/0.4094, allocations: 63.78 kB / 1.079 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.4095, allocations: 129.2 kB / 1.079 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006537/0.4102, allocations: 0.5417 MB / 1.079 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.4102, allocations: 0 / 1.079 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.234e-06/0.4102, allocations: 0 / 1.079 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.4102, allocations: 0 / 1.079 GB, free: 2.281 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.00131/0.4115, allocations: 0.6256 MB / 1.08 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.4116, allocations: 12.03 kB / 1.08 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.096e-05/0.4117, allocations: 16.75 kB / 1.08 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.4118, allocations: 204.6 kB / 1.08 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001653/0.412, allocations: 127.4 kB / 1.08 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.031e-05/0.412, allocations: 16.38 kB / 1.08 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003462/0.4124, allocations: 252.3 kB / 1.08 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.4124, allocations: 0 / 1.08 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.4125, allocations: 12 kB / 1.08 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.4125, allocations: 4 kB / 1.08 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000215/0.4127, allocations: 115.7 kB / 1.081 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.4131, allocations: 395.2 kB / 1.081 GB, free: 296 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.4146, allocations: 0.4955 MB / 1.081 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002036/0.4148, allocations: 146.3 kB / 1.082 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.767e-05/0.4148, allocations: 19.83 kB / 1.082 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004546/0.4153, allocations: 315.5 kB / 1.082 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=40): time 1.763e-06/0.4153, allocations: 0 / 1.082 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40): time 0.0007765/0.4161, allocations: 421.1 kB / 1.082 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001522/0.4163, allocations: 350.1 kB / 1.083 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.4164, allocations: 163.3 kB / 1.083 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.533e-05/0.4165, allocations: 37.7 kB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.774e-05/0.4165, allocations: 101.5 kB / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.926e-05/0.4166, allocations: 114.5 kB / 1.083 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.826e-05/0.4167, allocations: 53.69 kB / 1.083 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.4168, allocations: 326.8 kB / 1.083 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/0.4171, allocations: 121 kB / 1.083 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002866/0.4174, allocations: 172.9 kB / 1.084 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005249/0.4179, allocations: 261.8 kB / 1.084 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.4179, allocations: 0 / 1.084 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007159/0.4187, allocations: 384.2 kB / 1.084 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.4187, allocations: 4 kB / 1.084 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.4187, allocations: 4 kB / 1.084 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.4187, allocations: 0 / 1.084 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003806/0.4191, allocations: 79.88 kB / 1.084 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.4191, allocations: 8 kB / 1.084 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002842/0.4194, allocations: 59.59 kB / 1.084 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.594e-05/0.4195, allocations: 19.98 kB / 1.084 GB, free: 12.35 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.0001562/0.4196, allocations: 154.5 kB / 1.085 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.299e-05/0.4197, allocations: 31.66 kB / 1.085 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00064/0.4203, allocations: 359 kB / 1.085 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.497e-06/0.4204, allocations: 8 kB / 1.085 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/0.4204, allocations: 8 kB / 1.085 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.4204, allocations: 4 kB / 1.085 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003594/0.4207, allocations: 353 kB / 1.085 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.4208, allocations: 8.062 kB / 1.085 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002715/0.421, allocations: 71.91 kB / 1.085 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/0.4211, allocations: 8 kB / 1.085 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/0.4211, allocations: 19.98 kB / 1.085 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.4211, allocations: 7.938 kB / 1.085 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4211, allocations: 4 kB / 1.085 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006467/0.4218, allocations: 497.9 kB / 1.086 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/0.4219, allocations: 156.5 kB / 1.086 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.951e-05/0.422, allocations: 19.98 kB / 1.086 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.4222, allocations: 27.98 kB / 1.086 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.4223, allocations: 63.75 kB / 1.086 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.182e-05/0.4224, allocations: 23.98 kB / 1.086 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.921e-05/0.4225, allocations: 123.2 kB / 1.086 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4225, allocations: 0 / 1.086 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005647/0.4231, allocations: 211.7 kB / 1.087 GB, free: 10.11 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.0004945/0.4236, allocations: 321 kB / 1.087 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005924/0.4242, allocations: 331.1 kB / 1.087 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4242, allocations: 4 kB / 1.087 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002702/0.4244, allocations: 188.7 kB / 1.087 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.4248, allocations: 39.92 kB / 1.087 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009196/0.4257, allocations: 0.6521 MB / 1.088 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.426, allocations: 0.7612 MB / 1.089 GB, free: 7.73 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002093/0.4262, allocations: 59.06 kB / 1.089 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.4263, allocations: 43.41 kB / 1.089 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.4264, allocations: 0 / 1.089 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of Templates: time 0.009134/0.4355, allocations: 5.255 MB / 1.094 GB, free: 2.387 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)