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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00917/0.00917, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001688/0.001688, allocations: 198.4 kB / 16.67 MB, free: 5.934 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.324/2.324, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 63.91 kB / 0.9509 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059/1.061, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002376/1.063, allocations: 1.236 MB / 1.089 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001495/1.065, allocations: 1.004 MB / 1.09 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.038e-05/1.065, allocations: 5.312 kB / 1.09 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.675e-05/1.065, allocations: 0 / 1.09 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005234/1.065, allocations: 111.2 kB / 1.09 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.729e-06/1.065, allocations: 0 / 1.09 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.378e-05/1.065, allocations: 2.422 kB / 1.09 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.525e-05/1.065, allocations: 9.547 kB / 1.09 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.162e-05/1.065, allocations: 1.094 kB / 1.09 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/1.065, allocations: 7.062 kB / 1.09 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.228e-06/1.065, allocations: 3.938 kB / 1.09 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002588/1.066, allocations: 122.3 kB / 1.09 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.45e-06/1.066, allocations: 0 / 1.09 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.937e-05/1.066, allocations: 9.078 kB / 1.09 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002445/1.066, allocations: 110.6 kB / 1.09 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/1.066, allocations: 1.062 kB / 1.09 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.102e-06/1.066, allocations: 0 / 1.09 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.53e-06/1.066, allocations: 0 / 1.09 GB, free: 3.793 MB / 0.8575 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.0002832/1.066, allocations: 344 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/1.066, allocations: 10.28 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/1.066, allocations: 76.22 kB / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/1.067, allocations: 251.8 kB / 1.091 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/1.067, allocations: 150.9 kB / 1.091 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/1.067, allocations: 151.8 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.06e-05/1.067, allocations: 114.7 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/1.067, allocations: 75.28 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.043e-05/1.067, allocations: 150.6 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.955e-05/1.067, allocations: 156.3 kB / 1.092 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.917e-05/1.067, allocations: 150.6 kB / 1.092 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002617/1.067, allocations: 449.7 kB / 1.092 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.169e-05/1.067, allocations: 170.1 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.378e-05/1.067, allocations: 84.66 kB / 1.093 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/1.067, allocations: 76.53 kB / 1.093 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/1.067, allocations: 114.4 kB / 1.093 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/1.067, allocations: 1.25 kB / 1.093 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.872e-05/1.067, allocations: 27.89 kB / 1.093 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/1.067, allocations: 130.6 kB / 1.093 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.093e-05/1.068, allocations: 98.78 kB / 1.093 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.903e-06/1.068, allocations: 25.7 kB / 1.093 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.539e-05/1.068, allocations: 81.27 kB / 1.093 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-06/1.068, allocations: 0 / 1.093 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.892e-05/1.068, allocations: 11.55 kB / 1.093 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001222/1.068, allocations: 316.5 kB / 1.094 GB, free: 16.47 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.981e-06/1.068, allocations: 0 / 1.094 GB, free: 16.47 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.286e-06/1.068, allocations: 0 / 1.094 GB, free: 16.47 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.557e-05/1.068, allocations: 81.17 kB / 1.094 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.656e-05/1.068, allocations: 75.28 kB / 1.094 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.719e-05/1.068, allocations: 40.39 kB / 1.094 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.895e-05/1.068, allocations: 80.8 kB / 1.094 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-05/1.068, allocations: 80.98 kB / 1.094 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.813e-05/1.068, allocations: 156.3 kB / 1.094 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.074e-05/1.068, allocations: 80.31 kB / 1.094 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.36e-05/1.068, allocations: 160.3 kB / 1.094 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.439e-05/1.068, allocations: 77.05 kB / 1.094 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.3e-05/1.068, allocations: 80.84 kB / 1.094 GB, free: 15.59 MB / 0.8731 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.000125/1.068, allocations: 257.8 kB / 1.095 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.122e-05/1.068, allocations: 106.8 kB / 1.095 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.1e-05/1.069, allocations: 118 kB / 1.095 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.841e-05/1.069, allocations: 182.5 kB / 1.095 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.192e-05/1.069, allocations: 178 kB / 1.095 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-05/1.069, allocations: 182 kB / 1.095 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/1.069, allocations: 397.7 kB / 1.096 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-05/1.069, allocations: 106.6 kB / 1.096 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.871e-05/1.069, allocations: 114 kB / 1.096 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.897e-05/1.069, allocations: 177.9 kB / 1.096 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-05/1.069, allocations: 185.7 kB / 1.096 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-05/1.069, allocations: 178.3 kB / 1.097 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.589e-05/1.069, allocations: 186.2 kB / 1.097 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/1.07, allocations: 309.8 kB / 1.097 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.783e-05/1.07, allocations: 184.5 kB / 1.097 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.232e-05/1.07, allocations: 178.1 kB / 1.097 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.304e-05/1.07, allocations: 110.4 kB / 1.097 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.256e-05/1.07, allocations: 186.1 kB / 1.098 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.533e-05/1.07, allocations: 106.7 kB / 1.098 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.956e-05/1.07, allocations: 78.03 kB / 1.098 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.21e-07/1.07, allocations: 0 / 1.098 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000359/1.07, allocations: 39.72 kB / 1.098 GB, free: 11.95 MB / 0.8731 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.0005912/1.071, allocations: 324.3 kB / 1.098 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 4.566e-05/1.071, allocations: 5.344 kB / 1.098 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.071, allocations: 3.938 kB / 1.098 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/1.071, allocations: 0.6875 kB / 1.098 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/1.071, allocations: 455 kB / 1.099 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002727/1.072, allocations: 163.3 kB / 1.099 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/1.072, allocations: 0.6756 MB / 1.099 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.866e-06/1.072, allocations: 1 kB / 1.099 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.262e-05/1.072, allocations: 7.438 kB / 1.099 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of SimCode: time 2e-07/1.072, allocations: 0.6875 kB / 1.099 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of Templates: time 0.004225/1.076, allocations: 0.9839 MB / 1.1 GB, free: 10.25 MB / 0.8731 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches