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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|alt",fileNamePrefix="Buildings_9_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_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.366/2.366, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.00122/0.00122, allocations: 172.9 kB / 487.4 MB, free: 5.047 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.799/1.799, allocations: 221.5 MB / 0.7824 GB, free: 0.9609 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.0009015/0.0009015, allocations: 101.1 kB / 0.9219 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.092e-05/2.103e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2301, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8039/1.034, allocations: 149.4 MB / 1.352 GB, free: 18.46 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002011/1.034, allocations: 81.53 kB / 1.352 GB, free: 18.46 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006286/1.041, allocations: 2.395 MB / 1.354 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.52e-07/1.041, allocations: 0 / 1.354 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.69e-06/1.041, allocations: 1.75 kB / 1.354 GB, free: 34.09 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.0002146/1.041, allocations: 346.6 kB / 1.355 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/1.041, allocations: 7.688 kB / 1.355 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.623e-05/1.041, allocations: 83.41 kB / 1.355 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/1.041, allocations: 244 kB / 1.355 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.414e-05/1.041, allocations: 159.1 kB / 1.355 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.119e-05/1.041, allocations: 150.6 kB / 1.355 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.664e-05/1.041, allocations: 150.6 kB / 1.355 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.611e-05/1.041, allocations: 105.5 kB / 1.355 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/1.041, allocations: 75.28 kB / 1.356 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.835e-05/1.041, allocations: 158.5 kB / 1.356 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.939e-05/1.041, allocations: 154.6 kB / 1.356 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002071/1.042, allocations: 424.3 kB / 1.356 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.92e-05/1.042, allocations: 171.9 kB / 1.356 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.626e-05/1.042, allocations: 80.14 kB / 1.356 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.358e-05/1.042, allocations: 79.84 kB / 1.357 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/1.042, allocations: 110.5 kB / 1.357 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/1.042, allocations: 0 / 1.357 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.05e-05/1.042, allocations: 30.3 kB / 1.357 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.536e-05/1.042, allocations: 56.36 kB / 1.357 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.903e-05/1.042, allocations: 88.91 kB / 1.357 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.738e-06/1.042, allocations: 25.83 kB / 1.357 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.373e-05/1.042, allocations: 84.8 kB / 1.357 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.12e-07/1.042, allocations: 3.906 kB / 1.357 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2e-07/1.042, allocations: 0 / 1.357 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.886e-05/1.042, allocations: 311.5 kB / 1.357 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.975e-06/1.042, allocations: 0 / 1.357 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.465e-06/1.042, allocations: 0 / 1.357 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.569e-05/1.042, allocations: 75.89 kB / 1.357 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.128e-05/1.042, allocations: 75.28 kB / 1.357 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.678e-05/1.042, allocations: 38.06 kB / 1.357 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/1.042, allocations: 83.67 kB / 1.357 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/1.042, allocations: 75.89 kB / 1.358 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.664e-05/1.042, allocations: 161.7 kB / 1.358 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.12e-05/1.042, allocations: 75.98 kB / 1.358 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.785e-05/1.042, allocations: 155.1 kB / 1.358 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.959e-05/1.043, allocations: 82.39 kB / 1.358 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/1.043, allocations: 79.03 kB / 1.358 GB, free: 30.05 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 8.728e-05/1.043, allocations: 256.1 kB / 1.358 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.393e-05/1.043, allocations: 105.6 kB / 1.358 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.036e-05/1.043, allocations: 114 kB / 1.359 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.541e-05/1.043, allocations: 184.7 kB / 1.359 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-05/1.043, allocations: 184.6 kB / 1.359 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-05/1.043, allocations: 177 kB / 1.359 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/1.043, allocations: 383.8 kB / 1.359 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.941e-05/1.043, allocations: 101.7 kB / 1.36 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.532e-05/1.043, allocations: 101.7 kB / 1.36 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.077e-05/1.043, allocations: 188.8 kB / 1.36 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.825e-05/1.043, allocations: 180.7 kB / 1.36 GB, free: 28.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.002e-05/1.043, allocations: 184 kB / 1.36 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-05/1.043, allocations: 182 kB / 1.36 GB, free: 27.65 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/1.043, allocations: 310.4 kB / 1.361 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/1.044, allocations: 183.3 kB / 1.361 GB, free: 27.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.203e-05/1.044, allocations: 177.6 kB / 1.361 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.955e-05/1.044, allocations: 104.8 kB / 1.361 GB, free: 26.85 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.658e-05/1.044, allocations: 185.7 kB / 1.361 GB, free: 26.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/1.044, allocations: 102.3 kB / 1.361 GB, free: 26.55 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.37e-05/1.044, allocations: 86.56 kB / 1.361 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.1e-07/1.044, allocations: 0 / 1.361 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003404/1.044, allocations: 54.23 kB / 1.361 GB, free: 26.46 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.0004538/1.045, allocations: 327 kB / 1.362 GB, free: 26.24 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 3.391e-05/1.045, allocations: 3.938 kB / 1.362 GB, free: 26.24 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/1.045, allocations: 4 kB / 1.362 GB, free: 26.23 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.714e-06/1.045, allocations: 0 / 1.362 GB, free: 26.23 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/1.045, allocations: 0.5199 MB / 1.362 GB, free: 25.71 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001619/1.045, allocations: 116.6 kB / 1.362 GB, free: 25.58 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/1.045, allocations: 0.6752 MB / 1.363 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.744e-06/1.045, allocations: 4.609 kB / 1.363 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.477e-06/1.045, allocations: 7.438 kB / 1.363 GB, free: 24.87 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.045, allocations: 0 / 1.363 GB, free: 24.87 MB / 0.8386 GB Notification: Performance of Templates: time 0.002652/1.048, allocations: 0.981 MB / 1.364 GB, free: 24.72 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile (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 & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches