Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001952/0.001952, allocations: 77.47 kB / 19.76 MB, free: 2.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002485/0.002485, allocations: 157.2 kB / 23.01 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.515/1.515, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.909/2.909, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|alt",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|alt",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 71.91 kB / 1.009 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011/1.013, allocations: 181.8 MB / 1.187 GB, free: 16.17 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002008/1.015, allocations: 1.269 MB / 1.188 GB, free: 15.29 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001347/1.017, allocations: 1.09 MB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.669e-05/1.017, allocations: 4 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.483e-05/1.017, allocations: 0 / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0004375/1.017, allocations: 104.1 kB / 1.189 GB, free: 14.49 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 3.537e-06/1.017, allocations: 0 / 1.189 GB, free: 14.49 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 4.048e-05/1.017, allocations: 6.438 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.189e-05/1.017, allocations: 2.016 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 2.309e-05/1.017, allocations: 1.156 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.383e-05/1.017, allocations: 8.438 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.294e-06/1.017, allocations: 1.219 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002105/1.018, allocations: 109.5 kB / 1.189 GB, free: 14.44 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.963e-06/1.018, allocations: 0 / 1.189 GB, free: 14.44 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.108e-05/1.018, allocations: 6.031 kB / 1.189 GB, free: 14.44 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002128/1.018, allocations: 96.39 kB / 1.189 GB, free: 14.41 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.018, allocations: 5.781 kB / 1.189 GB, free: 14.41 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.264e-06/1.018, allocations: 0 / 1.189 GB, free: 14.41 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.13e-06/1.018, allocations: 0 / 1.189 GB, free: 14.41 MB / 1.076 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.0002736/1.018, allocations: 266.7 kB / 1.189 GB, free: 14.14 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/1.018, allocations: 9.469 kB / 1.19 GB, free: 14.14 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.056e-05/1.018, allocations: 81.22 kB / 1.19 GB, free: 14.06 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.877e-05/1.018, allocations: 181.7 kB / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/1.018, allocations: 156 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/1.018, allocations: 160.1 kB / 1.19 GB, free: 13.55 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.041e-05/1.018, allocations: 106.9 kB / 1.19 GB, free: 13.44 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/1.018, allocations: 80.22 kB / 1.19 GB, free: 13.36 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/1.018, allocations: 150.6 kB / 1.19 GB, free: 13.21 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/1.018, allocations: 155.6 kB / 1.191 GB, free: 13.06 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.239e-05/1.018, allocations: 152.5 kB / 1.191 GB, free: 12.91 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/1.019, allocations: 398.2 kB / 1.191 GB, free: 12.5 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 4.961e-05/1.019, allocations: 170.3 kB / 1.191 GB, free: 12.32 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.704e-05/1.019, allocations: 85.59 kB / 1.191 GB, free: 12.24 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/1.019, allocations: 79.98 kB / 1.191 GB, free: 12.16 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/1.019, allocations: 107.2 kB / 1.191 GB, free: 12.05 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/1.019, allocations: 4 kB / 1.191 GB, free: 12.04 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 6.013e-05/1.019, allocations: 35.67 kB / 1.192 GB, free: 12 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/1.019, allocations: 132.6 kB / 1.192 GB, free: 11.86 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.366e-05/1.019, allocations: 94.05 kB / 1.192 GB, free: 11.77 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.2e-06/1.019, allocations: 26.67 kB / 1.192 GB, free: 11.73 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.455e-05/1.019, allocations: 84.98 kB / 1.192 GB, free: 11.65 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/1.019, allocations: 1.031 kB / 1.192 GB, free: 11.65 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/1.019, allocations: 11.97 kB / 1.192 GB, free: 11.63 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.349e-05/1.019, allocations: 312.2 kB / 1.192 GB, free: 11.32 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.208e-06/1.019, allocations: 0.875 kB / 1.192 GB, free: 11.32 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.174e-06/1.019, allocations: 4 kB / 1.192 GB, free: 11.32 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.134e-05/1.019, allocations: 76.73 kB / 1.192 GB, free: 11.24 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/1.019, allocations: 76 kB / 1.192 GB, free: 11.17 MB / 1.076 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.348e-05/1.019, allocations: 29.41 kB / 1.192 GB, free: 11.14 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/1.019, allocations: 87.38 kB / 1.192 GB, free: 11.06 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/1.019, allocations: 80.28 kB / 1.192 GB, free: 10.98 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.905e-05/1.019, allocations: 152.2 kB / 1.193 GB, free: 10.83 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.035e-05/1.019, allocations: 81.02 kB / 1.193 GB, free: 10.75 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.106e-05/1.019, allocations: 156.3 kB / 1.193 GB, free: 10.6 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.246e-05/1.019, allocations: 76.41 kB / 1.193 GB, free: 10.53 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/1.019, allocations: 85.16 kB / 1.193 GB, free: 10.45 MB / 1.076 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 4.901e-05/1.019, allocations: 259.2 kB / 1.193 GB, free: 10.18 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.659e-05/1.019, allocations: 107.1 kB / 1.193 GB, free: 10.07 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.331e-05/1.019, allocations: 110.8 kB / 1.193 GB, free: 9.957 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.436e-05/1.019, allocations: 186.8 kB / 1.194 GB, free: 9.77 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.46e-05/1.019, allocations: 181.7 kB / 1.194 GB, free: 9.586 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.221e-05/1.019, allocations: 179 kB / 1.194 GB, free: 9.406 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/1.019, allocations: 353.2 kB / 1.194 GB, free: 9.027 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-05/1.019, allocations: 110.7 kB / 1.194 GB, free: 8.914 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.324e-05/1.019, allocations: 103 kB / 1.195 GB, free: 8.809 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.258e-05/1.019, allocations: 185.9 kB / 1.195 GB, free: 8.621 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/1.02, allocations: 183.1 kB / 1.195 GB, free: 8.438 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-05/1.02, allocations: 177.9 kB / 1.195 GB, free: 8.258 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.076e-05/1.02, allocations: 182.7 kB / 1.195 GB, free: 8.074 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.195e-05/1.02, allocations: 306.1 kB / 1.196 GB, free: 7.758 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.926e-05/1.02, allocations: 111.1 kB / 1.196 GB, free: 7.645 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.174e-05/1.02, allocations: 183 kB / 1.196 GB, free: 7.461 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.177e-05/1.02, allocations: 111.1 kB / 1.196 GB, free: 7.348 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/1.02, allocations: 186.6 kB / 1.196 GB, free: 7.16 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/1.02, allocations: 106.5 kB / 1.196 GB, free: 7.051 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.174e-05/1.02, allocations: 82.12 kB / 1.196 GB, free: 6.973 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.02, allocations: 0 / 1.196 GB, free: 6.973 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003149/1.02, allocations: 43.48 kB / 1.196 GB, free: 6.957 MB / 1.076 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.000522/1.021, allocations: 318.2 kB / 1.197 GB, free: 6.746 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 4.018e-05/1.021, allocations: 1.797 kB / 1.197 GB, free: 6.746 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.021, allocations: 0 / 1.197 GB, free: 6.746 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/1.021, allocations: 1.062 kB / 1.197 GB, free: 6.746 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/1.021, allocations: 454.5 kB / 1.197 GB, free: 6.301 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001926/1.021, allocations: 178.9 kB / 1.197 GB, free: 6.113 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.989e-05/1.021, allocations: 59.94 kB / 1.197 GB, free: 6.039 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.444e-06/1.021, allocations: 0 / 1.197 GB, free: 6.039 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.214e-05/1.021, allocations: 9.25 kB / 1.197 GB, free: 6.031 MB / 1.076 GB Notification: Performance of SimCode: time 3.2e-07/1.021, allocations: 1.25 kB / 1.197 GB, free: 6.031 MB / 1.076 GB Notification: Performance of Templates: time 0.003521/1.025, allocations: 0.9972 MB / 1.198 GB, free: 5.879 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.065391415031627]