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 1.969/1.969, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.0009656/0.0009656, allocations: 187.8 kB / 492.3 MB, free: 0.6016 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.259/1.259, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0008008/0.0008008, allocations: 99.45 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.558e-05/2.56e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2071, allocations: 142.3 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.86/4.067, allocations: 1.732 GB / 2.944 GB, free: 133.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/4.067, allocations: 83.95 kB / 2.944 GB, free: 133.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1346/4.202, allocations: 64.04 MB / 3.007 GB, free: 68.73 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.196e-06/4.202, allocations: 0 / 3.007 GB, free: 68.73 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001862/4.202, allocations: 43.86 kB / 3.007 GB, free: 68.69 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.002848/4.205, allocations: 1.23 MB / 3.008 GB, free: 67.41 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.094e-05/4.205, allocations: 20.02 kB / 3.008 GB, free: 67.39 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000338/4.205, allocations: 143.9 kB / 3.008 GB, free: 67.25 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/4.206, allocations: 214.2 kB / 3.009 GB, free: 67.04 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001773/4.208, allocations: 0.7795 MB / 3.009 GB, free: 66.21 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.37e-05/4.208, allocations: 74 kB / 3.009 GB, free: 66.14 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/4.208, allocations: 88 kB / 3.009 GB, free: 66.05 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/4.21, allocations: 0.9264 MB / 3.01 GB, free: 65.09 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/4.21, allocations: 3.938 kB / 3.01 GB, free: 65.08 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/4.21, allocations: 44 kB / 3.01 GB, free: 65.04 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.165e-05/4.21, allocations: 31.94 kB / 3.01 GB, free: 65.01 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001591/4.212, allocations: 1.073 MB / 3.012 GB, free: 63.94 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004577/4.216, allocations: 2.734 MB / 3.014 GB, free: 61.13 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/4.217, allocations: 0.6678 MB / 3.015 GB, free: 60.45 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000383/4.218, allocations: 250.5 kB / 3.015 GB, free: 60.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/4.218, allocations: 32.59 kB / 3.015 GB, free: 60.17 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006677/4.219, allocations: 401.8 kB / 3.016 GB, free: 59.76 MB / 1.151 GB Notification: Performance of pre-optimization done (n=69): time 5.17e-06/4.219, allocations: 0 / 3.016 GB, free: 59.76 MB / 1.151 GB Notification: Performance of matching and sorting (n=69): time 0.001909/4.221, allocations: 0.6948 MB / 3.016 GB, free: 59.05 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/4.221, allocations: 239.9 kB / 3.016 GB, free: 58.77 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/4.222, allocations: 0.7079 MB / 3.017 GB, free: 58.05 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.595e-05/4.222, allocations: 41.7 kB / 3.017 GB, free: 58 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003877/4.223, allocations: 499.8 kB / 3.018 GB, free: 57.51 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002034/4.223, allocations: 232.7 kB / 3.018 GB, free: 57.28 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/4.223, allocations: 8 kB / 3.018 GB, free: 57.27 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.81e-05/4.223, allocations: 334 kB / 3.018 GB, free: 56.94 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002996/4.223, allocations: 193.5 kB / 3.018 GB, free: 56.75 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003763/4.224, allocations: 297.1 kB / 3.019 GB, free: 56.43 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003787/4.224, allocations: 249.9 kB / 3.019 GB, free: 56.18 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/4.224, allocations: 0 / 3.019 GB, free: 56.18 MB / 1.151 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001531/4.226, allocations: 0.6912 MB / 3.02 GB, free: 55.48 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/4.226, allocations: 8 kB / 3.02 GB, free: 55.47 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/4.226, allocations: 0 / 3.02 GB, free: 55.47 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006559/4.226, allocations: 84.83 kB / 3.02 GB, free: 55.39 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005232/4.227, allocations: 131.8 kB / 3.02 GB, free: 55.26 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002069/4.229, allocations: 1.528 MB / 3.021 GB, free: 53.59 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007574/4.23, allocations: 79.38 kB / 3.021 GB, free: 53.51 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.271e-05/4.23, allocations: 31.92 kB / 3.021 GB, free: 53.48 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.000225/4.23, allocations: 135.2 kB / 3.021 GB, free: 53.34 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002711/4.23, allocations: 102.7 kB / 3.022 GB, free: 53.24 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002046/4.232, allocations: 0.9476 MB / 3.023 GB, free: 52.27 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/4.232, allocations: 8 kB / 3.023 GB, free: 52.26 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/4.232, allocations: 0 / 3.023 GB, free: 52.26 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/4.232, allocations: 3.984 kB / 3.023 GB, free: 52.26 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/4.234, allocations: 0.9657 MB / 3.023 GB, free: 51.24 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/4.234, allocations: 0 / 3.023 GB, free: 51.24 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005285/4.234, allocations: 139.8 kB / 3.024 GB, free: 51.11 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004695/4.235, allocations: 80.78 kB / 3.024 GB, free: 51.02 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.549e-05/4.235, allocations: 23.98 kB / 3.024 GB, free: 51 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001519/4.236, allocations: 1.556 MB / 3.025 GB, free: 49.31 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/4.236, allocations: 4.031 kB / 3.025 GB, free: 49.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/4.238, allocations: 0.7964 MB / 3.026 GB, free: 48.48 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005227/4.238, allocations: 299.6 kB / 3.026 GB, free: 48.17 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001903/4.239, allocations: 12 kB / 3.026 GB, free: 48.16 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005665/4.239, allocations: 71.94 kB / 3.026 GB, free: 48.09 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/4.239, allocations: 68.58 kB / 3.026 GB, free: 48.02 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.479e-05/4.239, allocations: 27.98 kB / 3.026 GB, free: 48 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008358/4.24, allocations: 0.5733 MB / 3.027 GB, free: 47.43 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.01e-07/4.24, allocations: 0 / 3.027 GB, free: 47.43 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001241/4.242, allocations: 371 kB / 3.027 GB, free: 47.07 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.003801/4.245, allocations: 2.274 MB / 3.03 GB, free: 44.92 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001305/4.247, allocations: 0.6708 MB / 3.03 GB, free: 44.23 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/4.247, allocations: 0 / 3.03 GB, free: 44.23 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006649/4.247, allocations: 458.9 kB / 3.031 GB, free: 43.77 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/4.249, allocations: 381.2 kB / 3.031 GB, free: 43.41 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004592/4.254, allocations: 1.749 MB / 3.033 GB, free: 41.61 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006692/4.254, allocations: 1.098 MB / 3.034 GB, free: 40.49 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009914/4.255, allocations: 283 kB / 3.034 GB, free: 40.21 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000573/4.256, allocations: 439.3 kB / 3.035 GB, free: 39.78 MB / 1.151 GB Notification: Performance of SimCode: time 1.313e-06/4.256, allocations: 4 kB / 3.035 GB, free: 39.77 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06308/4.319, allocations: 34.56 MB / 3.068 GB, free: 5.488 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/4.319, allocations: 241.7 kB / 3.069 GB, free: 5.172 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.375/7.694, allocations: 0 / 3.069 GB, free: 5.172 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