Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.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.SunRiseSet,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",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: 99.47 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.00112/0.00112, 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.494/2.494, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.834/4.834, allocations: 409.2 MB / 0.6838 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006129/0.0006131, allocations: 8 kB / 0.8375 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.43/1.431, allocations: 146.8 MB / 0.9809 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001791/1.433, allocations: 0.576 MB / 0.9814 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006008/1.439, allocations: 2.383 MB / 0.9838 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001925/1.439, allocations: 0 / 0.9838 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.643e-05/1.439, allocations: 7.875 kB / 0.9838 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004862/1.44, allocations: 51.89 kB / 0.9838 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00226/1.442, allocations: 410.9 kB / 0.9842 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005946/1.443, allocations: 183.7 kB / 0.9844 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/1.443, allocations: 21.66 kB / 0.9844 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005214/1.444, allocations: 139.6 kB / 0.9845 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000461/1.444, allocations: 143.5 kB / 0.9847 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001082/1.444, allocations: 16 kB / 0.9847 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001275/1.445, allocations: 287.7 kB / 0.985 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001366/1.446, allocations: 59.8 kB / 0.985 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001592/1.446, allocations: 57.64 kB / 0.9851 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001192/1.447, allocations: 409.3 kB / 0.9855 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/1.447, allocations: 0 / 0.9855 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.088e-06/1.447, allocations: 0 / 0.9855 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.951e-05/1.447, allocations: 0 / 0.9855 GB, free: 1.598 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.002763/1.45, allocations: 0.6254 MB / 0.9861 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.499e-05/1.45, allocations: 8.031 kB / 0.9861 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001383/1.45, allocations: 50.55 kB / 0.9861 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/1.45, allocations: 19.75 kB / 0.9862 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/1.451, allocations: 195.5 kB / 0.9863 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002818/1.451, allocations: 130.8 kB / 0.9865 GB, free: 460 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-05/1.451, allocations: 16 kB / 0.9865 GB, free: 444 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006772/1.452, allocations: 243.6 kB / 0.9867 GB, free: 156 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/1.452, allocations: 4 kB / 0.9867 GB, free: 152 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.498e-05/1.452, allocations: 7.938 kB / 0.9867 GB, free: 144 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/1.452, allocations: 4 kB / 0.9867 GB, free: 140 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004569/1.452, allocations: 115.7 kB / 0.9868 GB, free: 24 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009817/1.453, allocations: 403 kB / 0.9872 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002803/1.456, allocations: 499.5 kB / 0.9877 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 8.689e-05/1.456, allocations: 16.05 kB / 0.9877 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009491/1.457, allocations: 311.5 kB / 0.988 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=40): time 6.573e-06/1.457, allocations: 0 / 0.988 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of matching and sorting (n=40): time 0.00177/1.459, allocations: 405 kB / 0.9884 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003095/1.459, allocations: 358.6 kB / 0.9887 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003171/1.46, allocations: 164 kB / 0.9889 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001128/1.46, allocations: 41.7 kB / 0.9889 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/1.46, allocations: 93.14 kB / 0.989 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002004/1.46, allocations: 118.4 kB / 0.9891 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/1.46, allocations: 8 kB / 0.9891 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002103/1.46, allocations: 330.8 kB / 0.9895 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000549/1.461, allocations: 121 kB / 0.9896 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005271/1.462, allocations: 161 kB / 0.9897 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005271/1.462, allocations: 119.1 kB / 0.9898 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/1.462, allocations: 0 / 0.9898 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001503/1.464, allocations: 380.1 kB / 0.9902 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.016e-05/1.464, allocations: 9.562 kB / 0.9902 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/1.464, allocations: 7.891 kB / 0.9902 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.798e-05/1.464, allocations: 4 kB / 0.9902 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007797/1.465, allocations: 75.88 kB / 0.9903 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-05/1.465, allocations: 4 kB / 0.9903 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006275/1.465, allocations: 59.66 kB / 0.9904 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.436e-05/1.465, allocations: 19.98 kB / 0.9904 GB, free: 12.03 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.0004276/1.466, allocations: 153 kB / 0.9905 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/1.466, allocations: 27.7 kB / 0.9905 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001535/1.467, allocations: 370 kB / 0.9909 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.987e-05/1.468, allocations: 11.95 kB / 0.9909 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.086e-05/1.468, allocations: 4 kB / 0.9909 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.007e-05/1.468, allocations: 4 kB / 0.9909 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008514/1.468, allocations: 345.1 kB / 0.9912 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.587e-05/1.469, allocations: 4 kB / 0.9913 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006275/1.469, allocations: 67.91 kB / 0.9913 GB, free: 11 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.423e-05/1.469, allocations: 12 kB / 0.9913 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.651e-05/1.469, allocations: 19.98 kB / 0.9913 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.158e-05/1.469, allocations: 11.92 kB / 0.9914 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.234e-05/1.469, allocations: 7.953 kB / 0.9914 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/1.471, allocations: 0.618 MB / 0.992 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003692/1.471, allocations: 152.5 kB / 0.9921 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/1.472, allocations: 19.98 kB / 0.9921 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006136/1.472, allocations: 43.97 kB / 0.9922 GB, free: 9.977 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/1.472, allocations: 51.83 kB / 0.9922 GB, free: 9.926 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.963e-05/1.472, allocations: 20 kB / 0.9922 GB, free: 9.906 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002017/1.473, allocations: 131.8 kB / 0.9924 GB, free: 9.777 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.71e-07/1.473, allocations: 0 / 0.9924 GB, free: 9.777 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001312/1.474, allocations: 215.7 kB / 0.9926 GB, free: 9.566 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.003709/1.478, allocations: 2.136 MB / 0.9947 GB, free: 7.328 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001553/1.479, allocations: 323.6 kB / 0.995 GB, free: 7.012 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.378e-05/1.479, allocations: 4 kB / 0.995 GB, free: 7.008 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006103/1.48, allocations: 184.1 kB / 0.9952 GB, free: 6.828 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004499/1.48, allocations: 28.11 kB / 0.9952 GB, free: 6.801 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003764/1.484, allocations: 1.427 MB / 0.9966 GB, free: 5.281 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005724/1.485, allocations: 0.773 MB / 0.9973 GB, free: 4.484 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005595/1.485, allocations: 50.95 kB / 0.9974 GB, free: 4.438 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003567/1.486, allocations: 95.39 kB / 0.9975 GB, free: 4.344 MB / 0.7481 GB Notification: Performance of SimCode: time 1.884e-06/1.486, allocations: 0 / 0.9975 GB, free: 4.344 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03443/1.52, allocations: 7.275 MB / 1.005 GB, free: 13.23 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003807/1.521, allocations: 193.2 kB / 1.005 GB, free: 12.99 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.228/4.749, allocations: 0 / 1.005 GB, free: 12.99 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet_res.mat does not exist to compare? outputFormat=mat