Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.0008824/0.0008819, allocations: 89.66 kB / 15.36 MB, free: 0.7383 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.008278/0.008277, allocations: 173.2 kB / 16.26 MB, free: 6.676 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.479/1.479, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.946/2.946, allocations: 473.4 MB / 0.7469 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004199/0.0004199, allocations: 7.75 kB / 0.9158 GB, free: 33.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4032, allocations: 162.2 MB / 1.074 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.001457/0.4048, allocations: 0.6085 MB / 1.075 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004413/0.4092, allocations: 2.506 MB / 1.077 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.4e-05/0.4093, allocations: 0 / 1.077 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.612e-05/0.4093, allocations: 11.86 kB / 1.077 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002976/0.4097, allocations: 39.67 kB / 1.077 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.4111, allocations: 414.9 kB / 1.078 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004283/0.4115, allocations: 311.1 kB / 1.078 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.071e-05/0.4116, allocations: 25.61 kB / 1.078 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002729/0.4119, allocations: 127.6 kB / 1.078 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002839/0.4122, allocations: 151.4 kB / 1.078 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.005e-05/0.4123, allocations: 16 kB / 1.078 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000753/0.413, allocations: 299.8 kB / 1.079 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.483e-05/0.4131, allocations: 59.78 kB / 1.079 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.4133, allocations: 133.2 kB / 1.079 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009415/0.4143, allocations: 0.53 MB / 1.079 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.4143, allocations: 0 / 1.079 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4143, allocations: 0 / 1.079 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.4143, allocations: 4 kB / 1.079 GB, free: 2.273 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.001762/0.4161, allocations: 0.6256 MB / 1.08 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.125e-05/0.4162, allocations: 12.03 kB / 1.08 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.4163, allocations: 20.75 kB / 1.08 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.4165, allocations: 200.6 kB / 1.08 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002248/0.4167, allocations: 131.4 kB / 1.08 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.778e-05/0.4168, allocations: 20.36 kB / 1.08 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005138/0.4173, allocations: 248.4 kB / 1.08 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.4174, allocations: 0 / 1.08 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.89e-05/0.4174, allocations: 8 kB / 1.08 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.4174, allocations: 7.938 kB / 1.08 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003403/0.4178, allocations: 115.7 kB / 1.081 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006381/0.4184, allocations: 395.2 kB / 1.081 GB, free: 284 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002074/0.4205, allocations: 0.4915 MB / 1.081 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003251/0.4209, allocations: 154.2 kB / 1.082 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.681e-05/0.4209, allocations: 11.94 kB / 1.082 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007009/0.4216, allocations: 323.4 kB / 1.082 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=40): time 2.575e-06/0.4217, allocations: 0 / 1.082 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40): time 0.001214/0.4229, allocations: 408.9 kB / 1.082 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002067/0.4231, allocations: 354.1 kB / 1.083 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/0.4233, allocations: 159.9 kB / 1.083 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.343e-05/0.4234, allocations: 45.69 kB / 1.083 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.012e-05/0.4235, allocations: 97.05 kB / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.4237, allocations: 110.5 kB / 1.083 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.757e-05/0.4238, allocations: 49.69 kB / 1.083 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.4239, allocations: 330.8 kB / 1.083 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004088/0.4244, allocations: 113.1 kB / 1.083 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004584/0.4248, allocations: 176.9 kB / 1.084 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005344/0.4254, allocations: 263.2 kB / 1.084 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4254, allocations: 0 / 1.084 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007972/0.4262, allocations: 381 kB / 1.084 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.4262, allocations: 4 kB / 1.084 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.423e-06/0.4262, allocations: 7.938 kB / 1.084 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.4263, allocations: 8 kB / 1.084 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005861/0.4268, allocations: 75.88 kB / 1.084 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.4269, allocations: 7.938 kB / 1.084 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003264/0.4272, allocations: 55.66 kB / 1.084 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-05/0.4273, 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.0001761/0.4274, allocations: 166.5 kB / 1.085 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.208e-05/0.4275, allocations: 27.66 kB / 1.085 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006985/0.4282, allocations: 358.1 kB / 1.085 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.4282, allocations: 8 kB / 1.085 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.4283, allocations: 4 kB / 1.085 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.645e-05/0.4283, allocations: 7.984 kB / 1.085 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004157/0.4287, allocations: 349 kB / 1.085 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.4287, allocations: 7.938 kB / 1.085 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003179/0.429, allocations: 71.89 kB / 1.085 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/0.4291, allocations: 4 kB / 1.085 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.566e-05/0.4291, allocations: 16 kB / 1.085 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.227e-05/0.4291, allocations: 11.92 kB / 1.085 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.4291, allocations: 8 kB / 1.085 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007391/0.4299, allocations: 494.1 kB / 1.086 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001991/0.4301, allocations: 156.5 kB / 1.086 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.502e-05/0.4302, allocations: 20 kB / 1.086 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002739/0.4304, allocations: 39.97 kB / 1.086 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.4306, allocations: 55.81 kB / 1.086 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.538e-05/0.4306, allocations: 23.98 kB / 1.086 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000101/0.4307, allocations: 123.2 kB / 1.086 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.51e-07/0.4307, allocations: 3.938 kB / 1.086 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006689/0.4314, allocations: 211.7 kB / 1.087 GB, free: 10.1 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.0006801/0.4321, allocations: 333.1 kB / 1.087 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000694/0.4328, allocations: 326.4 kB / 1.087 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4328, allocations: 0 / 1.087 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003254/0.4331, allocations: 183.7 kB / 1.087 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.4335, allocations: 35.92 kB / 1.087 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.4346, allocations: 0.6479 MB / 1.088 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004656/0.4351, allocations: 0.7652 MB / 1.089 GB, free: 7.727 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000227/0.4353, allocations: 50.58 kB / 1.089 GB, free: 7.684 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.4354, allocations: 47.34 kB / 1.089 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of SimCode: time 7.01e-07/0.4354, allocations: 4 kB / 1.089 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of Templates: time 0.01117/0.4466, allocations: 5.285 MB / 1.094 GB, free: 2.371 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)