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.531/2.531, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.001207/0.001208, allocations: 176.5 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.759/1.759, allocations: 221.3 MB / 0.7915 GB, free: 5.477 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.0009693/0.0009694, allocations: 99.59 kB / 0.9317 GB, free: 5.789 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.609e-05/4.628e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.254, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9756/1.23, allocations: 150.9 MB / 1.366 GB, free: 3.199 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003617/1.23, allocations: 82.58 kB / 1.366 GB, free: 3.152 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009233/1.239, allocations: 2.497 MB / 1.369 GB, free: 1.27 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.984e-06/1.239, allocations: 0 / 1.369 GB, free: 1.27 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.258e-06/1.239, allocations: 7.938 kB / 1.369 GB, free: 1.266 MB / 0.823 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.0003316/1.24, allocations: 355.6 kB / 1.369 GB, free: 0.875 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/1.24, allocations: 12.03 kB / 1.369 GB, free: 0.8633 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.517e-05/1.24, allocations: 75.28 kB / 1.369 GB, free: 0.7891 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/1.24, allocations: 238.3 kB / 1.369 GB, free: 0.5156 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.379e-05/1.24, allocations: 154.3 kB / 1.369 GB, free: 376 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.746e-05/1.24, allocations: 154.6 kB / 1.37 GB, free: 220 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.469e-05/1.24, allocations: 105 kB / 1.37 GB, free: 108 kB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.069e-05/1.24, allocations: 75.28 kB / 1.37 GB, free: 32 kB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.909e-05/1.24, allocations: 154.5 kB / 1.37 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-05/1.24, allocations: 150.6 kB / 1.37 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.346e-05/1.241, allocations: 151.1 kB / 1.37 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003283/1.241, allocations: 457 kB / 1.371 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.544e-05/1.241, allocations: 165.1 kB / 1.371 GB, free: 14.92 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.482e-05/1.241, allocations: 80.14 kB / 1.371 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.882e-05/1.241, allocations: 79.22 kB / 1.371 GB, free: 14.76 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.17e-05/1.241, allocations: 114.6 kB / 1.371 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.233e-06/1.241, allocations: 4 kB / 1.371 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.126e-05/1.241, allocations: 29.7 kB / 1.371 GB, free: 14.6 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.772e-05/1.241, allocations: 126.7 kB / 1.371 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.95e-05/1.241, allocations: 88.98 kB / 1.371 GB, free: 14.37 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/1.241, allocations: 29.7 kB / 1.371 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.395e-05/1.241, allocations: 80.14 kB / 1.371 GB, free: 14.25 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-06/1.241, allocations: 0 / 1.371 GB, free: 14.25 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.2e-07/1.241, allocations: 128 / 1.371 GB, free: 14.25 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001191/1.242, allocations: 322 kB / 1.372 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.508e-06/1.242, allocations: 0 / 1.372 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.24e-06/1.242, allocations: 3.938 kB / 1.372 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.709e-05/1.242, allocations: 75.28 kB / 1.372 GB, free: 13.86 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.798e-05/1.242, allocations: 75.28 kB / 1.372 GB, free: 13.78 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.232e-05/1.242, allocations: 33.7 kB / 1.372 GB, free: 13.74 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.108e-05/1.242, allocations: 83.22 kB / 1.372 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-05/1.242, allocations: 87.27 kB / 1.372 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.8e-05/1.242, allocations: 158.5 kB / 1.372 GB, free: 13.42 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.349e-05/1.242, allocations: 75.28 kB / 1.372 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.384e-05/1.242, allocations: 158.4 kB / 1.372 GB, free: 13.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.929e-05/1.242, allocations: 75.28 kB / 1.372 GB, free: 13.12 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/1.242, allocations: 79.28 kB / 1.373 GB, free: 13.04 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.0001169/1.242, allocations: 263.4 kB / 1.373 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.877e-05/1.242, allocations: 101 kB / 1.373 GB, free: 12.67 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.155e-05/1.243, allocations: 115.9 kB / 1.373 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.068e-05/1.243, allocations: 184.1 kB / 1.373 GB, free: 12.37 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.698e-05/1.243, allocations: 176.3 kB / 1.373 GB, free: 12.19 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.884e-05/1.243, allocations: 176.3 kB / 1.374 GB, free: 12.01 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/1.243, allocations: 413.1 kB / 1.374 GB, free: 11.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.972e-05/1.243, allocations: 104.9 kB / 1.374 GB, free: 11.44 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.181e-05/1.243, allocations: 104.9 kB / 1.374 GB, free: 11.33 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.508e-05/1.243, allocations: 180.2 kB / 1.374 GB, free: 11.15 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-05/1.243, allocations: 188.2 kB / 1.374 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.766e-05/1.243, allocations: 181.2 kB / 1.375 GB, free: 10.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.344e-05/1.244, allocations: 180.3 kB / 1.375 GB, free: 10.59 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/1.244, allocations: 303.7 kB / 1.375 GB, free: 10.27 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.837e-05/1.244, allocations: 190 kB / 1.375 GB, free: 10.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.973e-05/1.244, allocations: 184.3 kB / 1.375 GB, free: 9.875 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.699e-05/1.244, allocations: 104.2 kB / 1.376 GB, free: 9.77 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.353e-05/1.244, allocations: 180.7 kB / 1.376 GB, free: 9.586 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.454e-05/1.244, allocations: 109 kB / 1.376 GB, free: 9.473 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.053e-05/1.244, allocations: 75.28 kB / 1.376 GB, free: 9.398 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.4e-07/1.244, allocations: 3.938 kB / 1.376 GB, free: 9.395 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004928/1.245, allocations: 58.84 kB / 1.376 GB, free: 9.34 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.0006661/1.245, allocations: 334.2 kB / 1.376 GB, free: 9.039 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.399e-05/1.245, allocations: 0 / 1.376 GB, free: 9.039 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.245, allocations: 3.75 kB / 1.376 GB, free: 9.039 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/1.245, allocations: 0 / 1.376 GB, free: 9.039 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/1.246, allocations: 0.5224 MB / 1.377 GB, free: 8.512 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001888/1.246, allocations: 116.3 kB / 1.377 GB, free: 8.375 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/1.246, allocations: 0.6809 MB / 1.378 GB, free: 7.668 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.034e-05/1.246, allocations: 0 / 1.378 GB, free: 7.668 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.25e-05/1.246, allocations: 7.438 kB / 1.378 GB, free: 7.66 MB / 0.8386 GB Notification: Performance of SimCode: time 3.51e-07/1.246, allocations: 0 / 1.378 GB, free: 7.66 MB / 0.8386 GB Notification: Performance of Templates: time 0.00383/1.25, allocations: 0.9798 MB / 1.379 GB, free: 6.699 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