Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001457/0.001457, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001643/0.001643, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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 1.466/1.466, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.866/2.866, allocations: 377.8 MB / 0.6232 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 3.938 kB / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.7e-05/2.848e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002595/0.002623, allocations: 1.27 MB / 0.8121 GB, free: 0.8242 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001862/0.004486, allocations: 1.092 MB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.058e-05/0.004516, allocations: 4 kB / 0.8131 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.936e-05/0.004536, allocations: 0 / 0.8131 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005459/0.005081, allocations: 120.4 kB / 0.8133 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 3.917e-06/0.005085, allocations: 4 kB / 0.8133 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 3.415e-05/0.00512, allocations: 0 / 0.8133 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.532e-05/0.005155, allocations: 0.7812 kB / 0.8133 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 2.593e-05/0.005181, allocations: 4 kB / 0.8133 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.206e-05/0.005243, allocations: 7.516 kB / 0.8133 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.396e-06/0.005251, allocations: 0 / 0.8133 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002847/0.005536, allocations: 103.8 kB / 0.8134 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.284e-06/0.005543, allocations: 0 / 0.8134 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.977e-05/0.005563, allocations: 0 / 0.8134 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.005842, allocations: 121.2 kB / 0.8135 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.005847, allocations: 4 kB / 0.8135 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.81e-07/0.005848, allocations: 0 / 0.8135 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.005852, allocations: 0 / 0.8135 GB, free: 15.37 MB / 0.7761 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.0004267/0.006279, allocations: 274.5 kB / 0.8137 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.006333, allocations: 13 kB / 0.8138 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.462e-05/0.006417, allocations: 80.22 kB / 0.8138 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.006604, allocations: 182.7 kB / 0.814 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.961e-05/0.006693, allocations: 150.9 kB / 0.8142 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002098/0.006903, allocations: 158.9 kB / 0.8143 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.007008, allocations: 105.5 kB / 0.8144 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.285e-05/0.007061, allocations: 79.47 kB / 0.8145 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.884e-05/0.007159, allocations: 155.2 kB / 0.8146 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.571e-05/0.007255, allocations: 159.3 kB / 0.8148 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.007358, allocations: 150.6 kB / 0.8149 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000365/0.007723, allocations: 394.1 kB / 0.8153 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.007858, allocations: 174.7 kB / 0.8155 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.03e-05/0.007919, allocations: 80.14 kB / 0.8155 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.485e-05/0.007973, allocations: 75.28 kB / 0.8156 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.222e-05/0.008056, allocations: 109.8 kB / 0.8157 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 7.22e-07/0.008056, allocations: 0 / 0.8157 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 9.967e-05/0.008156, allocations: 30.23 kB / 0.8158 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.00826, allocations: 135.4 kB / 0.8159 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.008387, allocations: 99 kB / 0.816 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.008404, allocations: 25.7 kB / 0.816 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.772e-05/0.008452, allocations: 80.14 kB / 0.8161 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/0.008454, allocations: 1.375 kB / 0.8161 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/0.008481, allocations: 13.72 kB / 0.8161 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.008654, allocations: 310.8 kB / 0.8164 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.97e-06/0.008659, allocations: 0 / 0.8164 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.915e-06/0.008661, allocations: 1.75 kB / 0.8164 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.525e-05/0.008707, allocations: 75.28 kB / 0.8165 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.329e-05/0.00875, allocations: 83.28 kB / 0.8165 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.717e-05/0.008817, allocations: 33.62 kB / 0.8166 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.434e-05/0.008881, allocations: 83.28 kB / 0.8166 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.382e-05/0.008925, allocations: 77.5 kB / 0.8167 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001051/0.00903, allocations: 150.6 kB / 0.8169 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.429e-05/0.009075, allocations: 83.16 kB / 0.8169 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.957e-05/0.009174, allocations: 158.6 kB / 0.8171 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.116e-05/0.009265, allocations: 79.22 kB / 0.8172 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.013e-05/0.009306, allocations: 75.28 kB / 0.8172 GB, free: 11.34 MB / 0.7761 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.0001665/0.009472, allocations: 275.1 kB / 0.8175 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.271e-05/0.009555, allocations: 101 kB / 0.8176 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.374e-05/0.009628, allocations: 112.1 kB / 0.8177 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.532e-05/0.009724, allocations: 176.3 kB / 0.8179 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001058/0.00983, allocations: 184.1 kB / 0.8181 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001033/0.009933, allocations: 188.2 kB / 0.8182 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.01021, allocations: 346.4 kB / 0.8186 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.105e-05/0.01027, allocations: 108.9 kB / 0.8187 GB, free: 9.801 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.219e-05/0.01032, allocations: 101 kB / 0.8188 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.956e-05/0.01042, allocations: 184.2 kB / 0.8189 GB, free: 9.508 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-05/0.01052, allocations: 184.8 kB / 0.8191 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.261e-05/0.01061, allocations: 176.3 kB / 0.8193 GB, free: 9.141 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.142e-05/0.0107, allocations: 180.7 kB / 0.8195 GB, free: 8.957 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.0109, allocations: 321.1 kB / 0.8198 GB, free: 8.621 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.036e-05/0.01096, allocations: 109 kB / 0.8199 GB, free: 8.508 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.01108, allocations: 180.2 kB / 0.82 GB, free: 8.324 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.964e-05/0.01117, allocations: 109 kB / 0.8201 GB, free: 8.211 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.01128, allocations: 182.8 kB / 0.8203 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.847e-05/0.01133, allocations: 108.9 kB / 0.8204 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.666e-05/0.01139, allocations: 79.28 kB / 0.8205 GB, free: 7.836 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01139, allocations: 0 / 0.8205 GB, free: 7.836 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000334/0.01173, allocations: 43.8 kB / 0.8205 GB, free: 7.793 MB / 0.7761 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.0007304/0.01246, allocations: 334.5 kB / 0.8209 GB, free: 7.512 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 4.176e-05/0.0125, allocations: 0 / 0.8209 GB, free: 7.512 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.0125, allocations: 0 / 0.8209 GB, free: 7.512 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.0125, allocations: 0 / 0.8209 GB, free: 7.512 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004823/0.01298, allocations: 465.3 kB / 0.8213 GB, free: 7.055 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003159/0.0133, allocations: 155.1 kB / 0.8214 GB, free: 6.875 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.682e-05/0.01337, allocations: 64.86 kB / 0.8215 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.055e-06/0.01337, allocations: 0 / 0.8215 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.926e-05/0.01347, allocations: 8.5 kB / 0.8215 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of SimCode: time 6.61e-07/0.01347, allocations: 0 / 0.8215 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of Templates: time 0.003968/0.01744, allocations: 1.02 MB / 0.8225 GB, free: 5.789 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.7795348489889875]