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.0008067/0.0008067, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007793/0.0007793, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8829/0.8829, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.745/1.745, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.536e-05/1.655e-05, allocations: 5.234 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001364/0.001381, allocations: 1.267 MB / 1.002 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.002447, allocations: 1.1 MB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.423e-05/0.002471, allocations: 0 / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.582e-05/0.002487, allocations: 0 / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003623/0.002849, allocations: 107.4 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 3.627e-06/0.002853, allocations: 0 / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 3.497e-05/0.002888, allocations: 7.984 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.758e-05/0.002925, allocations: 8 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 2.2e-05/0.002947, allocations: 3.938 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.627e-05/0.002984, allocations: 0 / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 7.253e-06/0.002991, allocations: 0 / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.003138, allocations: 103.8 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.162e-06/0.003144, allocations: 0 / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.175e-05/0.003156, allocations: 7.938 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.003314, allocations: 111.7 kB / 1.004 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.003315, allocations: 0 / 1.004 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.51e-07/0.003316, allocations: 0 / 1.004 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 2.995e-06/0.003319, allocations: 8 kB / 1.004 GB, free: 10.25 MB / 0.9636 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.0002254/0.003544, allocations: 278 kB / 1.004 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.003579, allocations: 13.34 kB / 1.004 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.872e-05/0.003618, allocations: 76.22 kB / 1.004 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.273e-05/0.00371, allocations: 177.1 kB / 1.004 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.003745, allocations: 154.9 kB / 1.004 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/0.003775, allocations: 150.9 kB / 1.004 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.706e-05/0.003822, allocations: 105.5 kB / 1.004 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.003841, allocations: 75.47 kB / 1.005 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.896e-05/0.00388, allocations: 162.7 kB / 1.005 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-05/0.003912, allocations: 158.5 kB / 1.005 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.368e-05/0.003946, allocations: 150.6 kB / 1.005 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001694/0.004115, allocations: 397.6 kB / 1.005 GB, free: 8.301 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.282e-05/0.004178, allocations: 169.1 kB / 1.006 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.23e-05/0.0042, allocations: 80.14 kB / 1.006 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.00422, allocations: 75.28 kB / 1.006 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.004251, allocations: 113.8 kB / 1.006 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 6.82e-07/0.004252, allocations: 0 / 1.006 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 5.099e-05/0.004303, allocations: 25.7 kB / 1.006 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.004343, allocations: 134.6 kB / 1.006 GB, free: 7.672 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.054e-05/0.004414, allocations: 105.8 kB / 1.006 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.705e-06/0.004421, allocations: 25.7 kB / 1.006 GB, free: 7.527 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.969e-05/0.004441, allocations: 84.14 kB / 1.006 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-06/0.004443, allocations: 0 / 1.006 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.45e-05/0.004457, allocations: 9.719 kB / 1.006 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.937e-05/0.004527, allocations: 310.8 kB / 1.006 GB, free: 7.113 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.857e-06/0.004531, allocations: 0 / 1.006 GB, free: 7.113 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.695e-06/0.004533, allocations: 0 / 1.006 GB, free: 7.113 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.157e-05/0.004555, allocations: 83.22 kB / 1.007 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.538e-05/0.00457, allocations: 79.22 kB / 1.007 GB, free: 6.953 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.128e-05/0.004602, allocations: 29.78 kB / 1.007 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.004626, allocations: 91.27 kB / 1.007 GB, free: 6.828 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.004643, allocations: 75.28 kB / 1.007 GB, free: 6.754 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.09e-05/0.004684, allocations: 158.5 kB / 1.007 GB, free: 6.598 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.699e-05/0.004701, allocations: 83.22 kB / 1.007 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-05/0.004734, allocations: 158.5 kB / 1.007 GB, free: 6.359 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.89e-05/0.004773, allocations: 75.28 kB / 1.007 GB, free: 6.285 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.004789, allocations: 79.28 kB / 1.007 GB, free: 6.207 MB / 0.9636 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 7.033e-05/0.00486, allocations: 256.4 kB / 1.008 GB, free: 5.945 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/0.004894, allocations: 112.9 kB / 1.008 GB, free: 5.828 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.919e-05/0.004923, allocations: 108.1 kB / 1.008 GB, free: 5.711 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-05/0.004961, allocations: 184.2 kB / 1.008 GB, free: 5.523 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.722e-05/0.004998, allocations: 180.2 kB / 1.008 GB, free: 5.34 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-05/0.005034, allocations: 180.3 kB / 1.008 GB, free: 5.156 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.005155, allocations: 360.8 kB / 1.009 GB, free: 4.766 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-05/0.005178, allocations: 109 kB / 1.009 GB, free: 4.652 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.158e-05/0.005199, allocations: 104.9 kB / 1.009 GB, free: 4.543 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.58e-05/0.005235, allocations: 176.3 kB / 1.009 GB, free: 4.363 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.98e-05/0.005275, allocations: 184.2 kB / 1.009 GB, free: 4.176 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-05/0.00531, allocations: 180.2 kB / 1.009 GB, free: 3.992 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.515e-05/0.005345, allocations: 176.3 kB / 1.01 GB, free: 3.812 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.005604, allocations: 323.7 kB / 1.01 GB, free: 3.473 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.389e-05/0.005628, allocations: 101 kB / 1.01 GB, free: 3.367 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.211e-05/0.00567, allocations: 184.2 kB / 1.01 GB, free: 3.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.331e-05/0.005713, allocations: 101 kB / 1.01 GB, free: 3.074 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.005757, allocations: 188.1 kB / 1.01 GB, free: 2.883 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.005778, allocations: 105 kB / 1.01 GB, free: 2.773 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.531e-05/0.005803, allocations: 79.28 kB / 1.011 GB, free: 2.695 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005803, allocations: 0 / 1.011 GB, free: 2.695 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001974/0.006001, allocations: 43.8 kB / 1.011 GB, free: 2.652 MB / 0.9636 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.0003479/0.006348, allocations: 343.2 kB / 1.011 GB, free: 2.352 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 3.361e-05/0.006382, allocations: 3.938 kB / 1.011 GB, free: 2.348 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.006384, allocations: 0 / 1.011 GB, free: 2.348 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.006384, allocations: 0 / 1.011 GB, free: 2.348 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.006611, allocations: 463.4 kB / 1.011 GB, free: 1.895 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001894/0.006801, allocations: 189.8 kB / 1.012 GB, free: 1.676 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.444e-05/0.006835, allocations: 59.34 kB / 1.012 GB, free: 1.598 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.488e-06/0.006845, allocations: 8.5 kB / 1.012 GB, free: 1.59 MB / 0.9636 GB Notification: Performance of SimCode: time 3.61e-07/0.006845, allocations: 0 / 1.012 GB, free: 1.59 MB / 0.9636 GB Notification: Performance of Templates: time 0.001759/0.008605, allocations: 1.179 MB / 1.013 GB, free: 428 kB / 0.9636 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 6.678137691691518]