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.0007731/0.0007731, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.0008942/0.0008943, allocations: 172.7 kB / 15.95 MB, free: 208 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.292/1.292, allocations: 223.2 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.336/2.336, allocations: 409.4 MB / 0.684 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003217/0.0003217, allocations: 8 kB / 0.8378 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5698/0.5702, allocations: 146.8 MB / 0.9811 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007328/0.5776, allocations: 4.397 MB / 0.9854 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1397/0.7173, allocations: 137 MB / 1.119 GB, free: 8.449 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005799/0.7179, allocations: 27.81 kB / 1.119 GB, free: 8.422 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006066/0.7185, allocations: 250.2 kB / 1.12 GB, free: 8.176 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001169/0.7197, allocations: 455.5 kB / 1.12 GB, free: 7.734 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001546/0.7212, allocations: 0.6373 MB / 1.121 GB, free: 7.102 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001175/0.7224, allocations: 1.258 MB / 1.122 GB, free: 5.84 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00077/0.7232, allocations: 0.5902 MB / 1.122 GB, free: 5.238 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004218/0.7236, allocations: 358.2 kB / 1.123 GB, free: 4.887 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004315/0.7241, allocations: 417.6 kB / 1.123 GB, free: 4.477 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.622e-05/0.7242, allocations: 28 kB / 1.123 GB, free: 4.449 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006318/0.7248, allocations: 327.7 kB / 1.123 GB, free: 4.129 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002018/0.725, allocations: 207 kB / 1.124 GB, free: 3.926 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.7252, allocations: 237 kB / 1.124 GB, free: 3.688 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001194/0.7264, allocations: 1.368 MB / 1.125 GB, free: 2.316 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.7264, allocations: 4 kB / 1.125 GB, free: 2.312 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.302e-06/0.7264, allocations: 0 / 1.125 GB, free: 2.312 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.7265, allocations: 0 / 1.125 GB, free: 2.312 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.002241/0.7287, allocations: 1.429 MB / 1.127 GB, free: 0.8281 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.7287, allocations: 8.031 kB / 1.127 GB, free: 0.8203 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000167/0.7289, allocations: 156.2 kB / 1.127 GB, free: 0.6602 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008523/0.7298, allocations: 226.1 kB / 1.127 GB, free: 448 kB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.7309, allocations: 0.8555 MB / 1.128 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.357e-05/0.731, allocations: 70 kB / 1.128 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.7311, allocations: 96 kB / 1.128 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/0.7328, allocations: 1.035 MB / 1.129 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.7328, allocations: 3.938 kB / 1.129 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-05/0.7329, allocations: 40 kB / 1.129 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.733, allocations: 24 kB / 1.129 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/0.7347, allocations: 1.167 MB / 1.13 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004079/0.7388, allocations: 2.876 MB / 1.133 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.7402, allocations: 0.7924 MB / 1.134 GB, free: 9.324 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005204/0.7407, allocations: 298.7 kB / 1.134 GB, free: 9.031 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.373e-05/0.7408, allocations: 32.61 kB / 1.134 GB, free: 9 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008127/0.7417, allocations: 499 kB / 1.135 GB, free: 8.492 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=78): time 2.425e-06/0.7417, allocations: 0 / 1.135 GB, free: 8.492 MB / 0.8887 GB Notification: Performance of matching and sorting (n=78): time 0.002832/0.7445, allocations: 1.211 MB / 1.136 GB, free: 7.258 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.831e-05/0.7446, allocations: 196.5 kB / 1.136 GB, free: 7.02 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009367/0.7456, allocations: 0.7929 MB / 1.137 GB, free: 6.199 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.635e-05/0.7456, allocations: 45.64 kB / 1.137 GB, free: 6.148 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003946/0.746, allocations: 0.5156 MB / 1.137 GB, free: 5.625 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/0.7462, allocations: 244.4 kB / 1.137 GB, free: 5.383 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.7463, allocations: 12 kB / 1.138 GB, free: 5.371 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.7464, allocations: 334 kB / 1.138 GB, free: 5.039 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004715/0.7469, allocations: 253.9 kB / 1.138 GB, free: 4.793 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005498/0.7474, allocations: 354.5 kB / 1.138 GB, free: 4.418 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005155/0.7479, allocations: 290.9 kB / 1.139 GB, free: 4.137 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.748, allocations: 0 / 1.139 GB, free: 4.137 MB / 0.8887 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001713/0.7497, allocations: 0.8134 MB / 1.139 GB, free: 3.312 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.7497, allocations: 17.34 kB / 1.139 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.7497, allocations: 4.094 kB / 1.139 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000538/0.7503, allocations: 76.78 kB / 1.14 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005906/0.7509, allocations: 155.8 kB / 1.14 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001852/0.7527, allocations: 1.532 MB / 1.141 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000588/0.7533, allocations: 107.3 kB / 1.141 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.629e-05/0.7534, allocations: 31.98 kB / 1.141 GB, free: 1.25 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.0003983/0.7538, allocations: 285.7 kB / 1.142 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.7539, allocations: 106.7 kB / 1.142 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00227/0.7562, allocations: 1.091 MB / 1.143 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.228e-06/0.7562, allocations: 12 kB / 1.143 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.7562, allocations: 0 / 1.143 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.356e-05/0.7563, allocations: 7.984 kB / 1.143 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.7574, allocations: 1.009 MB / 1.144 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.7574, allocations: 0 / 1.144 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005521/0.7579, allocations: 139.8 kB / 1.144 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000475/0.7584, allocations: 80.78 kB / 1.144 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.486e-05/0.7585, allocations: 31.97 kB / 1.144 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001729/0.7602, allocations: 1.548 MB / 1.146 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.7602, allocations: 0 / 1.146 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.7621, allocations: 0.9512 MB / 1.146 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003722/0.7625, allocations: 307.4 kB / 1.147 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.7626, allocations: 19.98 kB / 1.147 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005943/0.7632, allocations: 79.88 kB / 1.147 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.7633, allocations: 76.84 kB / 1.147 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.297e-05/0.7634, allocations: 31.98 kB / 1.147 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006973/0.7641, allocations: 0.5503 MB / 1.147 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.2e-07/0.7641, allocations: 0 / 1.147 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008064/0.7649, allocations: 327 kB / 1.148 GB, free: 10.36 MB / 0.9044 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.003286/0.7682, allocations: 1.996 MB / 1.15 GB, free: 8.516 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001463/0.7697, allocations: 0.7998 MB / 1.151 GB, free: 7.703 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.7697, allocations: 4 kB / 1.151 GB, free: 7.699 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008543/0.7706, allocations: 0.5199 MB / 1.151 GB, free: 7.168 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.772, allocations: 395.5 kB / 1.151 GB, free: 6.789 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/0.7834, allocations: 6.047 MB / 1.157 GB, free: 0.5273 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006979/0.7841, allocations: 1.102 MB / 1.158 GB, free: 15.4 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0009421/0.785, allocations: 291.6 kB / 1.159 GB, free: 15.11 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006297/0.7857, allocations: 467.2 kB / 1.159 GB, free: 14.65 MB / 0.92 GB Notification: Performance of SimCode: time 3.41e-07/0.7857, allocations: 0 / 1.159 GB, free: 14.65 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04513/0.8308, allocations: 25.01 MB / 1.184 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/0.831, allocations: 278.4 kB / 1.184 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.457/3.288, allocations: 0 / 1.184 GB, free: 5.652 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