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.001204/0.001204, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.601/2.601, allocations: 437.1 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002411/0.002411, allocations: 67.89 kB / 0.8694 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7152/0.7176, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002956/0.7206, allocations: 0.8978 MB / 1.018 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003705/0.7244, allocations: 2.478 MB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001894/0.7246, allocations: 0 / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.553e-05/0.7247, allocations: 11.81 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003544/0.7251, allocations: 51.56 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.7266, allocations: 0.4967 MB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004524/0.727, allocations: 322.9 kB / 1.022 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.585e-05/0.7271, allocations: 17.66 kB / 1.022 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003035/0.7274, allocations: 143.6 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002793/0.7277, allocations: 151.5 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.4e-05/0.7278, allocations: 24 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007779/0.7286, allocations: 315.8 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.26e-05/0.7287, allocations: 67.78 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.7288, allocations: 115.5 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.7299, allocations: 0.5416 MB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.7299, allocations: 0 / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.745e-06/0.7299, allocations: 0 / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.73, allocations: 4 kB / 1.023 GB, free: 12.83 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.00158/0.7315, allocations: 0.6645 MB / 1.024 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.7316, allocations: 8.031 kB / 1.024 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.032e-05/0.7317, allocations: 46.73 kB / 1.024 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.556e-05/0.7318, allocations: 20.75 kB / 1.024 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.7319, allocations: 197.9 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001764/0.7321, allocations: 131.4 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.59e-05/0.7322, allocations: 20.38 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003747/0.7326, allocations: 239.7 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.7326, allocations: 3.938 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.7326, allocations: 8 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.7327, allocations: 4 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002481/0.7329, allocations: 107.8 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005083/0.7334, allocations: 407 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/0.735, allocations: 499.3 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.7352, allocations: 158.2 kB / 1.025 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.087e-05/0.7353, allocations: 11.94 kB / 1.025 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005225/0.7358, allocations: 323.5 kB / 1.026 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=40): time 2.985e-06/0.7358, allocations: 3.938 kB / 1.026 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of matching and sorting (n=40): time 0.0008864/0.7367, allocations: 408.9 kB / 1.026 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001532/0.7369, allocations: 354.1 kB / 1.026 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.737, allocations: 174.3 kB / 1.027 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.054e-05/0.7371, allocations: 37.7 kB / 1.027 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.851e-05/0.7371, allocations: 93.14 kB / 1.027 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.7373, allocations: 114.6 kB / 1.027 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.7374, allocations: 94.22 kB / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.7376, allocations: 330.8 kB / 1.027 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002923/0.7379, allocations: 121 kB / 1.027 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003131/0.7382, allocations: 165 kB / 1.027 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005552/0.7388, allocations: 271.9 kB / 1.028 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.7388, allocations: 0 / 1.028 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007755/0.7396, allocations: 385 kB / 1.028 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.7396, allocations: 4 kB / 1.028 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.7396, allocations: 4 kB / 1.028 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.7396, allocations: 4 kB / 1.028 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004234/0.7401, allocations: 75.88 kB / 1.028 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/0.7401, allocations: 4 kB / 1.028 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003251/0.7404, allocations: 51.66 kB / 1.028 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-05/0.7405, allocations: 15.98 kB / 1.028 GB, free: 6.789 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.0001885/0.7407, allocations: 150.4 kB / 1.028 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.781e-05/0.7407, allocations: 31.66 kB / 1.028 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007173/0.7415, allocations: 356.1 kB / 1.029 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.7415, allocations: 20.03 kB / 1.029 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/0.7415, allocations: 4 kB / 1.029 GB, free: 6.227 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.7415, allocations: 3.984 kB / 1.029 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004591/0.742, allocations: 357 kB / 1.029 GB, free: 5.824 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.742, allocations: 0 / 1.029 GB, free: 5.824 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003019/0.7423, allocations: 75.84 kB / 1.029 GB, free: 5.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.109e-05/0.7423, allocations: 4 kB / 1.029 GB, free: 5.746 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.395e-05/0.7424, allocations: 19.98 kB / 1.029 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.728e-06/0.7424, allocations: 8 kB / 1.029 GB, free: 5.719 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.7424, allocations: 3.938 kB / 1.029 GB, free: 5.715 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007454/0.7432, allocations: 0.4939 MB / 1.03 GB, free: 5.164 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001865/0.7434, allocations: 152.5 kB / 1.03 GB, free: 4.996 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.012e-05/0.7434, allocations: 16 kB / 1.03 GB, free: 4.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.7437, allocations: 31.97 kB / 1.03 GB, free: 4.949 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.7438, allocations: 51.88 kB / 1.03 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-05/0.7439, allocations: 23.98 kB / 1.03 GB, free: 4.875 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001224/0.744, allocations: 131.2 kB / 1.03 GB, free: 4.746 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.744, allocations: 0 / 1.03 GB, free: 4.746 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000698/0.7447, allocations: 215.7 kB / 1.03 GB, free: 4.535 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.001657/0.7464, allocations: 1.252 MB / 1.032 GB, free: 3.223 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000715/0.7471, allocations: 353.3 kB / 1.032 GB, free: 2.875 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.7471, allocations: 0 / 1.032 GB, free: 2.875 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.7474, allocations: 187.7 kB / 1.032 GB, free: 2.691 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.7477, allocations: 31.94 kB / 1.032 GB, free: 2.66 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003909/0.7516, allocations: 2.755 MB / 1.035 GB, free: 15.75 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.7519, allocations: 0.765 MB / 1.035 GB, free: 14.95 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002401/0.7522, allocations: 55.69 kB / 1.036 GB, free: 14.91 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001919/0.7524, allocations: 99.39 kB / 1.036 GB, free: 14.81 MB / 0.795 GB Notification: Performance of SimCode: time 4.91e-07/0.7524, allocations: 0 / 1.036 GB, free: 14.81 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02659/0.779, allocations: 7.803 MB / 1.043 GB, free: 7.152 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.976/10.76, allocations: 17.42 kB / 1.043 GB, free: 7.141 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)