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.505/1.505, allocations: 249.3 MB / 261.8 MB, free: 5.816 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.001371/0.001371, allocations: 178.5 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.57/1.57, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.000876/0.000876, allocations: 86.48 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.511e-05/3.518e-05, allocations: 0 / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2557, allocations: 106.3 MB / 0.8918 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.355/6.611, allocations: 2.19 GB / 3.081 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/6.611, allocations: 86.58 kB / 3.081 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1945/6.806, allocations: 92.07 MB / 3.171 GB, free: 51.13 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.635e-06/6.806, allocations: 4 kB / 3.171 GB, free: 51.13 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001858/6.806, allocations: 43.94 kB / 3.171 GB, free: 51.09 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.003613/6.809, allocations: 1.629 MB / 3.173 GB, free: 49.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/6.809, allocations: 8.031 kB / 3.173 GB, free: 49.39 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002202/6.812, allocations: 369.4 kB / 3.173 GB, free: 49.03 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002048/6.814, allocations: 1.003 MB / 3.174 GB, free: 47.97 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.632e-05/6.814, allocations: 102.6 kB / 3.174 GB, free: 47.87 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001746/6.814, allocations: 124 kB / 3.175 GB, free: 47.75 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002179/6.816, allocations: 1.438 MB / 3.176 GB, free: 46.21 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/6.816, allocations: 3.938 kB / 3.176 GB, free: 46.21 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/6.816, allocations: 63.95 kB / 3.176 GB, free: 46.14 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/6.816, allocations: 32 kB / 3.176 GB, free: 46.11 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002271/6.819, allocations: 1.938 MB / 3.178 GB, free: 44.17 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005993/6.825, allocations: 4.471 MB / 3.182 GB, free: 39.61 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/6.826, allocations: 1.347 MB / 3.184 GB, free: 38.24 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006146/6.827, allocations: 0.4893 MB / 3.184 GB, free: 37.75 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001227/6.827, allocations: 65.05 kB / 3.184 GB, free: 37.68 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001017/6.828, allocations: 0.7455 MB / 3.185 GB, free: 36.91 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=136): time 3.055e-06/6.828, allocations: 4 kB / 3.185 GB, free: 36.91 MB / 0.8698 GB Notification: Performance of matching and sorting (n=136): time 0.002729/6.831, allocations: 1.313 MB / 3.186 GB, free: 35.58 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/6.831, allocations: 454.1 kB / 3.187 GB, free: 35.04 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/6.832, allocations: 1.035 MB / 3.188 GB, free: 33.99 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/6.832, allocations: 49.7 kB / 3.188 GB, free: 33.93 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004058/6.833, allocations: 0.6108 MB / 3.188 GB, free: 33.32 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002754/6.833, allocations: 441.5 kB / 3.189 GB, free: 32.88 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-05/6.833, allocations: 20 kB / 3.189 GB, free: 32.86 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.789e-05/6.833, allocations: 353.9 kB / 3.189 GB, free: 32.51 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005643/6.834, allocations: 394.5 kB / 3.189 GB, free: 32.12 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000708/6.835, allocations: 0.6074 MB / 3.19 GB, free: 31.45 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006657/6.835, allocations: 490.1 kB / 3.191 GB, free: 30.96 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/6.835, allocations: 0 / 3.191 GB, free: 30.96 MB / 0.8698 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002624/6.838, allocations: 1.333 MB / 3.192 GB, free: 29.61 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/6.838, allocations: 12.03 kB / 3.192 GB, free: 29.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/6.838, allocations: 0 / 3.192 GB, free: 29.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/6.839, allocations: 169.5 kB / 3.192 GB, free: 29.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/6.84, allocations: 267.6 kB / 3.192 GB, free: 29.17 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003174/6.843, allocations: 3.066 MB / 3.195 GB, free: 25.83 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/6.845, allocations: 158.9 kB / 3.195 GB, free: 25.67 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/6.845, allocations: 55.91 kB / 3.195 GB, free: 25.62 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.0002666/6.845, allocations: 192.5 kB / 3.196 GB, free: 25.42 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002011/6.845, allocations: 142.2 kB / 3.196 GB, free: 25.28 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003728/6.849, allocations: 1.91 MB / 3.198 GB, free: 23.35 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/6.849, allocations: 16 kB / 3.198 GB, free: 23.34 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/6.849, allocations: 0 / 3.198 GB, free: 23.34 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.602e-05/6.849, allocations: 15.89 kB / 3.198 GB, free: 23.32 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001623/6.851, allocations: 1.513 MB / 3.199 GB, free: 21.76 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/6.851, allocations: 0 / 3.199 GB, free: 21.76 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009735/6.852, allocations: 279.7 kB / 3.199 GB, free: 21.49 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009235/6.853, allocations: 169.5 kB / 3.2 GB, free: 21.32 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.961e-05/6.853, allocations: 43.97 kB / 3.2 GB, free: 21.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00261/6.855, allocations: 3.1 MB / 3.203 GB, free: 17.89 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/6.855, allocations: 0 / 3.203 GB, free: 17.89 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002683/6.858, allocations: 1.554 MB / 3.204 GB, free: 16.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006792/6.859, allocations: 486.7 kB / 3.205 GB, free: 15.81 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/6.859, allocations: 28 kB / 3.205 GB, free: 15.78 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009397/6.86, allocations: 139.9 kB / 3.205 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001992/6.86, allocations: 117.4 kB / 3.205 GB, free: 15.53 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.764e-05/6.86, allocations: 59.95 kB / 3.205 GB, free: 15.47 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001002/6.861, allocations: 0.8209 MB / 3.206 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.61e-07/6.861, allocations: 0 / 3.206 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001522/6.863, allocations: 0.5183 MB / 3.206 GB, free: 14.12 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.001803/6.865, allocations: 1.079 MB / 3.207 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00216/6.867, allocations: 1.34 MB / 3.209 GB, free: 11.76 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/6.867, allocations: 3.906 kB / 3.209 GB, free: 11.76 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001191/6.868, allocations: 0.912 MB / 3.21 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001935/6.87, allocations: 469.7 kB / 3.21 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005544/6.875, allocations: 2.518 MB / 3.212 GB, free: 7.809 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006175/6.876, allocations: 1.316 MB / 3.214 GB, free: 6.465 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001784/6.878, allocations: 0.4955 MB / 3.214 GB, free: 5.965 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004038/6.878, allocations: 183.3 kB / 3.214 GB, free: 5.785 MB / 0.8698 GB Notification: Performance of SimCode: time 1.272e-06/6.878, allocations: 0 / 3.214 GB, free: 5.785 MB / 0.8698 GB Notification: Performance of Templates: time 0.4881/7.366, allocations: 33.53 MB / 3.247 GB, free: 255.8 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