Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.515/1.515, allocations: 249.5 MB / 257 MB, free: 6.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 180.8 kB / 316.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.729/1.729, allocations: 205.3 MB / 0.5671 GB, free: 15.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008777/0.0008777, allocations: 94.48 kB / 0.6714 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.484e-05/2.51e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2395, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.578/6.817, allocations: 2.19 GB / 3.075 GB, free: 217.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/6.818, allocations: 87.95 kB / 3.075 GB, free: 217.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.186/7.004, allocations: 89.23 MB / 3.162 GB, free: 128 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.194e-06/7.004, allocations: 4 kB / 3.162 GB, free: 128 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001189/7.004, allocations: 43.94 kB / 3.162 GB, free: 127.9 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 335 * Number of variables: 335 Notification: Performance of Generate backend data structure: time 0.002325/7.006, allocations: 1.629 MB / 3.164 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/7.006, allocations: 8.031 kB / 3.164 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001738/7.008, allocations: 365.4 kB / 3.164 GB, free: 125.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/7.009, allocations: 1.019 MB / 3.165 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.589e-05/7.009, allocations: 40 kB / 3.165 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/7.01, allocations: 83.98 kB / 3.165 GB, free: 124.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002116/7.012, allocations: 1.859 MB / 3.167 GB, free: 122.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/7.013, allocations: 1.253 MB / 3.168 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/7.013, allocations: 3.953 kB / 3.168 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/7.014, allocations: 7.938 kB / 3.168 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/7.014, allocations: 32 kB / 3.169 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005867/7.019, allocations: 4.209 MB / 3.173 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/7.021, allocations: 1.27 MB / 3.174 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005238/7.022, allocations: 461 kB / 3.174 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001179/7.022, allocations: 61.19 kB / 3.174 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009955/7.023, allocations: 0.7154 MB / 3.175 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=136): time 3.226e-06/7.023, allocations: 0 / 3.175 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=136): time 0.002956/7.026, allocations: 1.243 MB / 3.176 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001607/7.026, allocations: 458.1 kB / 3.177 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/7.027, allocations: 0.9064 MB / 3.178 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001403/7.027, allocations: 33.7 kB / 3.178 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005822/7.028, allocations: 0.6023 MB / 3.178 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000364/7.028, allocations: 429.5 kB / 3.179 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-05/7.028, allocations: 0 / 3.179 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001429/7.029, allocations: 349.9 kB / 3.179 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005326/7.029, allocations: 378.5 kB / 3.179 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006192/7.03, allocations: 0.5698 MB / 3.18 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007458/7.03, allocations: 482.5 kB / 3.18 GB, free: 109 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/7.03, allocations: 0 / 3.18 GB, free: 109 MB / 0.8698 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002617/7.033, allocations: 1.263 MB / 3.182 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/7.033, allocations: 8 kB / 3.182 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/7.033, allocations: 0 / 3.182 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/7.034, allocations: 173.7 kB / 3.182 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/7.035, allocations: 267.6 kB / 3.182 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002664/7.038, allocations: 2.93 MB / 3.185 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/7.039, allocations: 131 kB / 3.185 GB, free: 103.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/7.039, allocations: 59.95 kB / 3.185 GB, free: 103.9 MB / 0.8698 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 () * 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.0002435/7.039, allocations: 128.7 kB / 3.185 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002019/7.04, allocations: 146.2 kB / 3.185 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003575/7.043, allocations: 1.793 MB / 3.187 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/7.043, allocations: 20 kB / 3.187 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/7.043, allocations: 3.953 kB / 3.187 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/7.043, allocations: 11.91 kB / 3.187 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/7.045, allocations: 1.312 MB / 3.188 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/7.045, allocations: 0 / 3.188 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009649/7.046, allocations: 275.7 kB / 3.189 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008548/7.047, allocations: 173.5 kB / 3.189 GB, free: 99.97 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.503e-05/7.047, allocations: 23.97 kB / 3.189 GB, free: 99.95 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002519/7.049, allocations: 2.993 MB / 3.192 GB, free: 96.71 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/7.049, allocations: 7.891 kB / 3.192 GB, free: 96.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002604/7.052, allocations: 1.465 MB / 3.193 GB, free: 95.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000589/7.052, allocations: 474.6 kB / 3.194 GB, free: 94.72 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001814/7.053, allocations: 7.938 kB / 3.194 GB, free: 94.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000949/7.054, allocations: 107.9 kB / 3.194 GB, free: 94.61 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/7.054, allocations: 113.4 kB / 3.194 GB, free: 94.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.022e-05/7.054, allocations: 59.97 kB / 3.194 GB, free: 94.44 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007536/7.055, allocations: 0.7113 MB / 3.195 GB, free: 93.72 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.61e-07/7.055, allocations: 0 / 3.195 GB, free: 93.72 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001315/7.056, allocations: 478.6 kB / 3.195 GB, free: 93.25 MB / 0.8698 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) * 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.001537/7.057, allocations: 1.117 MB / 3.196 GB, free: 92.18 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001812/7.059, allocations: 1.266 MB / 3.197 GB, free: 90.88 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/7.059, allocations: 4 kB / 3.197 GB, free: 90.88 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001106/7.06, allocations: 0.8565 MB / 3.198 GB, free: 90 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/7.062, allocations: 439.8 kB / 3.199 GB, free: 89.59 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005225/7.068, allocations: 2.433 MB / 3.201 GB, free: 87.11 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006048/7.068, allocations: 1.312 MB / 3.202 GB, free: 85.77 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001483/7.07, allocations: 0.4989 MB / 3.203 GB, free: 85.27 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003769/7.07, allocations: 175.3 kB / 3.203 GB, free: 85.1 MB / 0.8698 GB Notification: Performance of SimCode: time 7.52e-07/7.07, allocations: 0 / 3.203 GB, free: 85.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.03896/7.109, allocations: 25.92 MB / 3.228 GB, free: 59.3 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches