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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|alt",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|alt",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.514/2.514, allocations: 390.5 MB / 398 MB, free: 10.95 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.001475/0.001475, allocations: 176 kB / 491.2 MB, free: 1.574 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.931/1.931, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.0009322/0.0009322, allocations: 91.89 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.372e-05/2.382e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2551, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8661/1.121, allocations: 150.2 MB / 1.359 GB, free: 17.42 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/1.122, allocations: 87.3 kB / 1.359 GB, free: 17.42 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006565/1.128, allocations: 2.393 MB / 1.361 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.763e-06/1.128, allocations: 0.6562 kB / 1.361 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.723e-06/1.128, allocations: 0.8438 kB / 1.361 GB, free: 33.04 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.0002657/1.129, allocations: 345.8 kB / 1.362 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/1.129, allocations: 11.72 kB / 1.362 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.091e-05/1.129, allocations: 79.12 kB / 1.362 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/1.129, allocations: 249.6 kB / 1.362 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.379e-05/1.129, allocations: 150.6 kB / 1.362 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.763e-05/1.129, allocations: 150.6 kB / 1.362 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.475e-05/1.129, allocations: 150.6 kB / 1.362 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.309e-05/1.129, allocations: 108.8 kB / 1.363 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.321e-05/1.129, allocations: 79.27 kB / 1.363 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.202e-05/1.129, allocations: 150.6 kB / 1.363 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.845e-05/1.129, allocations: 150.6 kB / 1.363 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002749/1.129, allocations: 434 kB / 1.363 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.536e-05/1.13, allocations: 173 kB / 1.364 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.639e-05/1.13, allocations: 80.14 kB / 1.364 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/1.13, allocations: 75.28 kB / 1.364 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/1.13, allocations: 105.8 kB / 1.364 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.283e-06/1.13, allocations: 0 / 1.364 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.941e-05/1.13, allocations: 36.41 kB / 1.364 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/1.13, allocations: 52.39 kB / 1.364 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/1.13, allocations: 92.47 kB / 1.364 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/1.13, allocations: 25.7 kB / 1.364 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.304e-05/1.13, allocations: 80.14 kB / 1.364 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.192e-06/1.13, allocations: 0 / 1.364 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.8e-07/1.13, allocations: 3.844 kB / 1.364 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001281/1.13, allocations: 311 kB / 1.364 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.509e-06/1.13, allocations: 4 kB / 1.364 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.038e-06/1.13, allocations: 0 / 1.364 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.579e-05/1.13, allocations: 75.28 kB / 1.364 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.442e-05/1.13, allocations: 78.61 kB / 1.365 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.769e-05/1.13, allocations: 33.5 kB / 1.365 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.748e-05/1.13, allocations: 86.56 kB / 1.365 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.595e-05/1.13, allocations: 79.22 kB / 1.365 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.092e-05/1.131, allocations: 158.6 kB / 1.365 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.097e-05/1.131, allocations: 79.16 kB / 1.365 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.487e-05/1.131, allocations: 166.4 kB / 1.365 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.038e-05/1.131, allocations: 78 kB / 1.365 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/1.131, allocations: 75.28 kB / 1.365 GB, free: 28.99 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.0001365/1.131, allocations: 255.4 kB / 1.365 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.586e-05/1.131, allocations: 112.9 kB / 1.366 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.642e-05/1.131, allocations: 114.5 kB / 1.366 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.677e-05/1.131, allocations: 176.3 kB / 1.366 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.784e-05/1.131, allocations: 184 kB / 1.366 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.4e-05/1.131, allocations: 176.3 kB / 1.366 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/1.132, allocations: 384.5 kB / 1.367 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.019e-05/1.132, allocations: 108.8 kB / 1.367 GB, free: 27.44 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.203e-05/1.132, allocations: 101 kB / 1.367 GB, free: 27.33 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-05/1.132, allocations: 179.5 kB / 1.367 GB, free: 27.15 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.864e-05/1.132, allocations: 184.2 kB / 1.367 GB, free: 26.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.498e-05/1.132, allocations: 180.1 kB / 1.367 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.466e-05/1.132, allocations: 181.2 kB / 1.367 GB, free: 26.6 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/1.132, allocations: 310 kB / 1.368 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.216e-05/1.132, allocations: 178.7 kB / 1.368 GB, free: 26.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.911e-05/1.132, allocations: 183.6 kB / 1.368 GB, free: 25.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.662e-05/1.132, allocations: 108.9 kB / 1.368 GB, free: 25.79 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.668e-05/1.132, allocations: 182.5 kB / 1.368 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.694e-05/1.132, allocations: 105.4 kB / 1.368 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.161e-05/1.133, allocations: 75.28 kB / 1.369 GB, free: 25.43 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.133, allocations: 3.812 kB / 1.369 GB, free: 25.43 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00043/1.133, allocations: 56.66 kB / 1.369 GB, free: 25.41 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.0007091/1.134, allocations: 333.4 kB / 1.369 GB, free: 25.18 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.977e-05/1.134, allocations: 0 / 1.369 GB, free: 25.18 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/1.134, allocations: 3.844 kB / 1.369 GB, free: 25.18 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.575e-06/1.134, allocations: 3.938 kB / 1.369 GB, free: 25.18 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/1.134, allocations: 0.5257 MB / 1.369 GB, free: 24.65 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002374/1.134, allocations: 120.8 kB / 1.37 GB, free: 24.52 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/1.135, allocations: 0.6716 MB / 1.37 GB, free: 23.82 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.137e-05/1.135, allocations: 0 / 1.37 GB, free: 23.82 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.334e-05/1.135, allocations: 11.25 kB / 1.37 GB, free: 23.81 MB / 0.8386 GB Notification: Performance of SimCode: time 4.4e-07/1.135, allocations: 0 / 1.37 GB, free: 23.81 MB / 0.8386 GB Notification: Performance of Templates: time 0.003253/1.138, allocations: 0.9775 MB / 1.371 GB, free: 23.66 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile (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 & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches