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.001801/0.001801, allocations: 111.3 kB / 15.34 MB, free: 0.5078 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.002062/0.002062, allocations: 195.6 kB / 16.26 MB, free: 6.152 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.558/1.558, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.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.904/2.904, allocations: 437 MB / 0.7101 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 71.89 kB / 0.8687 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7079/0.7099, allocations: 151.6 MB / 1.017 GB, free: 2.645 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002695/0.7126, allocations: 1.307 MB / 1.018 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001569/0.7142, allocations: 0.988 MB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.783e-05/0.7142, allocations: 0 / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.104e-05/0.7143, allocations: 3.938 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0004404/0.7147, allocations: 95.72 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.246e-06/0.7147, allocations: 0 / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.578e-05/0.7148, allocations: 0 / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.373e-05/0.7148, allocations: 8 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.533e-05/0.7149, allocations: 0 / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.715, allocations: 4 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 7.213e-06/0.715, allocations: 0 / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000226/0.7152, allocations: 111.8 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 6.091e-06/0.7152, allocations: 0 / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.969e-05/0.7153, allocations: 11.92 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.7155, allocations: 103.8 kB / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.7155, allocations: 0 / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of FrontEnd: time 2.855e-06/0.7155, allocations: 0 / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.7155, allocations: 4.047 kB / 1.019 GB, free: 15.99 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.0004271/0.716, allocations: 347.4 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.716, allocations: 12.03 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.168e-05/0.7161, allocations: 80.22 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.7163, allocations: 239.7 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.028e-05/0.7164, allocations: 158.9 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.849e-05/0.7165, allocations: 150.9 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.779e-05/0.7166, allocations: 105.1 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.934e-05/0.7166, allocations: 83.22 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.99e-05/0.7167, allocations: 154.6 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.663e-05/0.7168, allocations: 150.6 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.265e-05/0.7169, allocations: 150.6 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000372/0.7173, allocations: 445.9 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.7174, allocations: 173.1 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.547e-05/0.7174, allocations: 84.08 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.453e-05/0.7175, allocations: 75.28 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.613e-05/0.7176, allocations: 109.8 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.7176, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.848e-05/0.7177, allocations: 37.7 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.7178, allocations: 130.7 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.7179, allocations: 97.84 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.7179, allocations: 25.7 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.738e-05/0.718, allocations: 80.14 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-06/0.718, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.142e-05/0.718, allocations: 13.72 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.7182, allocations: 315 kB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.886e-06/0.7182, allocations: 7.938 kB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.701e-06/0.7182, allocations: 3.938 kB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.709e-05/0.7183, allocations: 79.22 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.572e-05/0.7183, allocations: 75.28 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.202e-05/0.7184, allocations: 33.64 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.16e-05/0.7185, allocations: 80.53 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.067e-05/0.7185, allocations: 79.28 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.54e-05/0.7186, allocations: 162.5 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.705e-05/0.7187, allocations: 75.28 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.679e-05/0.7187, allocations: 154.5 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.482e-05/0.7188, allocations: 75.28 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.7189, allocations: 83.28 kB / 1.023 GB, free: 11.72 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.0001737/0.7191, allocations: 266.3 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.989e-05/0.7192, allocations: 104.9 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.013e-05/0.7192, allocations: 112.1 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001001/0.7193, allocations: 180.2 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-05/0.7194, allocations: 176.3 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.223e-05/0.7195, allocations: 184.2 kB / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003128/0.7199, allocations: 405.2 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.543e-05/0.7199, allocations: 105 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.431e-05/0.72, allocations: 108.9 kB / 1.025 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.482e-05/0.7201, allocations: 184.3 kB / 1.025 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/0.7202, allocations: 184.2 kB / 1.025 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.389e-05/0.7203, allocations: 184.3 kB / 1.025 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.529e-05/0.7204, allocations: 176.3 kB / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.7206, allocations: 303.8 kB / 1.026 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.7207, allocations: 190 kB / 1.026 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.7208, allocations: 180.3 kB / 1.026 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.7209, allocations: 105 kB / 1.026 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.445e-05/0.721, allocations: 180.2 kB / 1.026 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.892e-05/0.7211, allocations: 109 kB / 1.027 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.011e-05/0.7211, allocations: 79.28 kB / 1.027 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7211, allocations: 0 / 1.027 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003499/0.7215, allocations: 39.92 kB / 1.027 GB, free: 8.016 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.0006536/0.7221, allocations: 325.2 kB / 1.027 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.269e-05/0.7222, allocations: 11.94 kB / 1.027 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.7222, allocations: 0 / 1.027 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.7222, allocations: 0 / 1.027 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.7226, allocations: 458.5 kB / 1.027 GB, free: 7.27 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002788/0.7229, allocations: 164.8 kB / 1.028 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.7233, allocations: 0.6729 MB / 1.028 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.046e-05/0.7233, allocations: 0 / 1.028 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.537e-05/0.7233, allocations: 7.438 kB / 1.028 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of SimCode: time 2.9e-07/0.7233, allocations: 0 / 1.028 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of Templates: time 0.003944/0.7273, allocations: 0.9815 MB / 1.029 GB, free: 5.402 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=400 -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