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.197/2.197, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001515/0.001515, allocations: 180.8 kB / 487.4 MB, free: 5.059 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.508/1.508, allocations: 221.5 MB / 0.7824 GB, free: 0.9688 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009457/0.0009457, allocations: 91.84 kB / 0.9219 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.957e-05/2.967e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2364, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9236/1.16, allocations: 149.4 MB / 1.352 GB, free: 18.16 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/1.16, allocations: 85.69 kB / 1.352 GB, free: 18.16 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007231/1.168, allocations: 2.393 MB / 1.354 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.834e-06/1.168, allocations: 0 / 1.354 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.394e-06/1.168, allocations: 3.844 kB / 1.354 GB, free: 33.79 MB / 0.8386 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.0002529/1.168, allocations: 352.6 kB / 1.355 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/1.168, allocations: 8.906 kB / 1.355 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.242e-05/1.168, allocations: 76 kB / 1.355 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/1.168, allocations: 252 kB / 1.355 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.601e-05/1.168, allocations: 154.2 kB / 1.355 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.972e-05/1.168, allocations: 150.6 kB / 1.355 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.698e-05/1.168, allocations: 152.8 kB / 1.355 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.089e-05/1.169, allocations: 104.9 kB / 1.356 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.519e-05/1.169, allocations: 75.89 kB / 1.356 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.714e-05/1.169, allocations: 158.5 kB / 1.356 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.829e-05/1.169, allocations: 154.4 kB / 1.356 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002486/1.169, allocations: 427.2 kB / 1.356 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.757e-05/1.169, allocations: 165.7 kB / 1.356 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.219e-05/1.169, allocations: 84.14 kB / 1.357 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/1.169, allocations: 75.28 kB / 1.357 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.78e-05/1.169, allocations: 117.5 kB / 1.357 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/1.169, allocations: 0 / 1.357 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.347e-05/1.169, allocations: 26.92 kB / 1.357 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.283e-05/1.169, allocations: 52.39 kB / 1.357 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.898e-05/1.169, allocations: 93.69 kB / 1.357 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.33e-06/1.169, allocations: 25.7 kB / 1.357 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.253e-05/1.169, allocations: 80.14 kB / 1.357 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.522e-06/1.169, allocations: 0 / 1.357 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.81e-07/1.169, allocations: 0 / 1.357 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001055/1.17, allocations: 315.5 kB / 1.357 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.807e-06/1.17, allocations: 0 / 1.357 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.053e-06/1.17, allocations: 3.844 kB / 1.357 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.26e-05/1.17, allocations: 75.28 kB / 1.357 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.672e-05/1.17, allocations: 79.41 kB / 1.357 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.589e-05/1.17, allocations: 34.72 kB / 1.358 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.083e-05/1.17, allocations: 82.97 kB / 1.358 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.182e-05/1.17, allocations: 75.89 kB / 1.358 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.399e-05/1.17, allocations: 155.3 kB / 1.358 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.462e-05/1.17, allocations: 79.83 kB / 1.358 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.758e-05/1.17, allocations: 159.1 kB / 1.358 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.89e-05/1.17, allocations: 75.28 kB / 1.358 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.259e-05/1.17, allocations: 84.69 kB / 1.358 GB, free: 29.74 MB / 0.8386 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 () * 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.0001074/1.17, allocations: 252.3 kB / 1.358 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.935e-05/1.17, allocations: 136.6 kB / 1.359 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.133e-05/1.17, allocations: 109.5 kB / 1.359 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.529e-05/1.17, allocations: 117.7 kB / 1.359 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.896e-05/1.17, allocations: 176.8 kB / 1.359 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.609e-05/1.171, allocations: 181 kB / 1.359 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.929e-05/1.171, allocations: 176.9 kB / 1.359 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/1.171, allocations: 383.6 kB / 1.36 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-05/1.171, allocations: 105.4 kB / 1.36 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.426e-05/1.171, allocations: 109.6 kB / 1.36 GB, free: 27.94 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.929e-05/1.171, allocations: 177.5 kB / 1.36 GB, free: 27.76 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.431e-05/1.171, allocations: 185.6 kB / 1.36 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.32e-05/1.171, allocations: 184.9 kB / 1.36 GB, free: 27.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.773e-05/1.171, allocations: 180.8 kB / 1.361 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/1.171, allocations: 309.7 kB / 1.361 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.621e-05/1.171, allocations: 187.5 kB / 1.361 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.34e-05/1.171, allocations: 192 kB / 1.361 GB, free: 26.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.381e-05/1.172, allocations: 102.7 kB / 1.361 GB, free: 26.39 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.958e-05/1.172, allocations: 181 kB / 1.361 GB, free: 26.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.631e-05/1.172, allocations: 104.9 kB / 1.362 GB, free: 26.09 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.496e-05/1.172, allocations: 79.92 kB / 1.362 GB, free: 26.02 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.172, allocations: 0 / 1.362 GB, free: 26.02 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003509/1.172, allocations: 53.19 kB / 1.362 GB, free: 26 MB / 0.8386 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 () * 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.0007833/1.173, allocations: 0.9512 MB / 1.363 GB, free: 25.15 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 2.924e-05/1.173, allocations: 3.938 kB / 1.363 GB, free: 25.14 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.173, allocations: 0 / 1.363 GB, free: 25.14 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/1.173, allocations: 3.938 kB / 1.363 GB, free: 25.14 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/1.173, allocations: 0.5276 MB / 1.363 GB, free: 24.61 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003617/1.174, allocations: 177.5 kB / 1.363 GB, free: 24.43 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/1.174, allocations: 0.6788 MB / 1.364 GB, free: 23.73 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.616e-06/1.174, allocations: 3.938 kB / 1.364 GB, free: 23.72 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.966e-05/1.174, allocations: 8 kB / 1.364 GB, free: 23.71 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.174, allocations: 0 / 1.364 GB, free: 23.71 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/1.195, allocations: 1.348 MB / 1.365 GB, free: 23.55 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001684/1.196, allocations: 203.5 kB / 1.366 GB, free: 23.29 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.473/2.669, allocations: 1.688 kB / 1.366 GB, free: 23.29 MB / 0.8386 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