Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.742/1.742, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.0009001/0.0009001, allocations: 181.2 kB / 490.8 MB, free: 1.922 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.078/1.078, allocations: 221.4 MB / 0.7863 GB, free: 13.71 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.0008397/0.0008397, allocations: 93.92 kB / 0.9264 GB, free: 14.25 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.759e-06/4.85e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1688, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.354/2.523, allocations: 1.731 GB / 2.942 GB, free: 115.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001857/2.523, allocations: 87.58 kB / 2.942 GB, free: 115.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1773/2.7, allocations: 92.04 MB / 3.032 GB, free: 28.85 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001014/2.7, allocations: 43.94 kB / 3.032 GB, free: 28.8 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.002435/2.703, allocations: 1.708 MB / 3.034 GB, free: 27.04 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/2.703, allocations: 12.03 kB / 3.034 GB, free: 27.03 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001735/2.705, allocations: 397.3 kB / 3.034 GB, free: 26.64 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/2.706, allocations: 1.027 MB / 3.035 GB, free: 25.55 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.967e-05/2.706, allocations: 47.98 kB / 3.035 GB, free: 25.51 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/2.706, allocations: 72 kB / 3.035 GB, free: 25.44 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00215/2.708, allocations: 1.875 MB / 3.037 GB, free: 23.56 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/2.71, allocations: 1.273 MB / 3.038 GB, free: 22.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/2.71, allocations: 4 kB / 3.038 GB, free: 22.19 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/2.71, allocations: 3.984 kB / 3.038 GB, free: 22.19 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/2.71, allocations: 43.94 kB / 3.038 GB, free: 22.14 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00513/2.715, allocations: 4.283 MB / 3.043 GB, free: 17.78 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/2.717, allocations: 1.251 MB / 3.044 GB, free: 16.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005232/2.717, allocations: 485.8 kB / 3.044 GB, free: 16.02 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 9.434e-05/2.717, allocations: 57.36 kB / 3.044 GB, free: 15.96 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007697/2.718, allocations: 0.6927 MB / 3.045 GB, free: 15.25 MB / 1.151 GB Notification: Performance of pre-optimization done (n=136): time 2.424e-06/2.718, allocations: 0 / 3.045 GB, free: 15.25 MB / 1.151 GB Notification: Performance of matching and sorting (n=136): time 0.0025/2.721, allocations: 1.232 MB / 3.046 GB, free: 14 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.063e-05/2.721, allocations: 462.2 kB / 3.047 GB, free: 13.45 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009149/2.722, allocations: 0.9186 MB / 3.048 GB, free: 12.52 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.801e-05/2.722, allocations: 29.7 kB / 3.048 GB, free: 12.48 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.00018/2.722, allocations: 444.7 kB / 3.048 GB, free: 12.04 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002026/2.722, allocations: 437.4 kB / 3.048 GB, free: 11.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-05/2.722, allocations: 0 / 3.048 GB, free: 11.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.249e-05/2.722, allocations: 349.9 kB / 3.049 GB, free: 11.25 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00048/2.723, allocations: 378.5 kB / 3.049 GB, free: 10.89 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000584/2.723, allocations: 0.5814 MB / 3.05 GB, free: 10.23 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006734/2.724, allocations: 495.4 kB / 3.05 GB, free: 9.75 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/2.724, allocations: 0 / 3.05 GB, free: 9.75 MB / 1.151 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002386/2.726, allocations: 1.271 MB / 3.051 GB, free: 8.461 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/2.726, allocations: 4 kB / 3.051 GB, free: 8.457 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/2.726, allocations: 4 kB / 3.051 GB, free: 8.453 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/2.727, allocations: 169.7 kB / 3.052 GB, free: 8.281 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/2.729, allocations: 271.6 kB / 3.052 GB, free: 8.016 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002714/2.731, allocations: 2.93 MB / 3.055 GB, free: 4.844 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009236/2.732, allocations: 131.1 kB / 3.055 GB, free: 4.715 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.511e-05/2.732, allocations: 51.95 kB / 3.055 GB, free: 4.664 MB / 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.0001861/2.732, allocations: 140.7 kB / 3.055 GB, free: 4.52 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/2.733, allocations: 138.3 kB / 3.055 GB, free: 4.383 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003754/2.736, allocations: 1.88 MB / 3.057 GB, free: 2.48 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/2.736, allocations: 23.94 kB / 3.057 GB, free: 2.457 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/2.736, allocations: 0 / 3.057 GB, free: 2.457 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/2.736, allocations: 7.969 kB / 3.057 GB, free: 2.449 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/2.738, allocations: 1.332 MB / 3.058 GB, free: 1.082 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/2.738, allocations: 0 / 3.058 GB, free: 1.082 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009898/2.739, allocations: 279.7 kB / 3.059 GB, free: 0.8086 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009186/2.739, allocations: 173.5 kB / 3.059 GB, free: 0.6328 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.673e-05/2.74, allocations: 27.97 kB / 3.059 GB, free: 0.6055 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2612/3.001, allocations: 2.971 MB / 3.062 GB, free: 0.5011 GB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/3.001, allocations: 0 / 3.062 GB, free: 0.5011 GB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002805/3.004, allocations: 1.457 MB / 3.063 GB, free: 0.5009 GB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006414/3.004, allocations: 474.5 kB / 3.064 GB, free: 0.5008 GB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002589/3.005, allocations: 9.219 kB / 3.064 GB, free: 0.5008 GB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/3.006, allocations: 115.1 kB / 3.064 GB, free: 0.5008 GB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/3.006, allocations: 100 kB / 3.064 GB, free: 0.5008 GB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/3.006, allocations: 66.16 kB / 3.064 GB, free: 0.5008 GB / 1.151 GB Notification: Performance of sort global known variables: time 0.0007682/3.007, allocations: 0.7107 MB / 3.065 GB, free: 0.5007 GB / 1.151 GB Notification: Performance of remove unused functions: time 0.001202/3.008, allocations: 0.4989 MB / 3.065 GB, free: 0.5007 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.001438/3.009, allocations: 1.133 MB / 3.066 GB, free: 0.5006 GB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001745/3.011, allocations: 1.274 MB / 3.067 GB, free: 0.5003 GB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/3.011, allocations: 0 / 3.067 GB, free: 0.5003 GB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/3.012, allocations: 0.8602 MB / 3.068 GB, free: 0.5001 GB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001483/3.014, allocations: 416.9 kB / 3.069 GB, free: 0.5001 GB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005465/3.019, allocations: 2.554 MB / 3.071 GB, free: 0.4996 GB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/3.02, allocations: 1.506 MB / 3.073 GB, free: 0.4989 GB / 1.151 GB Notification: Performance of SimCode: time 3.51e-07/3.02, allocations: 0 / 3.073 GB, free: 0.4989 GB / 1.151 GB Notification: Performance of Templates: time 0.03263/3.053, allocations: 28.61 MB / 3.101 GB, free: 0.4974 GB / 1.151 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.csv","../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches