Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",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.002219/0.002219, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001846/0.001846, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.462/2.462, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.497/4.497, allocations: 409.2 MB / 0.6838 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006003/0.0006004, allocations: 8 kB / 0.8375 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.35/1.35, allocations: 146.8 MB / 0.9809 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.001441/1.352, allocations: 0.576 MB / 0.9814 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004613/1.357, allocations: 2.379 MB / 0.9838 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/1.357, allocations: 4 kB / 0.9838 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.988e-05/1.357, allocations: 7.875 kB / 0.9838 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000355/1.357, allocations: 43.89 kB / 0.9838 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001645/1.359, allocations: 422.9 kB / 0.9842 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004531/1.359, allocations: 183.7 kB / 0.9844 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/1.359, allocations: 17.67 kB / 0.9844 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003498/1.36, allocations: 143.6 kB / 0.9845 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003074/1.36, allocations: 143.5 kB / 0.9847 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.996e-05/1.36, allocations: 16 kB / 0.9847 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000968/1.361, allocations: 291.7 kB / 0.985 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.726e-05/1.361, allocations: 55.8 kB / 0.985 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001102/1.361, allocations: 57.64 kB / 0.9851 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0009563/1.362, allocations: 409.3 kB / 0.9855 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.362, allocations: 0 / 0.9855 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.965e-06/1.362, allocations: 0 / 0.9855 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.604e-06/1.362, allocations: 0 / 0.9855 GB, free: 1.562 MB / 0.7325 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.002265/1.365, allocations: 0.6293 MB / 0.9861 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.631e-05/1.365, allocations: 8.031 kB / 0.9861 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.829e-05/1.365, allocations: 46.55 kB / 0.9861 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/1.365, allocations: 19.81 kB / 0.9862 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/1.365, allocations: 195.4 kB / 0.9863 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002373/1.366, allocations: 126.8 kB / 0.9865 GB, free: 428 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.491e-05/1.366, allocations: 20 kB / 0.9865 GB, free: 408 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005809/1.366, allocations: 243.6 kB / 0.9867 GB, free: 120 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/1.366, allocations: 3.938 kB / 0.9867 GB, free: 116 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.469e-05/1.366, allocations: 8 kB / 0.9867 GB, free: 108 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/1.366, allocations: 4 kB / 0.9867 GB, free: 104 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000422/1.367, allocations: 111.8 kB / 0.9868 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007522/1.368, allocations: 407 kB / 0.9872 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002419/1.37, allocations: 495.5 kB / 0.9877 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 5.892e-05/1.37, allocations: 12.06 kB / 0.9877 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007205/1.371, allocations: 315.5 kB / 0.988 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=40): time 3.226e-06/1.371, allocations: 0 / 0.988 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of matching and sorting (n=40): time 0.001266/1.372, allocations: 405.9 kB / 0.9884 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002283/1.372, allocations: 358 kB / 0.9887 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/1.373, allocations: 163.3 kB / 0.9889 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.138e-05/1.373, allocations: 41.69 kB / 0.9889 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 9.969e-05/1.373, allocations: 93.64 kB / 0.989 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001582/1.373, allocations: 110.5 kB / 0.9891 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/1.373, allocations: 12 kB / 0.9891 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002248/1.373, allocations: 334.8 kB / 0.9895 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004198/1.374, allocations: 117 kB / 0.9896 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004464/1.374, allocations: 157 kB / 0.9897 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004541/1.375, allocations: 126.7 kB / 0.9898 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.398e-05/1.375, allocations: 0 / 0.9898 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00107/1.376, allocations: 380 kB / 0.9902 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/1.376, allocations: 5.094 kB / 0.9902 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/1.376, allocations: 3.953 kB / 0.9902 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.748e-05/1.376, allocations: 7.938 kB / 0.9902 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005659/1.376, allocations: 75.88 kB / 0.9903 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.712e-05/1.376, allocations: 0 / 0.9903 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004501/1.377, allocations: 67.59 kB / 0.9904 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.103e-05/1.377, allocations: 19.98 kB / 0.9904 GB, free: 12 MB / 0.7481 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 ($whenCondition8,$whenCondition7,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,$PRE.sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002884/1.377, allocations: 155.1 kB / 0.9905 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-05/1.377, allocations: 23.72 kB / 0.9906 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/1.378, allocations: 362 kB / 0.9909 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.131e-05/1.378, allocations: 15.94 kB / 0.9909 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/1.379, allocations: 4 kB / 0.9909 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/1.379, allocations: 4 kB / 0.9909 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006238/1.379, allocations: 353.1 kB / 0.9913 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/1.379, allocations: 4 kB / 0.9913 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004376/1.38, allocations: 71.91 kB / 0.9913 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.13e-05/1.38, allocations: 4 kB / 0.9913 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.839e-05/1.38, allocations: 19.98 kB / 0.9914 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.114e-05/1.38, allocations: 7.938 kB / 0.9914 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/1.38, allocations: 7.953 kB / 0.9914 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/1.381, allocations: 0.6338 MB / 0.992 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000279/1.381, allocations: 144.5 kB / 0.9921 GB, free: 10 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.202e-05/1.381, allocations: 15.98 kB / 0.9921 GB, free: 9.988 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003826/1.382, allocations: 39.97 kB / 0.9922 GB, free: 9.949 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/1.382, allocations: 55.83 kB / 0.9922 GB, free: 9.895 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-05/1.382, allocations: 20 kB / 0.9922 GB, free: 9.875 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001539/1.382, allocations: 135.2 kB / 0.9924 GB, free: 9.742 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.91e-07/1.382, allocations: 0 / 0.9924 GB, free: 9.742 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001054/1.383, allocations: 215.7 kB / 0.9926 GB, free: 9.531 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002733/1.386, allocations: 2.125 MB / 0.9947 GB, free: 7.305 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009917/1.387, allocations: 325.1 kB / 0.995 GB, free: 6.988 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/1.387, allocations: 4 kB / 0.995 GB, free: 6.984 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004552/1.388, allocations: 184.1 kB / 0.9951 GB, free: 6.805 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/1.388, allocations: 16.19 kB / 0.9952 GB, free: 6.789 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002575/1.39, allocations: 1.433 MB / 0.9966 GB, free: 5.262 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005001/1.391, allocations: 0.7613 MB / 0.9973 GB, free: 4.477 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002917/1.391, allocations: 63 kB / 0.9974 GB, free: 4.422 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002639/1.392, allocations: 91.39 kB / 0.9975 GB, free: 4.332 MB / 0.7481 GB Notification: Performance of SimCode: time 8.82e-07/1.392, allocations: 0 / 0.9975 GB, free: 4.332 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03739/1.429, allocations: 7.318 MB / 1.005 GB, free: 13.21 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003347/1.429, allocations: 214.9 kB / 1.005 GB, free: 12.96 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.183/4.612, allocations: 0 / 1.005 GB, free: 12.96 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime_fmu --startTime=-43200 --stopTime=259200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime_res.mat does not exist to compare? outputFormat=mat