Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.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.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, 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.001645/0.001645, allocations: 193.4 kB / 16.14 MB, free: 6.688 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.449/1.449, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.071/3.071, allocations: 472.6 MB / 0.7447 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 64.97 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4169/0.4182, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002452/0.4207, allocations: 0.9551 MB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003403/0.4241, allocations: 2.537 MB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.799e-05/0.4242, allocations: 3.938 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.175e-05/0.4243, allocations: 3.938 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000229/0.4245, allocations: 43.69 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009812/0.4255, allocations: 418.8 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003069/0.4258, allocations: 307.1 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.323e-05/0.4259, allocations: 9.688 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002183/0.4261, allocations: 131.6 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.4263, allocations: 147.5 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.329e-05/0.4264, allocations: 12 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005673/0.427, allocations: 307.7 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.212e-05/0.4271, allocations: 55.8 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.4272, allocations: 111.5 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007488/0.4279, allocations: 0.5379 MB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.428, allocations: 0 / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.192e-06/0.428, allocations: 0 / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.428, allocations: 0 / 1.073 GB, free: 5.32 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.001699/0.4297, allocations: 0.6646 MB / 1.074 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.4297, allocations: 11.97 kB / 1.074 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.4299, allocations: 24.66 kB / 1.074 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.4301, allocations: 192.7 kB / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001867/0.4303, allocations: 127.4 kB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.051e-05/0.4303, allocations: 24.36 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004162/0.4308, allocations: 244.4 kB / 1.074 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.4308, allocations: 7.984 kB / 1.074 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/0.4308, allocations: 0 / 1.074 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.4308, allocations: 7.984 kB / 1.074 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002526/0.4311, allocations: 119.7 kB / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005301/0.4316, allocations: 399.1 kB / 1.075 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.4332, allocations: 495.3 kB / 1.075 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002443/0.4334, allocations: 154.3 kB / 1.075 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.919e-05/0.4335, allocations: 15.98 kB / 1.075 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000606/0.4341, allocations: 319.4 kB / 1.076 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=40): time 2.104e-06/0.4341, allocations: 0 / 1.076 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40): time 0.000922/0.435, allocations: 407 kB / 1.076 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002345/0.4353, allocations: 358.1 kB / 1.076 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.4355, allocations: 159.3 kB / 1.077 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.837e-05/0.4355, allocations: 45.69 kB / 1.077 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.949e-05/0.4356, allocations: 97.12 kB / 1.077 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/0.4357, allocations: 110.5 kB / 1.077 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.4359, allocations: 98.22 kB / 1.077 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.4361, allocations: 334.8 kB / 1.077 GB, free: 436 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/0.4364, allocations: 113.1 kB / 1.077 GB, free: 324 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003244/0.4367, allocations: 165.1 kB / 1.077 GB, free: 152 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006085/0.4373, allocations: 270.2 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.4373, allocations: 4 kB / 1.078 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007832/0.4381, allocations: 376.4 kB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.4382, allocations: 8 kB / 1.078 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.4382, allocations: 3.984 kB / 1.078 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.4382, allocations: 4 kB / 1.078 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004185/0.4386, allocations: 83.88 kB / 1.078 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.4386, allocations: 4 kB / 1.078 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000287/0.4389, allocations: 51.66 kB / 1.078 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.932e-05/0.439, allocations: 19.98 kB / 1.078 GB, free: 15.33 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.0001597/0.4391, allocations: 149.8 kB / 1.078 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.47e-05/0.4392, allocations: 31.66 kB / 1.078 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007038/0.4399, allocations: 358 kB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.4399, allocations: 8 kB / 1.079 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.44, allocations: 4 kB / 1.079 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.44, allocations: 11.92 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004055/0.4404, allocations: 345.1 kB / 1.079 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.4404, allocations: 7.938 kB / 1.079 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000297/0.4407, allocations: 83.77 kB / 1.079 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.4407, allocations: 8 kB / 1.079 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.525e-05/0.4408, allocations: 16 kB / 1.079 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/0.4408, allocations: 7.984 kB / 1.079 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.4408, allocations: 4 kB / 1.079 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000752/0.4415, allocations: 498.1 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/0.4417, allocations: 152.5 kB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.819e-05/0.4418, allocations: 16 kB / 1.08 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002579/0.4421, allocations: 35.97 kB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.4422, allocations: 52 kB / 1.08 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.381e-05/0.4422, allocations: 20 kB / 1.08 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001141/0.4423, allocations: 131.2 kB / 1.08 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4423, allocations: 4 kB / 1.08 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006904/0.443, allocations: 211.7 kB / 1.08 GB, free: 13.09 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.0006415/0.4437, allocations: 328.9 kB / 1.081 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006847/0.4444, allocations: 330.6 kB / 1.081 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4444, allocations: 0 / 1.081 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003041/0.4447, allocations: 183.7 kB / 1.081 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.445, allocations: 34.98 kB / 1.081 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.446, allocations: 0.6538 MB / 1.082 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.4464, allocations: 0.7575 MB / 1.082 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000239/0.4466, allocations: 58.3 kB / 1.083 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.4468, allocations: 47.34 kB / 1.083 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of SimCode: time 2.7e-07/0.4468, allocations: 4 kB / 1.083 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of Templates: time 0.01039/0.4572, allocations: 5.328 MB / 1.088 GB, free: 5.316 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)