Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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.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.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_latest_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.001288/0.001288, allocations: 100.1 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.001598/0.001599, allocations: 177.3 kB / 15.95 MB, free: 216 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.466/2.466, 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.625/4.625, allocations: 409.2 MB / 0.6838 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006821/0.0006824, allocations: 8 kB / 0.8375 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.305/1.305, allocations: 146.8 MB / 0.9809 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.001585/1.307, allocations: 0.576 MB / 0.9814 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004962/1.312, allocations: 2.379 MB / 0.9838 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/1.312, allocations: 3.938 kB / 0.9838 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.15e-05/1.312, allocations: 11.86 kB / 0.9838 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003558/1.313, allocations: 51.89 kB / 0.9838 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001676/1.314, allocations: 414.9 kB / 0.9842 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000437/1.315, allocations: 179.7 kB / 0.9844 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.967e-05/1.315, allocations: 13.69 kB / 0.9844 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003652/1.315, allocations: 143.6 kB / 0.9845 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000317/1.316, allocations: 139.5 kB / 0.9847 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.762e-05/1.316, allocations: 20 kB / 0.9847 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009136/1.317, allocations: 283.7 kB / 0.985 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001103/1.317, allocations: 67.78 kB / 0.985 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001063/1.317, allocations: 57.64 kB / 0.9851 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0009346/1.318, allocations: 401.3 kB / 0.9855 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/1.318, allocations: 0 / 0.9855 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.385e-06/1.318, allocations: 4 kB / 0.9855 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.344e-06/1.318, allocations: 0 / 0.9855 GB, free: 1.531 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.002218/1.32, allocations: 0.6254 MB / 0.9861 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.051e-05/1.32, allocations: 8.031 kB / 0.9861 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001013/1.32, allocations: 50.55 kB / 0.9861 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/1.32, allocations: 23.81 kB / 0.9862 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003101/1.321, allocations: 195.4 kB / 0.9864 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002887/1.321, allocations: 130.8 kB / 0.9865 GB, free: 388 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.643e-05/1.321, allocations: 16 kB / 0.9865 GB, free: 372 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006772/1.322, allocations: 243.7 kB / 0.9867 GB, free: 84 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/1.322, allocations: 3.984 kB / 0.9867 GB, free: 80 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.155e-05/1.322, allocations: 11.98 kB / 0.9867 GB, free: 68 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/1.322, allocations: 4 kB / 0.9867 GB, free: 64 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004267/1.322, allocations: 111.7 kB / 0.9869 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008472/1.323, allocations: 403 kB / 0.9872 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002347/1.326, allocations: 491.5 kB / 0.9877 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-05/1.326, allocations: 8.062 kB / 0.9877 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008405/1.327, allocations: 319.5 kB / 0.988 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=40): time 3.767e-06/1.327, allocations: 0 / 0.988 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of matching and sorting (n=40): time 0.001523/1.328, allocations: 405.9 kB / 0.9884 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002994/1.328, allocations: 358.1 kB / 0.9887 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002916/1.329, allocations: 164 kB / 0.9889 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.02e-05/1.329, allocations: 41.69 kB / 0.9889 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/1.329, allocations: 93.14 kB / 0.989 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/1.329, allocations: 110.8 kB / 0.9891 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/1.329, allocations: 12 kB / 0.9891 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002391/1.329, allocations: 334.8 kB / 0.9895 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004896/1.33, allocations: 113.1 kB / 0.9896 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005501/1.331, allocations: 164.9 kB / 0.9897 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005261/1.331, allocations: 123.1 kB / 0.9898 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/1.331, allocations: 4 kB / 0.9899 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001395/1.332, allocations: 376.9 kB / 0.9902 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/1.333, allocations: 4 kB / 0.9902 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/1.333, allocations: 8.953 kB / 0.9902 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.028e-05/1.333, allocations: 7.938 kB / 0.9902 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007102/1.333, allocations: 75.88 kB / 0.9903 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.879e-05/1.333, allocations: 4 kB / 0.9903 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005699/1.334, allocations: 59.66 kB / 0.9904 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.776e-05/1.334, allocations: 19.98 kB / 0.9904 GB, free: 11.96 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.0003133/1.334, allocations: 155.6 kB / 0.9905 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/1.335, allocations: 27.72 kB / 0.9906 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/1.336, allocations: 358 kB / 0.9909 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-05/1.336, allocations: 15.95 kB / 0.9909 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.776e-05/1.336, allocations: 4 kB / 0.9909 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.857e-05/1.336, allocations: 3.984 kB / 0.9909 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007223/1.337, allocations: 357.1 kB / 0.9913 GB, free: 11 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/1.337, allocations: 0 / 0.9913 GB, free: 11 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005351/1.337, allocations: 71.91 kB / 0.9913 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-05/1.337, allocations: 4 kB / 0.9913 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.916e-05/1.337, allocations: 19.98 kB / 0.9914 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.034e-05/1.337, allocations: 11.94 kB / 0.9914 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.328e-06/1.337, allocations: 3.953 kB / 0.9914 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/1.339, allocations: 0.6221 MB / 0.992 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003074/1.339, allocations: 152.5 kB / 0.9921 GB, free: 9.977 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/1.339, allocations: 23.98 kB / 0.9921 GB, free: 9.953 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000459/1.34, allocations: 31.98 kB / 0.9922 GB, free: 9.922 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001984/1.34, allocations: 63.81 kB / 0.9922 GB, free: 9.859 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.819e-05/1.34, allocations: 20 kB / 0.9923 GB, free: 9.84 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001858/1.34, allocations: 127.2 kB / 0.9924 GB, free: 9.715 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.31e-07/1.34, allocations: 0 / 0.9924 GB, free: 9.715 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001198/1.341, allocations: 219.7 kB / 0.9926 GB, free: 9.5 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.003496/1.345, allocations: 2.134 MB / 0.9947 GB, free: 7.266 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001275/1.346, allocations: 327.6 kB / 0.995 GB, free: 6.945 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.346, allocations: 0 / 0.995 GB, free: 6.945 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005866/1.347, allocations: 183.7 kB / 0.9952 GB, free: 6.766 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/1.347, allocations: 24.19 kB / 0.9952 GB, free: 6.742 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002877/1.35, allocations: 1.423 MB / 0.9966 GB, free: 5.227 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005645/1.351, allocations: 0.7691 MB / 0.9973 GB, free: 4.434 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004322/1.351, allocations: 57.38 kB / 0.9974 GB, free: 4.383 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003038/1.351, allocations: 99.39 kB / 0.9975 GB, free: 4.285 MB / 0.7481 GB Notification: Performance of SimCode: time 9.31e-07/1.351, allocations: 0 / 0.9975 GB, free: 4.285 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03499/1.386, allocations: 7.305 MB / 1.005 GB, free: 13.18 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003382/1.387, allocations: 222.6 kB / 1.005 GB, free: 12.93 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.341/4.728, allocations: 0 / 1.005 GB, free: 12.93 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime_fmu --startTime=43200 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime_res.mat does not exist to compare? outputFormat=mat