Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul|weaDat.weaBus.TDewPoi|weaDat.weaBus.HGloHor|weaDat.weaBus.HDifHor|weaDat.weaBus.HDirNor|weaDatInpCon.weaBus.HGloHor|weaDatInpCon.weaBus.HDifHor|weaDatInpCon.weaBus.HDirNor",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul|weaDat.weaBus.TDewPoi|weaDat.weaBus.HGloHor|weaDat.weaBus.HDifHor|weaDat.weaBus.HDirNor|weaDatInpCon.weaBus.HGloHor|weaDatInpCon.weaBus.HDifHor|weaDatInpCon.weaBus.HDirNor",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.453/2.453, allocations: 393.5 MB / 408.4 MB, free: 10.96 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 187.4 kB / 0.4902 GB, free: 2.211 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.667/1.667, allocations: 223.2 MB / 0.7992 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009958/0.0009957, allocations: 86.88 kB / 0.9396 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004851/0.0004853, allocations: 6.969 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3313, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.227/4.558, allocations: 1.731 GB / 2.961 GB, free: 219.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/4.559, allocations: 91.27 kB / 2.961 GB, free: 219.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.2608/4.819, allocations: 91.98 MB / 3.05 GB, free: 141.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.457e-06/4.819, allocations: 0 / 3.05 GB, free: 141.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001658/4.82, allocations: 43.94 kB / 3.051 GB, free: 141.4 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.005012/4.825, allocations: 1.884 MB / 3.052 GB, free: 139.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.844e-05/4.825, allocations: 16.44 kB / 3.052 GB, free: 139.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002762/4.828, allocations: 377.3 kB / 3.053 GB, free: 139.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002661/4.83, allocations: 1.009 MB / 3.054 GB, free: 138.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001482/4.83, allocations: 97.19 kB / 3.054 GB, free: 138.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002665/4.831, allocations: 134 kB / 3.054 GB, free: 138.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003898/4.835, allocations: 1.524 MB / 3.055 GB, free: 137 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.02e-05/4.835, allocations: 3.984 kB / 3.055 GB, free: 137 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002018/4.835, allocations: 62.44 kB / 3.055 GB, free: 137 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.512e-05/4.835, allocations: 32 kB / 3.056 GB, free: 137 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004877/4.84, allocations: 2.057 MB / 3.058 GB, free: 135.3 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01053/4.85, allocations: 4.504 MB / 3.062 GB, free: 131.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003961/4.854, allocations: 1.454 MB / 3.063 GB, free: 129.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001784/4.855, allocations: 61.17 kB / 3.063 GB, free: 129.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002036/4.857, allocations: 0.8009 MB / 3.064 GB, free: 128.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=136): time 4.658e-06/4.857, allocations: 3.938 kB / 3.064 GB, free: 128.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=136): time 0.007347/4.864, allocations: 2.156 MB / 3.066 GB, free: 126.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/4.864, allocations: 458.1 kB / 3.067 GB, free: 126.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/4.866, allocations: 1.07 MB / 3.068 GB, free: 125 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001585/4.866, allocations: 53.7 kB / 3.068 GB, free: 124.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004923/4.867, allocations: 0.6148 MB / 3.068 GB, free: 124.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003216/4.867, allocations: 449.4 kB / 3.069 GB, free: 123.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.139e-05/4.867, allocations: 24 kB / 3.069 GB, free: 123.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.711e-05/4.867, allocations: 353.9 kB / 3.069 GB, free: 123.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/4.868, allocations: 438.4 kB / 3.07 GB, free: 123 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/4.869, allocations: 0.6657 MB / 3.07 GB, free: 122.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/4.87, allocations: 0.5168 MB / 3.071 GB, free: 121.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.842e-06/4.87, allocations: 7.984 kB / 3.071 GB, free: 121.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003481/4.874, allocations: 1.42 MB / 3.072 GB, free: 120.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/4.874, allocations: 16.2 kB / 3.072 GB, free: 120.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/4.874, allocations: 0 / 3.072 GB, free: 120.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001145/4.875, allocations: 165.5 kB / 3.072 GB, free: 120.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/4.876, allocations: 275.6 kB / 3.073 GB, free: 119.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003068/4.879, allocations: 3.087 MB / 3.076 GB, free: 116.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/4.88, allocations: 166.8 kB / 3.076 GB, free: 116.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/4.881, allocations: 55.95 kB / 3.076 GB, free: 116.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 141 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007963/4.881, allocations: 381.7 kB / 3.076 GB, free: 115.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002413/4.882, allocations: 154.2 kB / 3.076 GB, free: 115.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004044/4.886, allocations: 2.018 MB / 3.078 GB, free: 113.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/4.886, allocations: 16 kB / 3.078 GB, free: 113.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/4.886, allocations: 0 / 3.078 GB, free: 113.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/4.886, allocations: 11.97 kB / 3.078 GB, free: 113.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/4.887, allocations: 1.522 MB / 3.08 GB, free: 112.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/4.887, allocations: 4 kB / 3.08 GB, free: 112.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009886/4.888, allocations: 283.6 kB / 3.08 GB, free: 111.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009093/4.889, allocations: 169.5 kB / 3.08 GB, free: 111.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.631e-05/4.889, allocations: 43.97 kB / 3.08 GB, free: 111.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002814/4.892, allocations: 3.146 MB / 3.083 GB, free: 108.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/4.892, allocations: 0 / 3.083 GB, free: 108.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003162/4.895, allocations: 1.653 MB / 3.085 GB, free: 106.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007499/4.896, allocations: 486.4 kB / 3.085 GB, free: 106 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/4.896, allocations: 36.12 kB / 3.085 GB, free: 106 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009645/4.897, allocations: 135.9 kB / 3.086 GB, free: 105.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001921/4.898, allocations: 121.7 kB / 3.086 GB, free: 105.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.677e-05/4.898, allocations: 59.95 kB / 3.086 GB, free: 105.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001022/4.899, allocations: 0.8553 MB / 3.087 GB, free: 104.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 2e-07/4.899, allocations: 0 / 3.087 GB, free: 104.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00146/4.9, allocations: 0.5457 MB / 3.087 GB, free: 104.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001799/4.902, allocations: 1.148 MB / 3.088 GB, free: 103.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002554/4.905, allocations: 1.455 MB / 3.09 GB, free: 101.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/4.905, allocations: 0 / 3.09 GB, free: 101.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001485/4.906, allocations: 0.9575 MB / 3.091 GB, free: 100.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002133/4.908, allocations: 467.9 kB / 3.091 GB, free: 100.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006448/4.915, allocations: 3.78 MB / 3.095 GB, free: 96.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006307/4.915, allocations: 1.321 MB / 3.096 GB, free: 95.25 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001608/4.917, allocations: 0.5074 MB / 3.097 GB, free: 94.74 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000403/4.917, allocations: 179.3 kB / 3.097 GB, free: 94.56 MB / 1.167 GB Notification: Performance of SimCode: time 1.022e-06/4.917, allocations: 0 / 3.097 GB, free: 94.56 MB / 1.167 GB Notification: Performance of Templates: time 0.04505/4.962, allocations: 32.2 MB / 3.128 GB, free: 62.57 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.csv","../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches