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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.209/2.209, allocations: 387.1 MB / 399.7 MB, free: 9.543 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.001394/0.001394, allocations: 173 kB / 492.3 MB, free: 0.6211 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.486/1.486, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0009643/0.0009643, allocations: 101.2 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.254e-05/3.28e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3273, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.613/4.941, allocations: 1.732 GB / 2.944 GB, free: 133.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/4.941, allocations: 86.81 kB / 2.944 GB, free: 133.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1314/5.072, allocations: 64.03 MB / 3.007 GB, free: 68.96 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.344e-06/5.072, allocations: 3.984 kB / 3.007 GB, free: 68.95 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.581e-05/5.072, allocations: 35.88 kB / 3.007 GB, free: 68.92 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.001961/5.074, allocations: 1.234 MB / 3.008 GB, free: 67.64 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/5.074, allocations: 12.03 kB / 3.008 GB, free: 67.62 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008588/5.075, allocations: 218.2 kB / 3.008 GB, free: 67.41 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/5.076, allocations: 0.7718 MB / 3.009 GB, free: 66.59 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.974e-05/5.077, allocations: 70 kB / 3.009 GB, free: 66.53 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.519e-05/5.077, allocations: 92 kB / 3.009 GB, free: 66.44 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/5.078, allocations: 0.9264 MB / 3.01 GB, free: 65.47 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/5.078, allocations: 0 / 3.01 GB, free: 65.47 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.43e-05/5.078, allocations: 43.94 kB / 3.01 GB, free: 65.43 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/5.078, allocations: 27.95 kB / 3.01 GB, free: 65.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/5.079, allocations: 1.077 MB / 3.011 GB, free: 64.32 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003445/5.083, allocations: 2.746 MB / 3.014 GB, free: 61.51 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008573/5.084, allocations: 0.6644 MB / 3.015 GB, free: 60.83 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003033/5.084, allocations: 254.5 kB / 3.015 GB, free: 60.58 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.385e-05/5.084, allocations: 24.59 kB / 3.015 GB, free: 60.55 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005233/5.085, allocations: 405.8 kB / 3.015 GB, free: 60.14 MB / 1.151 GB Notification: Performance of pre-optimization done (n=69): time 2.174e-06/5.085, allocations: 0 / 3.015 GB, free: 60.14 MB / 1.151 GB Notification: Performance of matching and sorting (n=69): time 0.001401/5.086, allocations: 0.6871 MB / 3.016 GB, free: 59.44 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/5.086, allocations: 247.8 kB / 3.016 GB, free: 59.14 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007718/5.087, allocations: 0.7157 MB / 3.017 GB, free: 58.42 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.841e-05/5.087, allocations: 41.7 kB / 3.017 GB, free: 58.38 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002744/5.087, allocations: 491.9 kB / 3.017 GB, free: 57.89 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/5.087, allocations: 224.8 kB / 3.018 GB, free: 57.66 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/5.087, allocations: 12 kB / 3.018 GB, free: 57.65 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.953e-05/5.088, allocations: 333.9 kB / 3.018 GB, free: 57.32 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002955/5.088, allocations: 193.5 kB / 3.018 GB, free: 57.13 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000335/5.088, allocations: 297.1 kB / 3.018 GB, free: 56.81 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003221/5.089, allocations: 250 kB / 3.019 GB, free: 56.57 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/5.089, allocations: 4 kB / 3.019 GB, free: 56.56 MB / 1.151 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001248/5.09, allocations: 0.6834 MB / 3.019 GB, free: 55.87 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/5.09, allocations: 13.42 kB / 3.019 GB, free: 55.86 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/5.09, allocations: 0 / 3.019 GB, free: 55.86 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005507/5.09, allocations: 84.78 kB / 3.019 GB, free: 55.77 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004921/5.091, allocations: 127.8 kB / 3.02 GB, free: 55.64 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001613/5.093, allocations: 1.524 MB / 3.021 GB, free: 53.98 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00057/5.093, allocations: 87.41 kB / 3.021 GB, free: 53.89 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.836e-05/5.093, allocations: 23.98 kB / 3.021 GB, free: 53.87 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.0001481/5.093, allocations: 148.8 kB / 3.021 GB, free: 53.71 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/5.093, allocations: 98.73 kB / 3.021 GB, free: 53.62 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001775/5.095, allocations: 0.9398 MB / 3.022 GB, free: 52.66 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/5.095, allocations: 8 kB / 3.022 GB, free: 52.65 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/5.095, allocations: 0 / 3.022 GB, free: 52.65 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/5.095, allocations: 3.984 kB / 3.022 GB, free: 52.64 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/5.096, allocations: 0.9618 MB / 3.023 GB, free: 51.63 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/5.096, allocations: 8 kB / 3.023 GB, free: 51.62 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005117/5.097, allocations: 135.8 kB / 3.023 GB, free: 51.49 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004592/5.097, allocations: 84.78 kB / 3.023 GB, free: 51.41 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-05/5.098, allocations: 23.98 kB / 3.023 GB, free: 51.38 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001428/5.099, allocations: 1.556 MB / 3.025 GB, free: 49.69 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/5.099, allocations: 0 / 3.025 GB, free: 49.69 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/5.1, allocations: 0.8004 MB / 3.026 GB, free: 48.87 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003815/5.101, allocations: 295.6 kB / 3.026 GB, free: 48.56 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.701e-05/5.101, allocations: 19.98 kB / 3.026 GB, free: 48.54 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004847/5.101, allocations: 63.83 kB / 3.026 GB, free: 48.48 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/5.101, allocations: 64.66 kB / 3.026 GB, free: 48.41 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.164e-05/5.102, allocations: 31.97 kB / 3.026 GB, free: 48.38 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006347/5.102, allocations: 0.5733 MB / 3.027 GB, free: 47.82 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.41e-07/5.102, allocations: 0 / 3.027 GB, free: 47.82 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001079/5.103, allocations: 375 kB / 3.027 GB, free: 47.45 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.001747/5.105, allocations: 1.028 MB / 3.028 GB, free: 46.57 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001084/5.106, allocations: 0.6707 MB / 3.029 GB, free: 45.89 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/5.106, allocations: 0 / 3.029 GB, free: 45.89 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005838/5.107, allocations: 466.9 kB / 3.029 GB, free: 45.42 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/5.108, allocations: 383 kB / 3.03 GB, free: 45.05 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003145/5.111, allocations: 1.505 MB / 3.031 GB, free: 43.52 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004406/5.112, allocations: 1.098 MB / 3.032 GB, free: 42.39 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008007/5.113, allocations: 279 kB / 3.032 GB, free: 42.12 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/5.113, allocations: 99.39 kB / 3.032 GB, free: 42.02 MB / 1.151 GB Notification: Performance of SimCode: time 1.052e-06/5.113, allocations: 0 / 3.032 GB, free: 42.02 MB / 1.151 GB Notification: Performance of Templates: time 0.03125/5.144, allocations: 23.9 MB / 3.056 GB, free: 18.21 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