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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.79/1.79, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.0009406/0.0009409, allocations: 173.3 kB / 487 MB, free: 5.316 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.148/1.148, allocations: 221.3 MB / 0.7819 GB, free: 1.391 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008375/0.0008374, allocations: 94.19 kB / 0.9213 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.35e-06/5.38e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1785, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.524/2.703, allocations: 1.73 GB / 2.935 GB, free: 107.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00019/2.703, allocations: 88.58 kB / 2.935 GB, free: 107.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1807/2.883, allocations: 92.03 MB / 3.025 GB, free: 19.64 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.124e-05/2.884, allocations: 43.94 kB / 3.025 GB, free: 19.6 MB / 1.151 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.002258/2.886, allocations: 1.704 MB / 3.027 GB, free: 17.84 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/2.886, allocations: 8.031 kB / 3.027 GB, free: 17.83 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001711/2.888, allocations: 401.3 kB / 3.027 GB, free: 17.43 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/2.889, allocations: 1.023 MB / 3.028 GB, free: 16.36 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.688e-05/2.889, allocations: 40 kB / 3.028 GB, free: 16.32 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/2.889, allocations: 76 kB / 3.028 GB, free: 16.24 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002113/2.891, allocations: 1.879 MB / 3.03 GB, free: 14.36 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/2.893, allocations: 1.277 MB / 3.031 GB, free: 12.99 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/2.893, allocations: 0 / 3.031 GB, free: 12.99 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/2.893, allocations: 4 kB / 3.031 GB, free: 12.99 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/2.893, allocations: 32 kB / 3.031 GB, free: 12.96 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005143/2.898, allocations: 4.299 MB / 3.036 GB, free: 8.578 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/2.9, allocations: 1.267 MB / 3.037 GB, free: 7.289 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005376/2.9, allocations: 473.6 kB / 3.037 GB, free: 6.824 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 9.836e-05/2.9, allocations: 57.28 kB / 3.037 GB, free: 6.766 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007611/2.901, allocations: 0.6927 MB / 3.038 GB, free: 6.047 MB / 1.151 GB Notification: Performance of pre-optimization done (n=136): time 2.234e-06/2.901, allocations: 0 / 3.038 GB, free: 6.047 MB / 1.151 GB Notification: Performance of matching and sorting (n=136): time 0.002555/2.904, allocations: 1.236 MB / 3.039 GB, free: 4.797 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.131e-05/2.904, allocations: 466.2 kB / 3.04 GB, free: 4.238 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009061/2.905, allocations: 0.9109 MB / 3.04 GB, free: 3.312 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.88e-05/2.905, allocations: 29.7 kB / 3.041 GB, free: 3.277 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/2.905, allocations: 448.7 kB / 3.041 GB, free: 2.828 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002077/2.905, allocations: 437.4 kB / 3.041 GB, free: 2.395 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.65e-05/2.905, allocations: 0 / 3.041 GB, free: 2.395 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.611e-05/2.905, allocations: 349.9 kB / 3.042 GB, free: 2.047 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004833/2.906, allocations: 366.5 kB / 3.042 GB, free: 1.691 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006005/2.906, allocations: 0.5853 MB / 3.043 GB, free: 1.035 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006976/2.907, allocations: 495.4 kB / 3.043 GB, free: 0.5547 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/2.907, allocations: 0 / 3.043 GB, free: 0.5547 MB / 1.151 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.2731/3.18, allocations: 1.27 MB / 3.044 GB, free: 0.5033 GB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/3.18, allocations: 3.344 kB / 3.044 GB, free: 0.5033 GB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/3.18, allocations: 2.75 kB / 3.044 GB, free: 0.5033 GB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/3.181, allocations: 164.1 kB / 3.044 GB, free: 0.5033 GB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/3.182, allocations: 277.8 kB / 3.045 GB, free: 0.5033 GB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002875/3.185, allocations: 2.93 MB / 3.048 GB, free: 0.5009 GB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/3.186, allocations: 131.3 kB / 3.048 GB, free: 0.5009 GB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/3.186, allocations: 61.78 kB / 3.048 GB, free: 0.5009 GB / 1.151 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.0002175/3.187, allocations: 138.2 kB / 3.048 GB, free: 0.5008 GB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/3.187, allocations: 140 kB / 3.048 GB, free: 0.5008 GB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003952/3.191, allocations: 1.878 MB / 3.05 GB, free: 0.5007 GB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/3.191, allocations: 19.22 kB / 3.05 GB, free: 0.5007 GB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/3.191, allocations: 3.422 kB / 3.05 GB, free: 0.5007 GB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/3.191, allocations: 7.547 kB / 3.05 GB, free: 0.5007 GB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/3.192, allocations: 1.324 MB / 3.051 GB, free: 0.5005 GB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/3.192, allocations: 0 / 3.051 GB, free: 0.5005 GB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/3.193, allocations: 282.5 kB / 3.051 GB, free: 0.5005 GB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009009/3.194, allocations: 170 kB / 3.052 GB, free: 0.5005 GB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.83e-05/3.194, allocations: 32.38 kB / 3.052 GB, free: 0.5005 GB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002646/3.197, allocations: 2.972 MB / 3.055 GB, free: 0.4981 GB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/3.197, allocations: 3.469 kB / 3.055 GB, free: 0.4981 GB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002441/3.199, allocations: 1.458 MB / 3.056 GB, free: 0.4979 GB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005171/3.2, allocations: 469.5 kB / 3.056 GB, free: 0.4977 GB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002088/3.2, allocations: 6.219 kB / 3.056 GB, free: 0.4977 GB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009878/3.201, allocations: 117.7 kB / 3.057 GB, free: 0.4977 GB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/3.201, allocations: 101.6 kB / 3.057 GB, free: 0.4977 GB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.864e-05/3.201, allocations: 60.06 kB / 3.057 GB, free: 0.4977 GB / 1.151 GB Notification: Performance of sort global known variables: time 0.000666/3.202, allocations: 0.7195 MB / 3.057 GB, free: 0.4976 GB / 1.151 GB Notification: Performance of remove unused functions: time 0.001134/3.203, allocations: 0.4999 MB / 3.058 GB, free: 0.4976 GB / 1.151 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.001334/3.204, allocations: 1.132 MB / 3.059 GB, free: 0.4974 GB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00166/3.206, allocations: 1.277 MB / 3.06 GB, free: 0.4972 GB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/3.206, allocations: 0 / 3.06 GB, free: 0.4972 GB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/3.207, allocations: 0.8586 MB / 3.061 GB, free: 0.497 GB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/3.209, allocations: 418 kB / 3.061 GB, free: 0.497 GB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005273/3.214, allocations: 2.563 MB / 3.064 GB, free: 0.4965 GB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/3.215, allocations: 1.514 MB / 3.065 GB, free: 0.4958 GB / 1.151 GB Notification: Performance of SimCode: time 2.41e-07/3.215, allocations: 0 / 3.065 GB, free: 0.4958 GB / 1.151 GB Notification: Performance of Templates: time 0.03423/3.249, allocations: 28.61 MB / 3.093 GB, free: 0.494 GB / 1.151 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