Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",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.331/2.331, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001016/0.001016, allocations: 175.4 kB / 498.1 MB, free: 5.77 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.533/1.533, allocations: 223.2 MB / 0.7948 GB, free: 18.92 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.0009411/0.000941, allocations: 98.58 kB / 0.9346 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003477, allocations: 8.656 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2975, allocations: 142.4 MB / 1.223 GB, free: 89.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1879/0.4855, allocations: 150.1 MB / 1.37 GB, free: 3.172 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/0.4858, allocations: 79.95 kB / 1.37 GB, free: 3.094 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007125/0.4929, allocations: 2.703 MB / 1.372 GB, free: 396 kB / 0.8698 GB Notification: Performance of FrontEnd: time 2.094e-06/0.493, allocations: 3.938 kB / 1.372 GB, free: 392 kB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.493, allocations: 0 / 1.372 GB, free: 392 kB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003898/0.4934, allocations: 363.3 kB / 1.373 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.4934, allocations: 8.031 kB / 1.373 GB, free: 15.97 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.031e-05/0.4935, allocations: 117.8 kB / 1.373 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.015e-05/0.4936, allocations: 75.28 kB / 1.373 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.4938, allocations: 238.3 kB / 1.373 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.342e-05/0.4938, allocations: 150.6 kB / 1.373 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.008e-05/0.4939, allocations: 150.6 kB / 1.373 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.873e-05/0.494, allocations: 109.4 kB / 1.373 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.082e-05/0.494, allocations: 79.28 kB / 1.373 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.076e-05/0.4941, allocations: 154.5 kB / 1.374 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.649e-05/0.4942, allocations: 150.6 kB / 1.374 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.106e-05/0.4942, allocations: 154.5 kB / 1.374 GB, free: 14.56 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002918/0.4945, allocations: 453.9 kB / 1.374 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 7.913e-05/0.4946, allocations: 169.1 kB / 1.375 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.4947, allocations: 75.28 kB / 1.375 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.349e-05/0.4947, allocations: 105.8 kB / 1.375 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 2.846e-06/0.4947, allocations: 0 / 1.375 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 8.336e-05/0.4948, allocations: 37.53 kB / 1.375 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.856e-05/0.4949, allocations: 130.7 kB / 1.375 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.484e-05/0.495, allocations: 93 kB / 1.375 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.495, allocations: 25.7 kB / 1.375 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.408e-05/0.495, allocations: 80.14 kB / 1.375 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/0.495, allocations: 0 / 1.375 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.9e-07/0.4951, allocations: 0 / 1.375 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.4952, allocations: 318.8 kB / 1.375 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.7e-06/0.4952, allocations: 4.125 kB / 1.375 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.058e-06/0.4952, allocations: 0 / 1.375 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.77e-05/0.4952, allocations: 79.22 kB / 1.375 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.308e-05/0.4953, allocations: 75.28 kB / 1.376 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.195e-05/0.4953, allocations: 37.62 kB / 1.376 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.701e-05/0.4954, allocations: 79.28 kB / 1.376 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.609e-05/0.4954, allocations: 75.28 kB / 1.376 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.816e-05/0.4955, allocations: 158.5 kB / 1.376 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.414e-05/0.4955, allocations: 83.28 kB / 1.376 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.921e-05/0.4956, allocations: 154.5 kB / 1.376 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.513e-05/0.4956, allocations: 79.22 kB / 1.376 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/0.4957, allocations: 75.28 kB / 1.376 GB, free: 12.09 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001072/0.4958, allocations: 268.3 kB / 1.376 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.673e-05/0.4958, allocations: 112.9 kB / 1.377 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.128e-05/0.4959, allocations: 107.9 kB / 1.377 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.74e-05/0.496, allocations: 184.2 kB / 1.377 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-05/0.4961, allocations: 180.2 kB / 1.377 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.546e-05/0.4961, allocations: 184.3 kB / 1.377 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.4964, allocations: 413.1 kB / 1.378 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.869e-05/0.4964, allocations: 105 kB / 1.378 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.551e-05/0.4965, allocations: 105 kB / 1.378 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.311e-05/0.4966, allocations: 180.2 kB / 1.378 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.143e-05/0.4966, allocations: 176.3 kB / 1.378 GB, free: 9.988 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.938e-05/0.4967, allocations: 184.5 kB / 1.378 GB, free: 9.801 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.76e-05/0.4968, allocations: 188.3 kB / 1.378 GB, free: 9.609 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.4969, allocations: 307.8 kB / 1.379 GB, free: 9.285 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.449e-05/0.497, allocations: 182 kB / 1.379 GB, free: 9.082 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.864e-05/0.4971, allocations: 184.2 kB / 1.379 GB, free: 8.895 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.25e-05/0.4972, allocations: 109 kB / 1.379 GB, free: 8.781 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.549e-05/0.4973, allocations: 184.2 kB / 1.379 GB, free: 8.594 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.894e-05/0.4973, allocations: 101 kB / 1.38 GB, free: 8.488 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.115e-05/0.4974, allocations: 79.28 kB / 1.38 GB, free: 8.41 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4974, allocations: 0 / 1.38 GB, free: 8.41 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003563/0.4977, allocations: 55.91 kB / 1.38 GB, free: 8.355 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008417/0.4986, allocations: 0.9528 MB / 1.381 GB, free: 7.414 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 4.139e-05/0.4986, allocations: 11.98 kB / 1.381 GB, free: 7.402 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4986, allocations: 0 / 1.381 GB, free: 7.402 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/0.4987, allocations: 0 / 1.381 GB, free: 7.402 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.4989, allocations: 0.52 MB / 1.381 GB, free: 6.879 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006763/0.4996, allocations: 0.5424 MB / 1.382 GB, free: 6.281 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.4999, allocations: 0.6732 MB / 1.382 GB, free: 5.582 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 1.535e-05/0.4999, allocations: 8.031 kB / 1.382 GB, free: 5.574 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.332e-05/0.4999, allocations: 15 kB / 1.382 GB, free: 5.562 MB / 0.8855 GB Notification: Performance of SimCode: time 3.1e-07/0.4999, allocations: 0 / 1.382 GB, free: 5.562 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01641/0.5163, allocations: 1.636 MB / 1.384 GB, free: 4.105 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002582/0.5166, allocations: 251.3 kB / 1.384 GB, free: 3.773 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.569/2.086, allocations: 2.672 kB / 1.384 GB, free: 3.773 MB / 0.8855 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat does not exist to compare? outputFormat=mat