Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.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.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaSta.reaWeaTDryBul.y|weaSta.reaWeaTDewPoi.y|weaSta.reaWeaTBlaSky.y|weaSta.reaWeaHGloHor.y|weaSta.reaWeaHDifHor.y|weaSta.reaWeaHDirNor.y",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaSta.reaWeaTDryBul.y|weaSta.reaWeaTDewPoi.y|weaSta.reaWeaTBlaSky.y|weaSta.reaWeaHGloHor.y|weaSta.reaWeaHDifHor.y|weaSta.reaWeaHDirNor.y",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") [: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.948/1.948, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.001024/0.001024, allocations: 181.2 kB / 487 MB, free: 5.363 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.25/1.25, allocations: 221.3 MB / 0.7819 GB, free: 1.379 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.0009413/0.0009414, allocations: 89.81 kB / 0.9213 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.743e-06/6.773e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2503, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.236/3.486, allocations: 1.731 GB / 2.936 GB, free: 127.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/3.486, allocations: 84.66 kB / 2.936 GB, free: 127.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1285/3.615, allocations: 64.47 MB / 2.999 GB, free: 62.44 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.776e-05/3.615, allocations: 31.94 kB / 2.999 GB, free: 62.41 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: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.001623/3.616, allocations: 1.269 MB / 3.001 GB, free: 61.09 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/3.616, allocations: 8.031 kB / 3.001 GB, free: 61.08 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008697/3.617, allocations: 230.1 kB / 3.001 GB, free: 60.86 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009798/3.618, allocations: 0.7756 MB / 3.002 GB, free: 60.04 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.124e-05/3.618, allocations: 28 kB / 3.002 GB, free: 60.01 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.859e-05/3.618, allocations: 59.94 kB / 3.002 GB, free: 59.95 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001231/3.62, allocations: 1.023 MB / 3.003 GB, free: 58.93 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/3.621, allocations: 0.7936 MB / 3.004 GB, free: 58.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/3.621, allocations: 4 kB / 3.004 GB, free: 58.09 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.702e-05/3.621, allocations: 4 kB / 3.004 GB, free: 58.09 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/3.621, allocations: 27.91 kB / 3.004 GB, free: 58.06 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003222/3.624, allocations: 2.57 MB / 3.006 GB, free: 55.43 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007932/3.625, allocations: 0.6294 MB / 3.007 GB, free: 54.78 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003136/3.625, allocations: 234.8 kB / 3.007 GB, free: 54.55 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.536e-05/3.625, allocations: 36.67 kB / 3.007 GB, free: 54.52 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000429/3.626, allocations: 358.1 kB / 3.007 GB, free: 54.14 MB / 1.151 GB Notification: Performance of pre-optimization done (n=69): time 1.803e-06/3.626, allocations: 3.938 kB / 3.007 GB, free: 54.14 MB / 1.151 GB Notification: Performance of matching and sorting (n=69): time 0.001361/3.627, allocations: 0.6402 MB / 3.008 GB, free: 53.49 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/3.627, allocations: 247.9 kB / 3.008 GB, free: 53.19 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006112/3.628, allocations: 0.6097 MB / 3.009 GB, free: 52.57 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.559e-05/3.628, allocations: 29.7 kB / 3.009 GB, free: 52.54 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/3.628, allocations: 375.6 kB / 3.009 GB, free: 52.16 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/3.628, allocations: 216.8 kB / 3.009 GB, free: 51.95 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.847e-05/3.628, allocations: 0 / 3.009 GB, free: 51.95 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.352e-05/3.628, allocations: 330 kB / 3.01 GB, free: 51.62 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/3.629, allocations: 177.3 kB / 3.01 GB, free: 51.45 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003088/3.629, allocations: 286.4 kB / 3.01 GB, free: 51.14 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000324/3.629, allocations: 242.9 kB / 3.01 GB, free: 50.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/3.629, allocations: 3.938 kB / 3.01 GB, free: 50.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001251/3.63, allocations: 0.6559 MB / 3.011 GB, free: 50.23 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/3.631, allocations: 4 kB / 3.011 GB, free: 50.23 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/3.631, allocations: 0 / 3.011 GB, free: 50.23 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005975/3.631, allocations: 80.84 kB / 3.011 GB, free: 50.15 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005308/3.632, allocations: 127.9 kB / 3.011 GB, free: 50.02 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001593/3.633, allocations: 1.465 MB / 3.013 GB, free: 48.43 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004952/3.634, allocations: 63.8 kB / 3.013 GB, free: 48.37 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.892e-05/3.634, allocations: 31.89 kB / 3.013 GB, free: 48.34 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001306/3.634, allocations: 123.7 kB / 3.013 GB, free: 48.21 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/3.634, allocations: 90.88 kB / 3.013 GB, free: 48.12 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00177/3.636, allocations: 0.9064 MB / 3.014 GB, free: 47.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/3.636, allocations: 8 kB / 3.014 GB, free: 47.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/3.636, allocations: 3.984 kB / 3.014 GB, free: 47.19 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/3.636, allocations: 3.984 kB / 3.014 GB, free: 47.19 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007181/3.637, allocations: 0.8152 MB / 3.015 GB, free: 46.34 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/3.637, allocations: 0 / 3.015 GB, free: 46.34 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005258/3.637, allocations: 139.7 kB / 3.015 GB, free: 46.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004986/3.638, allocations: 84.78 kB / 3.015 GB, free: 46.11 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.322e-05/3.638, allocations: 15.98 kB / 3.015 GB, free: 46.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/3.639, allocations: 1.489 MB / 3.016 GB, free: 44.49 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/3.639, allocations: 4 kB / 3.016 GB, free: 44.48 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001243/3.64, allocations: 0.7481 MB / 3.017 GB, free: 43.71 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003148/3.641, allocations: 283.6 kB / 3.017 GB, free: 43.41 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/3.641, allocations: 11.98 kB / 3.017 GB, free: 43.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005382/3.641, allocations: 55.95 kB / 3.017 GB, free: 43.35 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.03e-05/3.642, allocations: 44.7 kB / 3.017 GB, free: 43.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.226e-05/3.642, allocations: 31.98 kB / 3.017 GB, free: 43.27 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0004772/3.642, allocations: 499.1 kB / 3.018 GB, free: 42.79 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009482/3.643, allocations: 358.7 kB / 3.018 GB, free: 42.44 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001436/3.644, allocations: 1.043 MB / 3.019 GB, free: 41.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001012/3.646, allocations: 0.6274 MB / 3.02 GB, free: 40.87 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/3.646, allocations: 0 / 3.02 GB, free: 40.87 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000578/3.646, allocations: 440.5 kB / 3.02 GB, free: 40.43 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/3.647, allocations: 348.9 kB / 3.021 GB, free: 40.09 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003379/3.651, allocations: 1.511 MB / 3.022 GB, free: 38.55 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000651/3.651, allocations: 1.209 MB / 3.023 GB, free: 37.31 MB / 1.151 GB Notification: Performance of SimCode: time 6.81e-07/3.651, allocations: 0 / 3.023 GB, free: 37.31 MB / 1.151 GB Notification: Performance of Templates: time 0.02592/3.677, allocations: 18.47 MB / 3.041 GB, free: 18.95 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.csv","../files/Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches