Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 1.969/1.969, allocations: 390.4 MB / 397.7 MB, free: 11.3 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.001082/0.001082, allocations: 181.2 kB / 490.8 MB, free: 1.945 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.516/1.516, allocations: 221.3 MB / 0.7863 GB, free: 13.7 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.0009397/0.00094, allocations: 95.22 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.813e-06/6.843e-06, allocations: 4 kB / 1.072 GB, free: 182.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2785, allocations: 143 MB / 1.212 GB, free: 40.19 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.215/3.494, allocations: 1.732 GB / 2.944 GB, free: 110.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/3.494, allocations: 88.33 kB / 2.944 GB, free: 110.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1412/3.635, allocations: 64.47 MB / 3.007 GB, free: 51.14 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001476/3.635, allocations: 35.94 kB / 3.007 GB, free: 51.1 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.002661/3.638, allocations: 1.266 MB / 3.008 GB, free: 49.79 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/3.638, allocations: 16.02 kB / 3.008 GB, free: 49.77 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/3.639, allocations: 222.1 kB / 3.008 GB, free: 49.55 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001564/3.641, allocations: 0.7833 MB / 3.009 GB, free: 48.73 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.866e-05/3.641, allocations: 32 kB / 3.009 GB, free: 48.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/3.641, allocations: 56 kB / 3.009 GB, free: 48.64 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001643/3.643, allocations: 1.027 MB / 3.01 GB, free: 47.61 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/3.644, allocations: 0.7975 MB / 3.011 GB, free: 46.78 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/3.644, allocations: 3.938 kB / 3.011 GB, free: 46.77 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.348e-05/3.644, allocations: 4 kB / 3.011 GB, free: 46.77 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/3.644, allocations: 20 kB / 3.011 GB, free: 46.75 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004142/3.648, allocations: 2.567 MB / 3.013 GB, free: 44.12 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000844/3.649, allocations: 0.6295 MB / 3.014 GB, free: 43.48 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003064/3.65, allocations: 234.8 kB / 3.014 GB, free: 43.25 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 8.236e-05/3.65, allocations: 24.62 kB / 3.014 GB, free: 43.22 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004598/3.65, allocations: 374.1 kB / 3.014 GB, free: 42.84 MB / 1.151 GB Notification: Performance of pre-optimization done (n=69): time 3.327e-06/3.65, allocations: 0 / 3.014 GB, free: 42.84 MB / 1.151 GB Notification: Performance of matching and sorting (n=69): time 0.001553/3.652, allocations: 0.6441 MB / 3.015 GB, free: 42.18 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.057e-05/3.652, allocations: 247.9 kB / 3.015 GB, free: 41.88 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008481/3.653, allocations: 0.6097 MB / 3.016 GB, free: 41.27 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.605e-05/3.653, allocations: 25.7 kB / 3.016 GB, free: 41.23 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/3.653, allocations: 375.6 kB / 3.016 GB, free: 40.86 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/3.653, allocations: 216.8 kB / 3.017 GB, free: 40.64 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-05/3.653, allocations: 0 / 3.017 GB, free: 40.64 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.387e-05/3.653, allocations: 326 kB / 3.017 GB, free: 40.32 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/3.654, allocations: 189.3 kB / 3.017 GB, free: 40.14 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003079/3.654, allocations: 282.4 kB / 3.017 GB, free: 39.83 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003487/3.654, allocations: 239 kB / 3.017 GB, free: 39.59 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/3.654, allocations: 3.984 kB / 3.018 GB, free: 39.59 MB / 1.151 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001412/3.656, allocations: 0.6402 MB / 3.018 GB, free: 38.94 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/3.656, allocations: 8.062 kB / 3.018 GB, free: 38.93 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/3.656, allocations: 4 kB / 3.018 GB, free: 38.93 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006549/3.656, allocations: 84.77 kB / 3.018 GB, free: 38.84 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005526/3.657, allocations: 135.8 kB / 3.018 GB, free: 38.71 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/3.659, allocations: 1.461 MB / 3.02 GB, free: 37.12 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006735/3.659, allocations: 67.59 kB / 3.02 GB, free: 37.06 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.824e-05/3.659, allocations: 23.98 kB / 3.02 GB, free: 37.04 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.0001687/3.66, allocations: 120.8 kB / 3.02 GB, free: 36.91 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/3.66, allocations: 90.81 kB / 3.02 GB, free: 36.82 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001979/3.662, allocations: 0.9026 MB / 3.021 GB, free: 35.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/3.662, allocations: 8 kB / 3.021 GB, free: 35.89 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/3.662, allocations: 3.906 kB / 3.021 GB, free: 35.89 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/3.662, allocations: 3.984 kB / 3.021 GB, free: 35.89 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/3.663, allocations: 0.8218 MB / 3.022 GB, free: 35.03 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/3.663, allocations: 0 / 3.022 GB, free: 35.03 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005435/3.664, allocations: 143.8 kB / 3.022 GB, free: 34.89 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005218/3.664, allocations: 80.78 kB / 3.022 GB, free: 34.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.604e-05/3.664, allocations: 19.89 kB / 3.022 GB, free: 34.79 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/3.666, allocations: 1.489 MB / 3.023 GB, free: 33.18 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/3.666, allocations: 64 / 3.023 GB, free: 33.18 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00141/3.667, allocations: 0.7519 MB / 3.024 GB, free: 32.41 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004754/3.668, allocations: 291.6 kB / 3.024 GB, free: 32.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001842/3.668, allocations: 0 / 3.024 GB, free: 32.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005815/3.668, allocations: 55.94 kB / 3.025 GB, free: 32.05 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.864e-05/3.668, allocations: 52.7 kB / 3.025 GB, free: 31.99 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.575e-05/3.669, allocations: 27.98 kB / 3.025 GB, free: 31.96 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0006057/3.669, allocations: 491.1 kB / 3.025 GB, free: 31.49 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001118/3.67, allocations: 362.8 kB / 3.025 GB, free: 31.14 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.001801/3.672, allocations: 1.046 MB / 3.026 GB, free: 30.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00112/3.673, allocations: 0.6236 MB / 3.027 GB, free: 29.57 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/3.673, allocations: 4 kB / 3.027 GB, free: 29.56 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006538/3.674, allocations: 436.5 kB / 3.027 GB, free: 29.12 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/3.675, allocations: 351.7 kB / 3.028 GB, free: 28.79 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004106/3.68, allocations: 1.523 MB / 3.029 GB, free: 27.23 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009062/3.68, allocations: 1.203 MB / 3.03 GB, free: 26 MB / 1.151 GB Notification: Performance of SimCode: time 1.052e-06/3.68, allocations: 4 kB / 3.03 GB, free: 25.99 MB / 1.151 GB Notification: Performance of Templates: time 0.02825/3.709, allocations: 18.47 MB / 3.048 GB, free: 7.645 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.csv","../files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches