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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000912/0.0009122, allocations: 99.08 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008828/0.0008828, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.39/2.39, allocations: 390.3 MB / 0.6653 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005134/0.0005134, allocations: 8 kB / 0.8146 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.756/0.7566, allocations: 142.3 MB / 0.9536 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.004687/0.7613, allocations: 4.319 MB / 0.9578 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1497/0.911, allocations: 127.8 MB / 1.083 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008299/0.9119, allocations: 19.88 kB / 1.083 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004087/0.9123, allocations: 99 kB / 1.083 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001878/0.9142, allocations: 0.5635 MB / 1.083 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001824/0.916, allocations: 0.6365 MB / 1.084 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001485/0.9175, allocations: 1.053 MB / 1.085 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007821/0.9183, allocations: 0.5826 MB / 1.086 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004408/0.9187, allocations: 366.3 kB / 1.086 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004014/0.9191, allocations: 381.8 kB / 1.086 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.088e-05/0.9192, allocations: 28 kB / 1.086 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006573/0.9199, allocations: 315.6 kB / 1.087 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001947/0.9201, allocations: 203 kB / 1.087 GB, free: 7.461 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.9203, allocations: 233 kB / 1.087 GB, free: 7.227 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.9214, allocations: 1.368 MB / 1.088 GB, free: 5.855 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.9214, allocations: 0 / 1.088 GB, free: 5.855 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.755e-06/0.9214, allocations: 3.938 kB / 1.088 GB, free: 5.852 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.178e-05/0.9214, allocations: 7.938 kB / 1.088 GB, free: 5.844 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002206/0.9236, allocations: 1.429 MB / 1.09 GB, free: 4.359 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.9237, allocations: 8.031 kB / 1.09 GB, free: 4.352 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001622/0.9239, allocations: 156.2 kB / 1.09 GB, free: 4.191 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008464/0.9247, allocations: 222.1 kB / 1.09 GB, free: 3.973 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.9258, allocations: 0.8517 MB / 1.091 GB, free: 3.078 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.062e-05/0.9259, allocations: 74 kB / 1.091 GB, free: 3.008 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.926, allocations: 96 kB / 1.091 GB, free: 2.914 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.9274, allocations: 1.028 MB / 1.092 GB, free: 1.844 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.9275, allocations: 4 kB / 1.092 GB, free: 1.84 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.123e-05/0.9275, allocations: 40 kB / 1.092 GB, free: 1.801 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.9276, allocations: 24 kB / 1.092 GB, free: 1.777 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001628/0.9292, allocations: 1.167 MB / 1.093 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003645/0.9329, allocations: 2.863 MB / 1.096 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.9341, allocations: 0.8036 MB / 1.097 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.309e-05/0.9342, allocations: 28.61 kB / 1.097 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007292/0.9349, allocations: 499.1 kB / 1.097 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=78): time 1.914e-06/0.935, allocations: 0 / 1.097 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of matching and sorting (n=78): time 0.002687/0.9377, allocations: 1.21 MB / 1.099 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.377e-05/0.9378, allocations: 192.6 kB / 1.099 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000865/0.9386, allocations: 0.789 MB / 1.099 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.787e-05/0.9387, allocations: 41.7 kB / 1.1 GB, free: 10 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003413/0.939, allocations: 0.5117 MB / 1.1 GB, free: 9.484 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.9392, allocations: 256.3 kB / 1.1 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.9393, allocations: 16 kB / 1.1 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.9394, allocations: 333.9 kB / 1.101 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004533/0.9398, allocations: 245.9 kB / 1.101 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005246/0.9404, allocations: 354.6 kB / 1.101 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005019/0.9409, allocations: 294.9 kB / 1.101 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.9409, allocations: 0 / 1.101 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001654/0.9426, allocations: 0.8173 MB / 1.102 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.9426, allocations: 4 kB / 1.102 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.9426, allocations: 0 / 1.102 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000572/0.9432, allocations: 88.81 kB / 1.102 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005946/0.9438, allocations: 143.8 kB / 1.102 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001899/0.9457, allocations: 1.555 MB / 1.104 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006743/0.9464, allocations: 100.1 kB / 1.104 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.572e-05/0.9464, allocations: 27.98 kB / 1.104 GB, free: 5.102 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * 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.0004636/0.9469, allocations: 285.7 kB / 1.104 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.9471, allocations: 102.7 kB / 1.104 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002201/0.9493, allocations: 1.099 MB / 1.106 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.9493, allocations: 16 kB / 1.106 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.9493, allocations: 0 / 1.106 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.9493, allocations: 3.984 kB / 1.106 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.9503, allocations: 1.009 MB / 1.107 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.9504, allocations: 0 / 1.107 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000566/0.9509, allocations: 139.8 kB / 1.107 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005197/0.9515, allocations: 96.66 kB / 1.107 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.833e-05/0.9515, allocations: 19.98 kB / 1.107 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001682/0.9532, allocations: 1.575 MB / 1.108 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.9532, allocations: 0 / 1.108 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001805/0.955, allocations: 0.9474 MB / 1.109 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004033/0.9554, allocations: 299.4 kB / 1.11 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.9556, allocations: 24 kB / 1.11 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006248/0.9562, allocations: 75.92 kB / 1.11 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.9563, allocations: 80.81 kB / 1.11 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.636e-05/0.9564, allocations: 35.98 kB / 1.11 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006986/0.9571, allocations: 0.5503 MB / 1.11 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9571, allocations: 0 / 1.11 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000819/0.958, allocations: 327 kB / 1.111 GB, free: 14.18 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003316/0.9613, allocations: 1.992 MB / 1.113 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001557/0.9629, allocations: 0.7924 MB / 1.113 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.9629, allocations: 0 / 1.113 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000876/0.9638, allocations: 0.5197 MB / 1.114 GB, free: 11 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/0.9653, allocations: 390.2 kB / 1.114 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/0.977, allocations: 6.437 MB / 1.121 GB, free: 3.973 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008468/0.9779, allocations: 1.125 MB / 1.122 GB, free: 2.824 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001091/0.979, allocations: 279.7 kB / 1.122 GB, free: 2.547 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006426/0.9796, allocations: 459.2 kB / 1.122 GB, free: 2.098 MB / 0.8731 GB Notification: Performance of SimCode: time 9.82e-07/0.9796, allocations: 4 kB / 1.122 GB, free: 2.094 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07407/1.054, allocations: 25 MB / 1.147 GB, free: 9.457 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003825/1.054, allocations: 263.5 kB / 1.147 GB, free: 9.098 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.339/3.394, allocations: 0 / 1.147 GB, free: 9.098 MB / 0.9044 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