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/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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 99.86 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.002376/0.002376, 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 2.286/2.286, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.382/3.382, allocations: 409.2 MB / 0.6838 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004623/0.0004625, allocations: 8 kB / 0.8375 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012/1.012, allocations: 146.8 MB / 0.9809 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.008303/1.021, allocations: 4.324 MB / 0.9851 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.2172/1.238, allocations: 127.8 MB / 1.11 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001287/1.239, allocations: 27.81 kB / 1.11 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007452/1.24, allocations: 91.12 kB / 1.11 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002698/1.243, allocations: 0.5481 MB / 1.111 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002726/1.246, allocations: 0.6524 MB / 1.111 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002818/1.248, allocations: 1.045 MB / 1.112 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001556/1.25, allocations: 0.5824 MB / 1.113 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000857/1.251, allocations: 374.2 kB / 1.113 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009294/1.252, allocations: 381.8 kB / 1.113 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002315/1.252, allocations: 28 kB / 1.114 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/1.253, allocations: 311.7 kB / 1.114 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003804/1.254, allocations: 203 kB / 1.114 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004044/1.254, allocations: 229 kB / 1.114 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00224/1.256, allocations: 1.375 MB / 1.116 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/1.256, allocations: 0 / 1.116 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.284e-06/1.256, allocations: 0 / 1.116 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.497e-05/1.256, allocations: 0 / 1.116 GB, free: 12.04 MB / 0.8731 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.004001/1.26, allocations: 1.429 MB / 1.117 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/1.26, allocations: 8.031 kB / 1.117 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000399/1.261, allocations: 152.2 kB / 1.117 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001535/1.262, allocations: 226.1 kB / 1.117 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002245/1.265, allocations: 0.8633 MB / 1.118 GB, free: 9.258 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/1.265, allocations: 74 kB / 1.118 GB, free: 9.188 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002157/1.265, allocations: 96 kB / 1.118 GB, free: 9.094 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002796/1.268, allocations: 1.02 MB / 1.119 GB, free: 8.031 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/1.268, allocations: 0 / 1.119 GB, free: 8.031 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001533/1.268, allocations: 48 kB / 1.119 GB, free: 7.984 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.519e-05/1.268, allocations: 24 kB / 1.119 GB, free: 7.961 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003034/1.271, allocations: 1.171 MB / 1.121 GB, free: 6.793 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007033/1.278, allocations: 2.857 MB / 1.123 GB, free: 3.863 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00233/1.28, allocations: 0.8118 MB / 1.124 GB, free: 3.047 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001051/1.281, allocations: 32.61 kB / 1.124 GB, free: 3.016 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001272/1.282, allocations: 487.1 kB / 1.125 GB, free: 2.523 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=78): time 3.576e-06/1.282, allocations: 0 / 1.125 GB, free: 2.523 MB / 0.8731 GB Notification: Performance of matching and sorting (n=78): time 0.004655/1.287, allocations: 1.223 MB / 1.126 GB, free: 1.273 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/1.287, allocations: 188.6 kB / 1.126 GB, free: 1.047 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0017/1.288, allocations: 0.7929 MB / 1.127 GB, free: 232 kB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001015/1.288, allocations: 41.7 kB / 1.127 GB, free: 184 kB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006393/1.289, allocations: 0.5118 MB / 1.127 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003149/1.289, allocations: 252.3 kB / 1.128 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.838e-05/1.29, allocations: 12 kB / 1.128 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001797/1.29, allocations: 338 kB / 1.128 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000778/1.291, allocations: 241.9 kB / 1.128 GB, free: 14.83 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009312/1.291, allocations: 362.5 kB / 1.128 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008776/1.292, allocations: 290.9 kB / 1.129 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/1.292, allocations: 0 / 1.129 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002849/1.295, allocations: 0.8212 MB / 1.13 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/1.295, allocations: 4 kB / 1.13 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.295, allocations: 0 / 1.13 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008725/1.296, allocations: 88.81 kB / 1.13 GB, free: 13.24 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009713/1.297, allocations: 147.8 kB / 1.13 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002981/1.3, allocations: 1.548 MB / 1.131 GB, free: 11.4 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/1.301, allocations: 111.2 kB / 1.131 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.974e-05/1.301, allocations: 32.05 kB / 1.131 GB, free: 11.26 MB / 0.8887 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.000748/1.302, allocations: 279.1 kB / 1.132 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003009/1.302, allocations: 106.8 kB / 1.132 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003718/1.306, allocations: 1.091 MB / 1.133 GB, free: 9.77 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/1.306, allocations: 8 kB / 1.133 GB, free: 9.762 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/1.306, allocations: 0 / 1.133 GB, free: 9.762 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-05/1.306, allocations: 7.984 kB / 1.133 GB, free: 9.754 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/1.308, allocations: 1.013 MB / 1.134 GB, free: 8.691 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/1.308, allocations: 0 / 1.134 GB, free: 8.691 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008967/1.309, allocations: 143.8 kB / 1.134 GB, free: 8.551 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000747/1.31, allocations: 84.78 kB / 1.134 GB, free: 8.465 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.179e-05/1.31, allocations: 27.97 kB / 1.134 GB, free: 8.438 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002759/1.313, allocations: 1.571 MB / 1.136 GB, free: 6.73 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.313, allocations: 0 / 1.136 GB, free: 6.73 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003004/1.316, allocations: 0.951 MB / 1.137 GB, free: 5.754 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007226/1.317, allocations: 303.4 kB / 1.137 GB, free: 5.438 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002372/1.317, allocations: 16 kB / 1.137 GB, free: 5.422 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/1.318, allocations: 79.94 kB / 1.137 GB, free: 5.344 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/1.318, allocations: 68.89 kB / 1.137 GB, free: 5.277 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/1.318, allocations: 39.97 kB / 1.137 GB, free: 5.238 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001265/1.319, allocations: 0.5581 MB / 1.138 GB, free: 4.668 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.2e-07/1.319, allocations: 0 / 1.138 GB, free: 4.668 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001421/1.321, allocations: 323 kB / 1.138 GB, free: 4.352 MB / 0.8887 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.005326/1.326, allocations: 1.99 MB / 1.14 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002463/1.329, allocations: 0.7884 MB / 1.141 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/1.329, allocations: 4 kB / 1.141 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001392/1.33, allocations: 0.5197 MB / 1.141 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002287/1.332, allocations: 388.8 kB / 1.141 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01885/1.351, allocations: 6.437 MB / 1.148 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/1.352, allocations: 1.125 MB / 1.149 GB, free: 8.996 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001509/1.354, allocations: 295.5 kB / 1.149 GB, free: 8.703 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009548/1.355, allocations: 459.2 kB / 1.15 GB, free: 8.254 MB / 0.9044 GB Notification: Performance of SimCode: time 6.92e-07/1.355, allocations: 0 / 1.15 GB, free: 8.254 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.945/3.3, allocations: 24.98 MB / 1.174 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003052/3.3, allocations: 279 kB / 1.174 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.552/6.852, allocations: 0 / 1.174 GB, free: 15.28 MB / 0.9356 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) Environment - environmentSimulation: 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