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.312/2.312, allocations: 387.1 MB / 399.7 MB, free: 9.5 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.001069/0.001069, allocations: 186.4 kB / 492.3 MB, free: 0.6094 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.604/1.604, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0008838/0.0008838, allocations: 91.89 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.656e-05/2.659e-05, allocations: 7.984 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2344, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8458/1.08, allocations: 150.1 MB / 1.359 GB, free: 18.94 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/1.081, allocations: 81.72 kB / 1.359 GB, free: 18.94 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006681/1.087, allocations: 2.51 MB / 1.361 GB, free: 34.55 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.144e-06/1.087, allocations: 0.8125 kB / 1.361 GB, free: 34.55 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.476e-06/1.087, allocations: 0 / 1.361 GB, free: 34.55 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.0002251/1.088, allocations: 343.8 kB / 1.362 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/1.088, allocations: 7.688 kB / 1.362 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.705e-05/1.088, allocations: 83.09 kB / 1.362 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/1.088, allocations: 239.5 kB / 1.362 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.383e-05/1.088, allocations: 154.6 kB / 1.362 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.31e-05/1.088, allocations: 152.5 kB / 1.362 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.565e-05/1.088, allocations: 107.7 kB / 1.363 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/1.088, allocations: 75.28 kB / 1.363 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.997e-05/1.088, allocations: 154.4 kB / 1.363 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.936e-05/1.088, allocations: 154.6 kB / 1.363 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.023e-05/1.088, allocations: 150.6 kB / 1.363 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002236/1.088, allocations: 447.5 kB / 1.363 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.801e-05/1.088, allocations: 178.3 kB / 1.364 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.902e-05/1.088, allocations: 84.14 kB / 1.364 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/1.089, allocations: 79.22 kB / 1.364 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/1.089, allocations: 105.8 kB / 1.364 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/1.089, allocations: 0 / 1.364 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.385e-05/1.089, allocations: 28.38 kB / 1.364 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/1.089, allocations: 126.7 kB / 1.364 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.807e-05/1.089, allocations: 96.78 kB / 1.364 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.462e-06/1.089, allocations: 25.7 kB / 1.364 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.532e-05/1.089, allocations: 81.03 kB / 1.364 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-06/1.089, allocations: 3.781 kB / 1.364 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/1.089, allocations: 0 / 1.364 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.734e-05/1.089, allocations: 314.3 kB / 1.365 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.146e-06/1.089, allocations: 0 / 1.365 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.685e-06/1.089, allocations: 0.75 kB / 1.365 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.903e-05/1.089, allocations: 75.41 kB / 1.365 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-05/1.089, allocations: 83.23 kB / 1.365 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.583e-05/1.089, allocations: 30.66 kB / 1.365 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/1.089, allocations: 79.12 kB / 1.365 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/1.089, allocations: 80.02 kB / 1.365 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.814e-05/1.089, allocations: 158.4 kB / 1.365 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.993e-05/1.089, allocations: 79.97 kB / 1.365 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.082e-05/1.089, allocations: 158.6 kB / 1.365 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.293e-05/1.089, allocations: 75.28 kB / 1.365 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/1.089, allocations: 83.16 kB / 1.365 GB, free: 30.41 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 7.747e-05/1.089, allocations: 253.2 kB / 1.366 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.567e-05/1.089, allocations: 112.3 kB / 1.366 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.953e-05/1.09, allocations: 117.8 kB / 1.366 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.724e-05/1.09, allocations: 180.3 kB / 1.366 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.397e-05/1.09, allocations: 177 kB / 1.366 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.75e-05/1.09, allocations: 182 kB / 1.366 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/1.09, allocations: 402.3 kB / 1.367 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.83e-05/1.09, allocations: 106.4 kB / 1.367 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.935e-05/1.09, allocations: 112.9 kB / 1.367 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.035e-05/1.09, allocations: 181.7 kB / 1.367 GB, free: 28.53 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.37e-05/1.09, allocations: 180.2 kB / 1.367 GB, free: 28.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.248e-05/1.09, allocations: 182.2 kB / 1.367 GB, free: 28.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-05/1.09, allocations: 184.2 kB / 1.368 GB, free: 27.98 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/1.09, allocations: 304.6 kB / 1.368 GB, free: 27.67 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.633e-05/1.09, allocations: 187.3 kB / 1.368 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.305e-05/1.09, allocations: 181.8 kB / 1.368 GB, free: 27.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.164e-05/1.091, allocations: 104.9 kB / 1.368 GB, free: 27.17 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.911e-05/1.091, allocations: 186 kB / 1.369 GB, free: 26.99 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.843e-05/1.091, allocations: 108.8 kB / 1.369 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.996e-05/1.091, allocations: 79.22 kB / 1.369 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.71e-07/1.091, allocations: 0 / 1.369 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000366/1.091, allocations: 59.42 kB / 1.369 GB, free: 26.78 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.0005283/1.092, allocations: 332.8 kB / 1.369 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 2.806e-05/1.092, allocations: 2.062 kB / 1.369 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.092, allocations: 4 kB / 1.369 GB, free: 26.56 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/1.092, allocations: 3.938 kB / 1.369 GB, free: 26.56 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/1.092, allocations: 0.5291 MB / 1.37 GB, free: 26.03 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001511/1.092, allocations: 114 kB / 1.37 GB, free: 25.9 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/1.092, allocations: 0.6747 MB / 1.37 GB, free: 25.2 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.656e-06/1.092, allocations: 6.109 kB / 1.37 GB, free: 25.2 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.023e-05/1.092, allocations: 7.438 kB / 1.37 GB, free: 25.19 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.092, allocations: 0 / 1.37 GB, free: 25.19 MB / 0.8386 GB Notification: Performance of Templates: time 0.002861/1.095, allocations: 0.9709 MB / 1.371 GB, free: 25.07 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