Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.512/2.512, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001135/0.001135, allocations: 182.1 kB / 498.1 MB, free: 5.758 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.499/1.499, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.000916/0.000916, allocations: 94.58 kB / 0.9346 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.000339, allocations: 7.156 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2968, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.519/4.816, allocations: 1.731 GB / 2.953 GB, free: 289.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003195/4.816, allocations: 90.8 kB / 2.954 GB, free: 289.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.2106/5.027, allocations: 91.98 MB / 3.043 GB, free: 196.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.835e-06/5.027, allocations: 0 / 3.043 GB, free: 196.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002364/5.027, allocations: 43.94 kB / 3.043 GB, free: 196.6 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.006643/5.034, allocations: 1.882 MB / 3.045 GB, free: 194.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.757e-05/5.034, allocations: 8.031 kB / 3.045 GB, free: 194.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00265/5.037, allocations: 377.3 kB / 3.046 GB, free: 194.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002794/5.039, allocations: 1.015 MB / 3.047 GB, free: 193.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.902e-05/5.04, allocations: 98.69 kB / 3.047 GB, free: 193.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/5.04, allocations: 128 kB / 3.047 GB, free: 193 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002614/5.042, allocations: 1.531 MB / 3.048 GB, free: 191.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.012e-05/5.042, allocations: 0 / 3.048 GB, free: 191.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/5.043, allocations: 60 kB / 3.048 GB, free: 191.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.851e-05/5.043, allocations: 32 kB / 3.048 GB, free: 191.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002909/5.046, allocations: 2.055 MB / 3.05 GB, free: 189.2 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007114/5.053, allocations: 4.522 MB / 3.055 GB, free: 184.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002415/5.055, allocations: 1.456 MB / 3.056 GB, free: 183.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/5.055, allocations: 57.17 kB / 3.056 GB, free: 183 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001272/5.057, allocations: 0.796 MB / 3.057 GB, free: 182.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=136): time 3.907e-06/5.057, allocations: 0 / 3.057 GB, free: 182.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=136): time 0.005621/5.062, allocations: 2.153 MB / 3.059 GB, free: 180 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001618/5.062, allocations: 458 kB / 3.06 GB, free: 179.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/5.064, allocations: 1.073 MB / 3.061 GB, free: 178.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001345/5.064, allocations: 57.7 kB / 3.061 GB, free: 178.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004613/5.064, allocations: 0.6071 MB / 3.061 GB, free: 177.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003158/5.065, allocations: 449.4 kB / 3.062 GB, free: 177.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.24e-05/5.065, allocations: 24 kB / 3.062 GB, free: 177.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.712e-05/5.065, allocations: 353.9 kB / 3.062 GB, free: 176.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00082/5.066, allocations: 442.3 kB / 3.062 GB, free: 176.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009608/5.067, allocations: 0.658 MB / 3.063 GB, free: 175.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000927/5.068, allocations: 0.5207 MB / 3.064 GB, free: 175.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/5.068, allocations: 4 kB / 3.064 GB, free: 175.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003272/5.071, allocations: 1.432 MB / 3.065 GB, free: 173.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/5.071, allocations: 11.98 kB / 3.065 GB, free: 173.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/5.071, allocations: 0 / 3.065 GB, free: 173.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001133/5.072, allocations: 169.8 kB / 3.065 GB, free: 173.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/5.073, allocations: 271.6 kB / 3.065 GB, free: 173.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003369/5.077, allocations: 3.092 MB / 3.069 GB, free: 169.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/5.078, allocations: 166.8 kB / 3.069 GB, free: 169.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/5.078, allocations: 59.95 kB / 3.069 GB, free: 169.7 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.0008636/5.079, allocations: 369.6 kB / 3.069 GB, free: 169.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000257/5.079, allocations: 150.1 kB / 3.069 GB, free: 169.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004245/5.084, allocations: 2.026 MB / 3.071 GB, free: 167.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/5.084, allocations: 16 kB / 3.071 GB, free: 167.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/5.084, allocations: 0 / 3.071 GB, free: 167.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.612e-05/5.084, allocations: 7.969 kB / 3.071 GB, free: 167.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001754/5.085, allocations: 1.529 MB / 3.073 GB, free: 165.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/5.085, allocations: 0 / 3.073 GB, free: 165.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/5.087, allocations: 283.6 kB / 3.073 GB, free: 165.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009478/5.087, allocations: 165.5 kB / 3.073 GB, free: 165.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/5.088, allocations: 51.97 kB / 3.073 GB, free: 165.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003102/5.091, allocations: 3.147 MB / 3.076 GB, free: 161.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/5.091, allocations: 0 / 3.076 GB, free: 161.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00378/5.095, allocations: 1.657 MB / 3.078 GB, free: 159.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/5.096, allocations: 482.5 kB / 3.078 GB, free: 159.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001881/5.096, allocations: 36 kB / 3.078 GB, free: 159.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/5.097, allocations: 127.9 kB / 3.078 GB, free: 159.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002438/5.097, allocations: 117.8 kB / 3.079 GB, free: 159.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/5.097, allocations: 64.08 kB / 3.079 GB, free: 159.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001147/5.098, allocations: 0.8552 MB / 3.08 GB, free: 158.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.71e-07/5.098, allocations: 0 / 3.08 GB, free: 158.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001755/5.1, allocations: 0.5418 MB / 3.08 GB, free: 157.7 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.002271/5.102, allocations: 1.159 MB / 3.081 GB, free: 156.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002898/5.105, allocations: 1.459 MB / 3.083 GB, free: 155.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/5.105, allocations: 0 / 3.083 GB, free: 155.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001553/5.107, allocations: 0.9654 MB / 3.084 GB, free: 154.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002251/5.109, allocations: 462.6 kB / 3.084 GB, free: 153.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007271/5.116, allocations: 3.774 MB / 3.088 GB, free: 150 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006856/5.117, allocations: 1.324 MB / 3.089 GB, free: 148.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001811/5.119, allocations: 0.5035 MB / 3.089 GB, free: 148.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004166/5.119, allocations: 183.3 kB / 3.09 GB, free: 148 MB / 1.167 GB Notification: Performance of SimCode: time 1.864e-06/5.119, allocations: 0 / 3.09 GB, free: 148 MB / 1.167 GB Notification: Performance of Templates: time 0.05345/5.173, allocations: 32.2 MB / 3.121 GB, free: 116 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.csv","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches