Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.398/2.398, allocations: 390.5 MB / 398 MB, free: 10.94 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.001418/0.001418, allocations: 188.7 kB / 491.2 MB, free: 1.582 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.543/1.543, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.0008431/0.0008427, allocations: 102.5 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.988e-05/1.983e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.248, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8473/1.095, allocations: 150.2 MB / 1.359 GB, free: 17.36 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002157/1.096, allocations: 87.77 kB / 1.359 GB, free: 17.36 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006153/1.102, allocations: 2.384 MB / 1.361 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.423e-06/1.102, allocations: 0 / 1.361 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.554e-06/1.102, allocations: 3.812 kB / 1.362 GB, free: 32.99 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.0002161/1.102, allocations: 356.8 kB / 1.362 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/1.102, allocations: 8.594 kB / 1.362 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/1.102, allocations: 75.28 kB / 1.362 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/1.102, allocations: 249.8 kB / 1.362 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.861e-05/1.102, allocations: 164.2 kB / 1.362 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.706e-05/1.102, allocations: 150.6 kB / 1.362 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.102e-05/1.102, allocations: 150.6 kB / 1.363 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.192e-05/1.102, allocations: 101 kB / 1.363 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/1.102, allocations: 75.28 kB / 1.363 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.178e-05/1.102, allocations: 154.4 kB / 1.363 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-05/1.103, allocations: 157.5 kB / 1.363 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002127/1.103, allocations: 430.1 kB / 1.363 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.459e-05/1.103, allocations: 165.1 kB / 1.364 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.774e-05/1.103, allocations: 80.14 kB / 1.364 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/1.103, allocations: 79.28 kB / 1.364 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/1.103, allocations: 112.9 kB / 1.364 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/1.103, allocations: 0 / 1.364 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.609e-05/1.103, allocations: 33.14 kB / 1.364 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.588e-05/1.103, allocations: 52.39 kB / 1.364 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.807e-05/1.103, allocations: 88.88 kB / 1.364 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.429e-06/1.103, allocations: 29.83 kB / 1.364 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.622e-05/1.103, allocations: 80.14 kB / 1.364 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.052e-06/1.103, allocations: 0.75 kB / 1.364 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.2e-07/1.103, allocations: 0 / 1.364 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001008/1.103, allocations: 314.2 kB / 1.364 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.196e-06/1.103, allocations: 0 / 1.364 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.545e-06/1.103, allocations: 3.844 kB / 1.364 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.379e-05/1.103, allocations: 78.52 kB / 1.365 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.38e-05/1.103, allocations: 75.28 kB / 1.365 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.277e-05/1.103, allocations: 33.66 kB / 1.365 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.473e-05/1.103, allocations: 91 kB / 1.365 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.906e-05/1.104, allocations: 79.22 kB / 1.365 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.174e-05/1.104, allocations: 154.6 kB / 1.365 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.905e-05/1.104, allocations: 75.28 kB / 1.365 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.339e-05/1.104, allocations: 161.3 kB / 1.365 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.774e-05/1.104, allocations: 79.28 kB / 1.365 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/1.104, allocations: 75.28 kB / 1.365 GB, free: 28.94 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 9.659e-05/1.104, allocations: 255.2 kB / 1.366 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.771e-05/1.104, allocations: 141.8 kB / 1.366 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.611e-05/1.104, allocations: 101.8 kB / 1.366 GB, free: 28.44 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.758e-05/1.104, allocations: 116.3 kB / 1.366 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.932e-05/1.104, allocations: 180.3 kB / 1.366 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.856e-05/1.104, allocations: 179.6 kB / 1.366 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.014e-05/1.104, allocations: 180.2 kB / 1.366 GB, free: 27.77 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/1.104, allocations: 386 kB / 1.367 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-05/1.104, allocations: 104 kB / 1.367 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.182e-05/1.104, allocations: 108.9 kB / 1.367 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.643e-05/1.105, allocations: 180 kB / 1.367 GB, free: 26.96 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.166e-05/1.105, allocations: 177.2 kB / 1.367 GB, free: 26.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.393e-05/1.105, allocations: 187.6 kB / 1.368 GB, free: 26.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.931e-05/1.105, allocations: 176.3 kB / 1.368 GB, free: 26.41 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/1.105, allocations: 307.2 kB / 1.368 GB, free: 26.1 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.716e-05/1.105, allocations: 185.6 kB / 1.368 GB, free: 25.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.635e-05/1.105, allocations: 180.6 kB / 1.368 GB, free: 25.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.421e-05/1.105, allocations: 108.9 kB / 1.368 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.95e-05/1.105, allocations: 176.3 kB / 1.369 GB, free: 25.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.654e-05/1.105, allocations: 112.3 kB / 1.369 GB, free: 25.31 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.84e-05/1.105, allocations: 78.44 kB / 1.369 GB, free: 25.24 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.31e-07/1.105, allocations: 0 / 1.369 GB, free: 25.24 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003244/1.105, allocations: 53.06 kB / 1.369 GB, free: 25.22 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.0006954/1.106, allocations: 0.9637 MB / 1.37 GB, free: 24.35 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 2.48e-05/1.106, allocations: 3.938 kB / 1.37 GB, free: 24.35 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/1.106, allocations: 0 / 1.37 GB, free: 24.35 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.933e-06/1.106, allocations: 3.938 kB / 1.37 GB, free: 24.34 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/1.107, allocations: 0.5201 MB / 1.37 GB, free: 23.82 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003233/1.107, allocations: 189.3 kB / 1.37 GB, free: 23.62 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/1.107, allocations: 0.6755 MB / 1.371 GB, free: 22.93 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.947e-06/1.107, allocations: 0 / 1.371 GB, free: 22.93 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.719e-05/1.107, allocations: 7.438 kB / 1.371 GB, free: 22.92 MB / 0.8386 GB Notification: Performance of SimCode: time 2.91e-07/1.107, allocations: 0 / 1.371 GB, free: 22.92 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02134/1.129, allocations: 1.343 MB / 1.372 GB, free: 22.76 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/1.129, allocations: 212.4 kB / 1.373 GB, free: 22.47 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.693/2.822, allocations: 2.781 kB / 1.373 GB, free: 22.47 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat does not exist to compare? outputFormat=mat