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: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_9_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_9_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.216/2.216, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001452/0.001452, allocations: 183.5 kB / 487.4 MB, free: 5.051 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.51/1.51, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 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.0009323/0.0009323, allocations: 103.9 kB / 0.9219 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.739e-05/1.74e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2478, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.085/4.333, allocations: 1.731 GB / 2.937 GB, free: 136.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/4.333, allocations: 88.88 kB / 2.937 GB, free: 136.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1369/4.47, allocations: 63.16 MB / 2.999 GB, free: 79.71 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.583e-06/4.47, allocations: 4 kB / 2.999 GB, free: 79.71 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001541/4.47, allocations: 35.88 kB / 2.999 GB, free: 79.67 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.002698/4.473, allocations: 1.236 MB / 3 GB, free: 78.39 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/4.473, allocations: 12.03 kB / 3 GB, free: 78.38 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/4.474, allocations: 218.2 kB / 3 GB, free: 78.16 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/4.476, allocations: 0.7717 MB / 3.001 GB, free: 77.35 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.143e-05/4.476, allocations: 32 kB / 3.001 GB, free: 77.32 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/4.476, allocations: 55.98 kB / 3.001 GB, free: 77.26 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001589/4.477, allocations: 1.023 MB / 3.002 GB, free: 76.24 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/4.479, allocations: 0.8013 MB / 3.003 GB, free: 75.39 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/4.479, allocations: 0 / 3.003 GB, free: 75.39 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.625e-05/4.479, allocations: 3.953 kB / 3.003 GB, free: 75.39 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/4.479, allocations: 24 kB / 3.003 GB, free: 75.37 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004078/4.483, allocations: 2.555 MB / 3.006 GB, free: 72.75 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008356/4.484, allocations: 0.6263 MB / 3.006 GB, free: 72.11 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002946/4.484, allocations: 242.4 kB / 3.006 GB, free: 71.87 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 8.155e-05/4.484, allocations: 24.59 kB / 3.007 GB, free: 71.84 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005197/4.485, allocations: 384.7 kB / 3.007 GB, free: 71.45 MB / 1.151 GB Notification: Performance of pre-optimization done (n=69): time 2.254e-06/4.485, allocations: 0 / 3.007 GB, free: 71.45 MB / 1.151 GB Notification: Performance of matching and sorting (n=69): time 0.00147/4.486, allocations: 0.6481 MB / 3.007 GB, free: 70.79 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.855e-05/4.486, allocations: 243.8 kB / 3.008 GB, free: 70.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007708/4.487, allocations: 0.6097 MB / 3.008 GB, free: 69.88 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.13e-05/4.487, allocations: 25.7 kB / 3.008 GB, free: 69.85 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002745/4.488, allocations: 0.4918 MB / 3.009 GB, free: 69.35 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/4.488, allocations: 220.8 kB / 3.009 GB, free: 69.13 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/4.488, allocations: 0 / 3.009 GB, free: 69.13 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.098e-05/4.488, allocations: 337.9 kB / 3.009 GB, free: 68.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/4.488, allocations: 177.5 kB / 3.01 GB, free: 68.62 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/4.488, allocations: 279.5 kB / 3.01 GB, free: 68.32 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003262/4.489, allocations: 240.4 kB / 3.01 GB, free: 68.09 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/4.489, allocations: 0 / 3.01 GB, free: 68.09 MB / 1.151 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001254/4.49, allocations: 0.6445 MB / 3.011 GB, free: 67.43 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/4.49, allocations: 8 kB / 3.011 GB, free: 67.42 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/4.49, allocations: 0 / 3.011 GB, free: 67.42 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005974/4.491, allocations: 80.8 kB / 3.011 GB, free: 67.34 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005046/4.491, allocations: 131.8 kB / 3.011 GB, free: 67.21 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001565/4.493, allocations: 1.469 MB / 3.012 GB, free: 65.62 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005456/4.493, allocations: 59.53 kB / 3.012 GB, free: 65.56 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.703e-05/4.493, allocations: 23.98 kB / 3.012 GB, free: 65.54 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.0001546/4.493, allocations: 126.6 kB / 3.013 GB, free: 65.41 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001237/4.495, allocations: 0.6433 MB / 3.013 GB, free: 64.76 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/4.495, allocations: 90.88 kB / 3.013 GB, free: 64.67 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00167/4.497, allocations: 0.8889 MB / 3.014 GB, free: 63.76 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/4.497, allocations: 11.98 kB / 3.014 GB, free: 63.75 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/4.497, allocations: 0 / 3.014 GB, free: 63.75 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/4.497, allocations: 7.938 kB / 3.014 GB, free: 63.74 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009121/4.498, allocations: 0.8142 MB / 3.015 GB, free: 62.89 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/4.498, allocations: 4 kB / 3.015 GB, free: 62.89 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004912/4.498, allocations: 135.8 kB / 3.015 GB, free: 62.75 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004884/4.499, allocations: 84.77 kB / 3.015 GB, free: 62.67 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.143e-05/4.499, allocations: 15.98 kB / 3.015 GB, free: 62.65 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001358/4.5, allocations: 1.484 MB / 3.017 GB, free: 61.05 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/4.5, allocations: 0 / 3.017 GB, free: 61.05 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/4.501, allocations: 0.758 MB / 3.017 GB, free: 60.26 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003526/4.502, allocations: 295.5 kB / 3.018 GB, free: 59.95 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/4.502, allocations: 4 kB / 3.018 GB, free: 59.95 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005162/4.502, allocations: 51.91 kB / 3.018 GB, free: 59.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/4.502, allocations: 60.69 kB / 3.018 GB, free: 59.84 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.113e-05/4.502, allocations: 35.92 kB / 3.018 GB, free: 59.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005292/4.503, allocations: 487.1 kB / 3.018 GB, free: 59.34 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/4.503, allocations: 0 / 3.018 GB, free: 59.34 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001072/4.504, allocations: 354.8 kB / 3.019 GB, free: 58.99 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.003305/4.507, allocations: 2.278 MB / 3.021 GB, free: 56.79 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001002/4.508, allocations: 0.6238 MB / 3.021 GB, free: 56.16 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/4.508, allocations: 4 kB / 3.021 GB, free: 56.15 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005642/4.509, allocations: 436.4 kB / 3.022 GB, free: 55.72 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/4.51, allocations: 368.1 kB / 3.022 GB, free: 55.37 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004066/4.515, allocations: 1.683 MB / 3.024 GB, free: 53.64 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005235/4.515, allocations: 1.097 MB / 3.025 GB, free: 52.52 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008729/4.516, allocations: 274.5 kB / 3.025 GB, free: 52.24 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005123/4.516, allocations: 435.2 kB / 3.026 GB, free: 51.82 MB / 1.151 GB Notification: Performance of SimCode: time 2.51e-07/4.516, allocations: 0 / 3.026 GB, free: 51.82 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05484/4.571, allocations: 26.4 MB / 3.051 GB, free: 25.55 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/4.572, allocations: 190.7 kB / 3.052 GB, free: 25.36 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.922/7.494, allocations: 1.547 kB / 3.052 GB, free: 25.36 MB / 1.151 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat does not exist to compare? outputFormat=mat