Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",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 2.357/2.357, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001118/0.001118, allocations: 182.8 kB / 498.1 MB, free: 5.781 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.742/1.742, allocations: 223.2 MB / 0.7948 GB, free: 18.01 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.0008668/0.0008668, allocations: 100 kB / 0.9346 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004231/0.0004229, allocations: 11.84 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.275, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.467/4.742, allocations: 1.731 GB / 2.953 GB, free: 254.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003521/4.742, allocations: 87.14 kB / 2.954 GB, free: 254.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.2138/4.956, allocations: 91.98 MB / 3.043 GB, free: 176.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 5.19e-06/4.956, allocations: 0 / 3.043 GB, free: 176.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002953/4.957, allocations: 43.94 kB / 3.043 GB, free: 176.5 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.006515/4.963, allocations: 1.887 MB / 3.045 GB, free: 174.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/4.963, allocations: 8.031 kB / 3.045 GB, free: 174.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008578/4.964, allocations: 199.1 kB / 3.045 GB, free: 174.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002599/4.967, allocations: 385.2 kB / 3.046 GB, free: 174.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002971/4.97, allocations: 1.015 MB / 3.047 GB, free: 173.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/4.97, allocations: 94.69 kB / 3.047 GB, free: 173 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000488/4.97, allocations: 136 kB / 3.047 GB, free: 172.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004213/4.975, allocations: 1.52 MB / 3.049 GB, free: 171.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.107e-05/4.975, allocations: 3.938 kB / 3.049 GB, free: 171.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003431/4.975, allocations: 60 kB / 3.049 GB, free: 171.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.016e-05/4.975, allocations: 32 kB / 3.049 GB, free: 171.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003954/4.979, allocations: 2.063 MB / 3.051 GB, free: 169.1 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009284/4.988, allocations: 4.518 MB / 3.055 GB, free: 164.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002762/4.991, allocations: 1.447 MB / 3.056 GB, free: 163 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001536/4.991, allocations: 57.19 kB / 3.057 GB, free: 163 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001472/4.993, allocations: 0.8039 MB / 3.057 GB, free: 162.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=136): time 6.582e-06/4.993, allocations: 3.984 kB / 3.057 GB, free: 162.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=136): time 0.006229/4.999, allocations: 2.156 MB / 3.059 GB, free: 159.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001547/4.999, allocations: 458.1 kB / 3.06 GB, free: 159.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0024/5.002, allocations: 1.073 MB / 3.061 GB, free: 158.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001919/5.002, allocations: 61.69 kB / 3.061 GB, free: 158.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006604/5.003, allocations: 0.6032 MB / 3.062 GB, free: 157.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004094/5.003, allocations: 457.4 kB / 3.062 GB, free: 157.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.277e-05/5.003, allocations: 24 kB / 3.062 GB, free: 157.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001067/5.003, allocations: 345.9 kB / 3.062 GB, free: 156.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009321/5.004, allocations: 446.4 kB / 3.063 GB, free: 156.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/5.005, allocations: 0.654 MB / 3.063 GB, free: 155.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/5.006, allocations: 0.5246 MB / 3.064 GB, free: 155.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/5.006, allocations: 4 kB / 3.064 GB, free: 155.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003916/5.01, allocations: 1.424 MB / 3.065 GB, free: 153.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 4.126e-05/5.01, allocations: 8.625 kB / 3.065 GB, free: 153.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/5.01, allocations: 0 / 3.065 GB, free: 153.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/5.012, allocations: 173.7 kB / 3.065 GB, free: 153.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/5.013, allocations: 263.6 kB / 3.066 GB, free: 153.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004087/5.017, allocations: 3.096 MB / 3.069 GB, free: 149.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002096/5.019, allocations: 158.9 kB / 3.069 GB, free: 149.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002931/5.019, allocations: 63.95 kB / 3.069 GB, free: 149.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 141 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001658/5.021, allocations: 369.5 kB / 3.069 GB, free: 149.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001027/5.022, allocations: 154.1 kB / 3.069 GB, free: 149.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006342/5.028, allocations: 2.026 MB / 3.071 GB, free: 147.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.338e-05/5.028, allocations: 16 kB / 3.071 GB, free: 147.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.7e-05/5.028, allocations: 3.984 kB / 3.071 GB, free: 147.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.402e-05/5.029, allocations: 7.969 kB / 3.071 GB, free: 147 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003316/5.032, allocations: 1.525 MB / 3.073 GB, free: 145.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.743e-05/5.032, allocations: 0 / 3.073 GB, free: 145.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/5.033, allocations: 283.6 kB / 3.073 GB, free: 145.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00109/5.034, allocations: 169.5 kB / 3.073 GB, free: 145 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001787/5.034, allocations: 43.97 kB / 3.073 GB, free: 145 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00351/5.038, allocations: 3.15 MB / 3.077 GB, free: 141.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/5.038, allocations: 7.891 kB / 3.077 GB, free: 141.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00396/5.042, allocations: 1.65 MB / 3.078 GB, free: 139.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001158/5.043, allocations: 486.4 kB / 3.079 GB, free: 139.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004659/5.044, allocations: 36 kB / 3.079 GB, free: 139.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001365/5.045, allocations: 127.9 kB / 3.079 GB, free: 139.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002424/5.045, allocations: 113.8 kB / 3.079 GB, free: 139.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001487/5.045, allocations: 63.95 kB / 3.079 GB, free: 139 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0017/5.047, allocations: 0.8553 MB / 3.08 GB, free: 138.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.71e-07/5.047, allocations: 0 / 3.08 GB, free: 138.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002327/5.049, allocations: 0.5456 MB / 3.08 GB, free: 137.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006705/5.056, allocations: 3.323 MB / 3.084 GB, free: 134.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003224/5.059, allocations: 1.455 MB / 3.085 GB, free: 133 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/5.059, allocations: 0 / 3.085 GB, free: 133 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001664/5.061, allocations: 0.9614 MB / 3.086 GB, free: 132 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002731/5.064, allocations: 478.1 kB / 3.086 GB, free: 131.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02177/5.086, allocations: 10.33 MB / 3.096 GB, free: 120.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/5.087, allocations: 1.333 MB / 3.098 GB, free: 119.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002262/5.089, allocations: 0.4957 MB / 3.098 GB, free: 119 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001208/5.09, allocations: 0.675 MB / 3.099 GB, free: 118.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.152e-06/5.09, allocations: 0 / 3.099 GB, free: 118.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09456/5.185, allocations: 47.08 MB / 3.145 GB, free: 71.62 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002941/5.185, allocations: 271.8 kB / 3.145 GB, free: 71.25 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.693/8.878, allocations: 4 kB / 3.145 GB, free: 71.25 MB / 1.167 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.mat does not exist to compare? outputFormat=mat