Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|alt",fileNamePrefix="Buildings_10_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_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007683/0.007683, allocations: 97.38 kB / 15.73 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 195.5 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.59/2.59, allocations: 437 MB / 0.7105 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.84 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8806/0.8818, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002401/0.8843, allocations: 1.251 MB / 1.168 GB, free: 2.598 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001572/0.8859, allocations: 1.018 MB / 1.169 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.962e-05/0.8859, allocations: 0 / 1.169 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.798e-05/0.886, allocations: 0 / 1.169 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000466/0.8864, allocations: 107.6 kB / 1.169 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.469e-06/0.8864, allocations: 0 / 1.169 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.011e-05/0.8865, allocations: 15.86 kB / 1.169 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.139e-05/0.8866, allocations: 4 kB / 1.169 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.613e-05/0.8866, allocations: 0 / 1.169 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.8867, allocations: 4 kB / 1.169 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.004e-06/0.8867, allocations: 0 / 1.169 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002209/0.8869, allocations: 127.8 kB / 1.169 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.165e-06/0.8869, allocations: 3.984 kB / 1.169 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.718e-05/0.887, allocations: 3.938 kB / 1.169 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.8872, allocations: 95.2 kB / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.8872, allocations: 4 kB / 1.169 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.492e-06/0.8872, allocations: 0 / 1.169 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.635e-06/0.8872, allocations: 0 / 1.169 GB, free: 1.223 MB / 0.8887 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.0003348/0.8876, allocations: 364.1 kB / 1.17 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.8876, allocations: 12.03 kB / 1.17 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.13e-05/0.8877, allocations: 76.22 kB / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.8878, allocations: 235.7 kB / 1.17 GB, free: 476 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.849e-05/0.8879, allocations: 150.9 kB / 1.17 GB, free: 324 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.981e-05/0.888, allocations: 150.9 kB / 1.17 GB, free: 172 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.617e-05/0.888, allocations: 117.1 kB / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.853e-05/0.8881, allocations: 75.28 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.198e-05/0.8881, allocations: 150.6 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.518e-05/0.8882, allocations: 150.6 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.355e-05/0.8883, allocations: 158.5 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002743/0.8885, allocations: 442 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 7.139e-05/0.8886, allocations: 169.1 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.268e-05/0.8887, allocations: 84.14 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.8887, allocations: 75.28 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.296e-05/0.8888, allocations: 121.7 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.8888, allocations: 0 / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 6.615e-05/0.8888, allocations: 25.7 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.254e-05/0.8889, allocations: 130.7 kB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.889, allocations: 89.86 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.889, allocations: 25.7 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.307e-05/0.8891, allocations: 88.14 kB / 1.172 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.353e-06/0.8891, allocations: 0 / 1.172 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.796e-05/0.8891, allocations: 13.84 kB / 1.172 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.8892, allocations: 314.8 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.819e-06/0.8892, allocations: 0 / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.188e-06/0.8892, allocations: 0 / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.807e-05/0.8893, allocations: 79.22 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.136e-05/0.8893, allocations: 83.22 kB / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.498e-05/0.8894, allocations: 33.58 kB / 1.172 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.759e-05/0.8894, allocations: 83.28 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.651e-05/0.8894, allocations: 79.28 kB / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.708e-05/0.8895, allocations: 158.5 kB / 1.173 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.799e-05/0.8896, allocations: 83.27 kB / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.908e-05/0.8896, allocations: 150.6 kB / 1.173 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.475e-05/0.8897, allocations: 87.2 kB / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.8897, allocations: 75.28 kB / 1.173 GB, free: 12.94 MB / 0.9044 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001156/0.8899, allocations: 260.4 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.852e-05/0.8899, allocations: 117 kB / 1.173 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.665e-05/0.89, allocations: 112.1 kB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.011e-05/0.8901, allocations: 180.2 kB / 1.174 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-05/0.8901, allocations: 180.2 kB / 1.174 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.104e-05/0.8902, allocations: 184.3 kB / 1.174 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.8905, allocations: 405.2 kB / 1.174 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.61e-05/0.8905, allocations: 101 kB / 1.175 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.82e-05/0.8906, allocations: 108.9 kB / 1.175 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.807e-05/0.8906, allocations: 180.3 kB / 1.175 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.477e-05/0.8907, allocations: 180.3 kB / 1.175 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.311e-05/0.8908, allocations: 180.2 kB / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.585e-05/0.8908, allocations: 188.2 kB / 1.175 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.891, allocations: 299.8 kB / 1.176 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.833e-05/0.8911, allocations: 186 kB / 1.176 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/0.8911, allocations: 188.2 kB / 1.176 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.987e-05/0.8912, allocations: 105 kB / 1.176 GB, free: 9.641 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.694e-05/0.8913, allocations: 180.2 kB / 1.176 GB, free: 9.457 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/0.8913, allocations: 105 kB / 1.176 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.452e-05/0.8914, allocations: 75.28 kB / 1.176 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8914, allocations: 0 / 1.176 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003477/0.8917, allocations: 51.83 kB / 1.177 GB, free: 9.223 MB / 0.9044 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004911/0.8922, allocations: 317.9 kB / 1.177 GB, free: 8.938 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 3.737e-05/0.8923, allocations: 0 / 1.177 GB, free: 8.938 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.8923, allocations: 0 / 1.177 GB, free: 8.938 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.816e-06/0.8923, allocations: 3.938 kB / 1.177 GB, free: 8.934 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.8926, allocations: 460.8 kB / 1.177 GB, free: 8.48 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002274/0.8929, allocations: 168.7 kB / 1.177 GB, free: 8.289 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.8931, allocations: 0.669 MB / 1.178 GB, free: 7.594 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.664e-06/0.8931, allocations: 0 / 1.178 GB, free: 7.594 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.195e-05/0.8931, allocations: 7.438 kB / 1.178 GB, free: 7.586 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/0.8931, allocations: 4 kB / 1.178 GB, free: 7.582 MB / 0.9044 GB Notification: Performance of Templates: time 0.002894/0.896, allocations: 0.9842 MB / 1.179 GB, free: 6.613 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches