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: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.112/2.112, allocations: 390.5 MB / 398 MB, free: 11.02 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.0009919/0.0009919, allocations: 183.6 kB / 491.2 MB, free: 1.621 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.323/1.323, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.001/0.001, allocations: 87.97 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.164e-05/2.174e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2454, allocations: 143 MB / 1.212 GB, free: 39.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.443/3.688, allocations: 1.732 GB / 2.944 GB, free: 132 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001919/3.689, allocations: 87.95 kB / 2.944 GB, free: 131.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1254/3.814, allocations: 63.17 MB / 3.006 GB, free: 68.42 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.744e-06/3.814, allocations: 0 / 3.006 GB, free: 68.42 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.607e-05/3.814, allocations: 31.94 kB / 3.006 GB, free: 68.39 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.001721/3.816, allocations: 1.231 MB / 3.007 GB, free: 67.11 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/3.816, allocations: 8.031 kB / 3.007 GB, free: 67.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008575/3.817, allocations: 222.1 kB / 3.008 GB, free: 66.88 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/3.818, allocations: 0.7718 MB / 3.008 GB, free: 66.07 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/3.818, allocations: 28 kB / 3.008 GB, free: 66.04 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.004e-05/3.818, allocations: 64 kB / 3.008 GB, free: 65.98 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001188/3.819, allocations: 1.019 MB / 3.009 GB, free: 64.96 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/3.82, allocations: 0.8013 MB / 3.01 GB, free: 64.12 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/3.82, allocations: 3.953 kB / 3.01 GB, free: 64.12 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.391e-05/3.82, allocations: 4 kB / 3.01 GB, free: 64.11 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/3.82, allocations: 20 kB / 3.01 GB, free: 64.09 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003058/3.823, allocations: 2.551 MB / 3.013 GB, free: 61.48 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006897/3.824, allocations: 0.6301 MB / 3.013 GB, free: 60.83 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002492/3.824, allocations: 230.5 kB / 3.014 GB, free: 60.61 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 6.847e-05/3.825, allocations: 32.58 kB / 3.014 GB, free: 60.57 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000437/3.825, allocations: 388.6 kB / 3.014 GB, free: 60.17 MB / 1.151 GB Notification: Performance of pre-optimization done (n=69): time 2.184e-06/3.825, allocations: 0 / 3.014 GB, free: 60.17 MB / 1.151 GB Notification: Performance of matching and sorting (n=69): time 0.00126/3.826, allocations: 0.6481 MB / 3.015 GB, free: 59.52 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/3.826, allocations: 247.9 kB / 3.015 GB, free: 59.22 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005791/3.827, allocations: 0.6058 MB / 3.015 GB, free: 58.61 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.471e-05/3.827, allocations: 25.7 kB / 3.015 GB, free: 58.57 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/3.827, allocations: 0.4918 MB / 3.016 GB, free: 58.07 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/3.827, allocations: 220.7 kB / 3.016 GB, free: 57.86 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/3.827, allocations: 4 kB / 3.016 GB, free: 57.85 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.743e-05/3.827, allocations: 322 kB / 3.016 GB, free: 57.53 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/3.828, allocations: 185.5 kB / 3.017 GB, free: 57.35 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002638/3.828, allocations: 283.5 kB / 3.017 GB, free: 57.04 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/3.828, allocations: 232.4 kB / 3.017 GB, free: 56.82 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/3.828, allocations: 4 kB / 3.017 GB, free: 56.82 MB / 1.151 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001113/3.829, allocations: 0.6445 MB / 3.018 GB, free: 56.16 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/3.829, allocations: 7.953 kB / 3.018 GB, free: 56.15 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/3.829, allocations: 64 / 3.018 GB, free: 56.15 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000532/3.83, allocations: 84.77 kB / 3.018 GB, free: 56.07 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004702/3.83, allocations: 135.8 kB / 3.018 GB, free: 55.93 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/3.832, allocations: 1.465 MB / 3.019 GB, free: 54.34 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004542/3.832, allocations: 63.59 kB / 3.02 GB, free: 54.28 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.276e-05/3.832, allocations: 23.98 kB / 3.02 GB, free: 54.25 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.0001174/3.832, allocations: 110.2 kB / 3.02 GB, free: 54.14 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001107/3.833, allocations: 0.651 MB / 3.02 GB, free: 53.48 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/3.834, allocations: 90.88 kB / 3.02 GB, free: 53.39 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/3.835, allocations: 0.8888 MB / 3.021 GB, free: 52.49 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/3.835, allocations: 8.094 kB / 3.021 GB, free: 52.48 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/3.835, allocations: 7.938 kB / 3.021 GB, free: 52.48 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/3.835, allocations: 3.984 kB / 3.021 GB, free: 52.47 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007005/3.836, allocations: 0.8142 MB / 3.022 GB, free: 51.62 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/3.836, allocations: 0 / 3.022 GB, free: 51.62 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000468/3.836, allocations: 135.8 kB / 3.022 GB, free: 51.49 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004304/3.837, allocations: 92.7 kB / 3.022 GB, free: 51.39 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.706e-05/3.837, allocations: 15.98 kB / 3.022 GB, free: 51.38 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/3.838, allocations: 1.488 MB / 3.024 GB, free: 49.77 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/3.838, allocations: 0 / 3.024 GB, free: 49.77 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/3.839, allocations: 0.7542 MB / 3.024 GB, free: 48.99 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002645/3.839, allocations: 291.5 kB / 3.025 GB, free: 48.69 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.437e-05/3.84, allocations: 3.953 kB / 3.025 GB, free: 48.68 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004579/3.84, allocations: 55.94 kB / 3.025 GB, free: 48.63 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.163e-05/3.84, allocations: 56.7 kB / 3.025 GB, free: 48.57 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-05/3.84, allocations: 27.98 kB / 3.025 GB, free: 48.54 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004165/3.841, allocations: 499.1 kB / 3.025 GB, free: 48.06 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/3.841, allocations: 0 / 3.025 GB, free: 48.06 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007968/3.841, allocations: 342.9 kB / 3.026 GB, free: 47.73 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.002605/3.844, allocations: 2.293 MB / 3.028 GB, free: 45.51 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008556/3.845, allocations: 0.6243 MB / 3.029 GB, free: 44.88 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/3.845, allocations: 4.125 kB / 3.029 GB, free: 44.88 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005186/3.845, allocations: 428.5 kB / 3.029 GB, free: 44.45 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/3.847, allocations: 369.4 kB / 3.029 GB, free: 44.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003123/3.85, allocations: 1.691 MB / 3.031 GB, free: 42.36 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/3.85, allocations: 1.093 MB / 3.032 GB, free: 41.24 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007072/3.851, allocations: 274.5 kB / 3.032 GB, free: 40.97 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004128/3.851, allocations: 431.3 kB / 3.033 GB, free: 40.55 MB / 1.151 GB Notification: Performance of SimCode: time 5.41e-07/3.851, allocations: 0 / 3.033 GB, free: 40.55 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04426/3.896, allocations: 26.4 MB / 3.058 GB, free: 14.27 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001421/3.896, allocations: 193 kB / 3.059 GB, free: 14.08 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.648/6.543, allocations: 7.938 kB / 3.059 GB, free: 14.07 MB / 1.151 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat does not exist to compare? outputFormat=mat