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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001265/0.001265, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001603/0.001604, allocations: 183.7 kB / 16.92 MB, free: 6.738 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.389/1.389, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.567/2.567, allocations: 437.8 MB / 0.7128 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003883/0.0003884, allocations: 8 kB / 0.8735 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7327/0.7331, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001393/0.7345, allocations: 0.9684 MB / 1.025 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001566/0.7361, allocations: 0.9842 MB / 1.026 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.443e-05/0.7361, allocations: 3.938 kB / 1.026 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.832e-05/0.7362, allocations: 0 / 1.026 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004134/0.7366, allocations: 87.81 kB / 1.026 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 2.615e-06/0.7366, allocations: 0 / 1.026 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.062e-05/0.7367, allocations: 7.922 kB / 1.026 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.133e-05/0.7367, allocations: 0 / 1.026 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.036e-05/0.7367, allocations: 4 kB / 1.026 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.7369, allocations: 5.875 kB / 1.026 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.215e-06/0.7369, allocations: 0 / 1.026 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002039/0.7371, allocations: 111.9 kB / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.47e-06/0.7371, allocations: 0 / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.22e-05/0.7371, allocations: 33.62 kB / 1.026 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.7373, allocations: 67.92 kB / 1.026 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.7373, allocations: 4 kB / 1.026 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.905e-06/0.7373, allocations: 4 kB / 1.026 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.7373, allocations: 0 / 1.026 GB, free: 13.61 MB / 0.7794 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.0003501/0.7377, allocations: 347.5 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.7378, allocations: 8.031 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.949e-05/0.7378, allocations: 76.22 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.738, allocations: 243.7 kB / 1.027 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.403e-05/0.7381, allocations: 154.9 kB / 1.027 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.568e-05/0.7381, allocations: 150.9 kB / 1.027 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.668e-05/0.7382, allocations: 109 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.341e-05/0.7382, allocations: 75.28 kB / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.93e-05/0.7383, allocations: 150.6 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.895e-05/0.7383, allocations: 150.6 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.309e-05/0.7384, allocations: 162.6 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002884/0.7387, allocations: 441.9 kB / 1.028 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.041e-05/0.7388, allocations: 169.1 kB / 1.028 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.687e-05/0.7388, allocations: 84.14 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.7389, allocations: 79.28 kB / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.541e-05/0.7389, allocations: 113.8 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.7389, allocations: 0 / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.749e-05/0.739, allocations: 29.75 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.7391, allocations: 126.7 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.981e-05/0.7392, allocations: 97.8 kB / 1.029 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.7392, allocations: 33.77 kB / 1.029 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.775e-05/0.7393, allocations: 88.12 kB / 1.029 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-06/0.7393, allocations: 0 / 1.029 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.91e-05/0.7393, allocations: 9.719 kB / 1.029 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.7394, allocations: 314.8 kB / 1.029 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.168e-06/0.7394, allocations: 0 / 1.029 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.998e-06/0.7394, allocations: 4.031 kB / 1.029 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.797e-05/0.7395, allocations: 75.28 kB / 1.029 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.628e-05/0.7395, allocations: 75.28 kB / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.286e-05/0.7396, allocations: 37.64 kB / 1.029 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.834e-05/0.7396, allocations: 81 kB / 1.029 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.597e-05/0.7396, allocations: 79.22 kB / 1.029 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.615e-05/0.7397, allocations: 150.6 kB / 1.029 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.106e-05/0.7397, allocations: 83.27 kB / 1.03 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.779e-05/0.7398, allocations: 162.4 kB / 1.03 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.123e-05/0.7399, allocations: 83.28 kB / 1.03 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.341e-05/0.7399, allocations: 79.22 kB / 1.03 GB, free: 9.34 MB / 0.7794 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.0001479/0.7401, allocations: 262.9 kB / 1.03 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.468e-05/0.7402, allocations: 104.9 kB / 1.03 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.262e-05/0.7402, allocations: 116 kB / 1.03 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.753e-05/0.7403, allocations: 180.3 kB / 1.03 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.963e-05/0.7404, allocations: 180.3 kB / 1.031 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.587e-05/0.7405, allocations: 180.2 kB / 1.031 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.7407, allocations: 397.2 kB / 1.031 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-05/0.7408, allocations: 112.9 kB / 1.031 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.276e-05/0.7408, allocations: 108.9 kB / 1.031 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-05/0.7409, allocations: 180.3 kB / 1.032 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-05/0.741, allocations: 180.2 kB / 1.032 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.052e-05/0.7411, allocations: 184.2 kB / 1.032 GB, free: 7.062 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.85e-05/0.7412, allocations: 180.2 kB / 1.032 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/0.7413, allocations: 307.8 kB / 1.032 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.453e-05/0.7414, allocations: 190 kB / 1.033 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.579e-05/0.7415, allocations: 176.3 kB / 1.033 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.607e-05/0.7416, allocations: 112.9 kB / 1.033 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.667e-05/0.7417, allocations: 176.3 kB / 1.033 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.659e-05/0.7418, allocations: 101 kB / 1.033 GB, free: 5.762 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.732e-05/0.7418, allocations: 87.27 kB / 1.033 GB, free: 5.676 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7418, allocations: 3.938 kB / 1.033 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003398/0.7422, allocations: 36 kB / 1.033 GB, free: 5.637 MB / 0.7794 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.0006624/0.7428, allocations: 314.2 kB / 1.034 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.745e-05/0.7429, allocations: 0 / 1.034 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.7429, allocations: 4 kB / 1.034 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.058e-06/0.7429, allocations: 7.984 kB / 1.034 GB, free: 5.348 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004661/0.7434, allocations: 0.519 MB / 1.034 GB, free: 4.824 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002837/0.7437, allocations: 185.8 kB / 1.034 GB, free: 4.605 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.7439, allocations: 0.6769 MB / 1.035 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.265e-05/0.744, allocations: 7.438 kB / 1.035 GB, free: 3.895 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.744, allocations: 8 kB / 1.035 GB, free: 3.887 MB / 0.7794 GB Notification: Performance of Templates: time 0.00281/0.7468, allocations: 1.153 MB / 1.036 GB, free: 2.734 MB / 0.7794 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/jenkins1/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