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") [: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 7.0.3-maint.7.0.x/package.mo): time 1.38/1.38, allocations: 249.4 MB / 256.7 MB, free: 6.91 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.001099/0.001099, allocations: 177.3 kB / 316 MB, free: 3.547 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.556/1.556, allocations: 205.1 MB / 0.5667 GB, free: 15.7 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.0008735/0.0008736, allocations: 77.48 kB / 0.671 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.103e-06/7.123e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2681, allocations: 106.3 MB / 0.8845 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.833/5.101, allocations: 2.19 GB / 3.075 GB, free: 213.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/5.101, allocations: 92.97 kB / 3.075 GB, free: 213.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.1922/5.294, allocations: 90.78 MB / 3.163 GB, free: 122.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000124/5.294, allocations: 44 kB / 3.163 GB, free: 122.3 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.002804/5.296, allocations: 1.664 MB / 3.165 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/5.297, allocations: 8.031 kB / 3.165 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001929/5.298, allocations: 397.4 kB / 3.165 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001624/5.3, allocations: 1.027 MB / 3.166 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.673e-05/5.3, allocations: 40 kB / 3.166 GB, free: 119 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/5.3, allocations: 76 kB / 3.166 GB, free: 119 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002507/5.303, allocations: 1.863 MB / 3.168 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/5.305, allocations: 1.261 MB / 3.169 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.457e-05/5.305, allocations: 7.938 kB / 3.169 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/5.305, allocations: 3.984 kB / 3.169 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.674e-05/5.305, allocations: 32 kB / 3.17 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006189/5.311, allocations: 4.236 MB / 3.174 GB, free: 111.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/5.313, allocations: 1.276 MB / 3.175 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005774/5.313, allocations: 473.6 kB / 3.175 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/5.313, allocations: 61.2 kB / 3.175 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000858/5.314, allocations: 0.6927 MB / 3.176 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=136): time 3.146e-06/5.314, allocations: 0 / 3.176 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=136): time 0.002901/5.317, allocations: 1.236 MB / 3.177 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.147e-05/5.317, allocations: 458.2 kB / 3.178 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/5.318, allocations: 0.9142 MB / 3.179 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001022/5.319, allocations: 33.7 kB / 3.179 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002579/5.319, allocations: 436.7 kB / 3.179 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002393/5.319, allocations: 421.5 kB / 3.179 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.694e-05/5.319, allocations: 0 / 3.179 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.863e-05/5.319, allocations: 353.9 kB / 3.18 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005311/5.32, allocations: 374.5 kB / 3.18 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006213/5.32, allocations: 0.5892 MB / 3.181 GB, free: 103.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007592/5.321, allocations: 491.4 kB / 3.181 GB, free: 103.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/5.321, allocations: 0 / 3.181 GB, free: 103.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002673/5.324, allocations: 1.26 MB / 3.182 GB, free: 102.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/5.324, allocations: 8.031 kB / 3.182 GB, free: 102.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/5.324, allocations: 4 kB / 3.182 GB, free: 102.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/5.325, allocations: 169.5 kB / 3.183 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/5.326, allocations: 275.6 kB / 3.183 GB, free: 101.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003056/5.329, allocations: 2.933 MB / 3.186 GB, free: 98.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/5.33, allocations: 135.1 kB / 3.186 GB, free: 98.34 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/5.33, allocations: 51.97 kB / 3.186 GB, free: 98.29 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.0002354/5.331, allocations: 132.8 kB / 3.186 GB, free: 98.15 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002016/5.331, allocations: 142.2 kB / 3.186 GB, free: 98.01 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004253/5.335, allocations: 1.876 MB / 3.188 GB, free: 96.11 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/5.335, allocations: 16 kB / 3.188 GB, free: 96.09 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/5.335, allocations: 4 kB / 3.188 GB, free: 96.09 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/5.335, allocations: 7.969 kB / 3.188 GB, free: 96.08 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/5.337, allocations: 1.323 MB / 3.189 GB, free: 94.72 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/5.337, allocations: 0 / 3.189 GB, free: 94.72 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/5.338, allocations: 283.6 kB / 3.19 GB, free: 94.45 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009792/5.339, allocations: 169.5 kB / 3.19 GB, free: 94.27 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.854e-05/5.339, allocations: 27.97 kB / 3.19 GB, free: 94.25 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002961/5.342, allocations: 2.972 MB / 3.193 GB, free: 91.03 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/5.342, allocations: 4 kB / 3.193 GB, free: 91.03 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002814/5.345, allocations: 1.46 MB / 3.194 GB, free: 89.54 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006495/5.345, allocations: 466.7 kB / 3.195 GB, free: 89.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000225/5.346, allocations: 4 kB / 3.195 GB, free: 89.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/5.347, allocations: 119.9 kB / 3.195 GB, free: 88.94 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/5.347, allocations: 97.41 kB / 3.195 GB, free: 88.84 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/5.347, allocations: 55.97 kB / 3.195 GB, free: 88.79 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0009144/5.348, allocations: 0.7192 MB / 3.196 GB, free: 88.06 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001432/5.349, allocations: 482.6 kB / 3.196 GB, free: 87.59 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.001516/5.351, allocations: 1.091 MB / 3.197 GB, free: 86.55 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001992/5.353, allocations: 1.277 MB / 3.198 GB, free: 85.25 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/5.353, allocations: 4 kB / 3.198 GB, free: 85.25 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001141/5.354, allocations: 0.8527 MB / 3.199 GB, free: 84.37 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/5.356, allocations: 421.9 kB / 3.2 GB, free: 83.97 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006372/5.362, allocations: 2.543 MB / 3.202 GB, free: 81.37 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/5.363, allocations: 1.505 MB / 3.204 GB, free: 79.84 MB / 0.8698 GB Notification: Performance of SimCode: time 8.82e-07/5.363, allocations: 0 / 3.204 GB, free: 79.84 MB / 0.8698 GB Notification: Performance of Templates: time 0.03848/5.402, allocations: 28.26 MB / 3.231 GB, free: 51.7 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