Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",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.001189/0.001189, allocations: 107.3 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.001446/0.001446, allocations: 190.3 kB / 16.25 MB, free: 6.152 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.273/1.273, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.441/2.441, allocations: 437 MB / 0.7101 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 63.89 kB / 0.8689 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6149/0.6162, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002187/0.6185, allocations: 0.9702 MB / 1.018 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002918/0.6214, allocations: 2.467 MB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.046e-05/0.6215, allocations: 0 / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.605e-05/0.6216, allocations: 7.875 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002002/0.6218, allocations: 39.75 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.6229, allocations: 457.1 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003482/0.6232, allocations: 318.9 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.838e-05/0.6233, allocations: 21.67 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002427/0.6236, allocations: 139.6 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/0.6238, allocations: 151.5 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.14e-05/0.6239, allocations: 24 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005291/0.6244, allocations: 323.6 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.614e-05/0.6245, allocations: 71.78 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.6246, allocations: 115.5 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007188/0.6253, allocations: 0.5416 MB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.6253, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6253, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.6254, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 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.001342/0.6267, allocations: 0.6645 MB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.6268, allocations: 12.03 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.488e-05/0.6268, allocations: 50.73 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.007e-05/0.6269, allocations: 16.75 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.627, allocations: 201.9 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001575/0.6272, allocations: 131.3 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.775e-05/0.6272, allocations: 16.38 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003372/0.6276, allocations: 239.7 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.6276, allocations: 7.922 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/0.6276, allocations: 8 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.6276, allocations: 4 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002245/0.6279, allocations: 111.8 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000426/0.6283, allocations: 410.9 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.6297, allocations: 491.3 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.6299, allocations: 162.3 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.819e-05/0.6299, allocations: 15.92 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004517/0.6304, allocations: 307.5 kB / 1.025 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=40): time 1.883e-06/0.6304, allocations: 0 / 1.025 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of matching and sorting (n=40): time 0.0007729/0.6312, allocations: 422.1 kB / 1.026 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001495/0.6313, allocations: 362.6 kB / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.6315, allocations: 165.4 kB / 1.026 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.6315, allocations: 37.7 kB / 1.026 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.72e-05/0.6316, allocations: 93.14 kB / 1.026 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.414e-05/0.6317, allocations: 122.4 kB / 1.026 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.6318, allocations: 86.23 kB / 1.026 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.6319, allocations: 342.8 kB / 1.027 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002627/0.6322, allocations: 117 kB / 1.027 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002783/0.6325, allocations: 161 kB / 1.027 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005207/0.633, allocations: 270.7 kB / 1.027 GB, free: 7.566 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.633, allocations: 4 kB / 1.027 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000716/0.6338, allocations: 380.8 kB / 1.028 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.6338, allocations: 7.938 kB / 1.028 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.6338, allocations: 0 / 1.028 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.6338, allocations: 4 kB / 1.028 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003897/0.6342, allocations: 79.88 kB / 1.028 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.6342, allocations: 3.938 kB / 1.028 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/0.6345, allocations: 51.67 kB / 1.028 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.6345, allocations: 19.98 kB / 1.028 GB, free: 7.023 MB / 0.7794 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.0001547/0.6347, allocations: 153.7 kB / 1.028 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.815e-05/0.6348, allocations: 27.66 kB / 1.028 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006506/0.6354, allocations: 354.8 kB / 1.028 GB, free: 6.484 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.6354, allocations: 8 kB / 1.028 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.6355, allocations: 4.125 kB / 1.028 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.6355, allocations: 7.984 kB / 1.028 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003564/0.6358, allocations: 353.1 kB / 1.029 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.6358, allocations: 4 kB / 1.029 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002928/0.6361, allocations: 71.84 kB / 1.029 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.094e-06/0.6362, allocations: 12 kB / 1.029 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/0.6362, allocations: 19.98 kB / 1.029 GB, free: 5.965 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.6362, allocations: 4 kB / 1.029 GB, free: 5.961 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.6362, allocations: 7.938 kB / 1.029 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006933/0.6369, allocations: 497.9 kB / 1.029 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.6371, allocations: 156.5 kB / 1.029 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.173e-05/0.6371, allocations: 16 kB / 1.029 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.6374, allocations: 31.97 kB / 1.029 GB, free: 5.188 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.882e-05/0.6375, allocations: 51.88 kB / 1.029 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.569e-05/0.6375, allocations: 27.98 kB / 1.029 GB, free: 5.109 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.459e-05/0.6376, allocations: 119.2 kB / 1.03 GB, free: 4.992 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6376, allocations: 0 / 1.03 GB, free: 4.992 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005405/0.6382, allocations: 215.7 kB / 1.03 GB, free: 4.781 MB / 0.7794 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.001313/0.6395, allocations: 1.252 MB / 1.031 GB, free: 3.469 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006461/0.6402, allocations: 360.8 kB / 1.031 GB, free: 3.117 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6402, allocations: 0 / 1.031 GB, free: 3.117 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000281/0.6405, allocations: 187.7 kB / 1.032 GB, free: 2.934 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.6407, allocations: 31.94 kB / 1.032 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003475/0.6442, allocations: 2.835 MB / 1.034 GB, free: 15.91 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.6445, allocations: 0.765 MB / 1.035 GB, free: 15.11 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000218/0.6448, allocations: 55.3 kB / 1.035 GB, free: 15.06 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/0.6449, allocations: 103.4 kB / 1.035 GB, free: 14.96 MB / 0.795 GB Notification: Performance of SimCode: time 2.6e-07/0.6449, allocations: 0 / 1.035 GB, free: 14.96 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03263/0.6776, allocations: 7.605 MB / 1.043 GB, free: 7.543 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002256/0.6778, allocations: 227.5 kB / 1.043 GB, free: 7.293 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.877/2.554, allocations: 2.25 kB / 1.043 GB, free: 7.293 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime_fmu --startTime=43200 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)