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.002504/0.002504, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.002858/0.002858, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.59/1.59, allocations: 177.1 MB / 203.9 MB, free: 5.621 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 3.08/3.08, allocations: 377.8 MB / 0.6232 GB, free: 8.559 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.363e-06/1.363e-06, allocations: 0.5469 kB / 0.8108 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/2.792e-05, allocations: 9.703 kB / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002386/0.002414, allocations: 1.263 MB / 0.8121 GB, free: 0.8516 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001869/0.004283, allocations: 1.116 MB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.396e-05/0.004307, allocations: 0 / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.201e-05/0.004319, allocations: 0.9062 kB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004374/0.004757, allocations: 111.4 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 3.366e-06/0.00476, allocations: 0.6562 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 3.43e-05/0.004794, allocations: 3.938 kB / 0.8133 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.656e-05/0.004831, allocations: 9.219 kB / 0.8133 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 2.695e-05/0.004858, allocations: 4 kB / 0.8133 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.113e-05/0.004919, allocations: 3.938 kB / 0.8133 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.094e-06/0.004926, allocations: 1.625 kB / 0.8133 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002222/0.005148, allocations: 115.7 kB / 0.8134 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.34e-06/0.005154, allocations: 0 / 0.8134 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.048e-05/0.005164, allocations: 0 / 0.8134 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.005397, allocations: 111.8 kB / 0.8135 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.005399, allocations: 4.906 kB / 0.8135 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.31e-07/0.0054, allocations: 0 / 0.8135 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.347e-06/0.005403, allocations: 0 / 0.8135 GB, free: 15.38 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.0004049/0.005808, allocations: 377 kB / 0.8139 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.005845, allocations: 12.03 kB / 0.8139 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.841e-05/0.005933, allocations: 120.9 kB / 0.814 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.006122, allocations: 231.7 kB / 0.8142 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/0.006243, allocations: 243.6 kB / 0.8144 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.006366, allocations: 238.8 kB / 0.8147 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.934e-05/0.006465, allocations: 146.7 kB / 0.8148 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-05/0.006539, allocations: 119.4 kB / 0.8149 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001291/0.006668, allocations: 242.5 kB / 0.8151 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001265/0.006794, allocations: 248.4 kB / 0.8154 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.006919, allocations: 242.4 kB / 0.8156 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000417/0.007337, allocations: 0.568 MB / 0.8162 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.007529, allocations: 261.4 kB / 0.8164 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.068e-05/0.007599, allocations: 130.9 kB / 0.8165 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.867e-05/0.007668, allocations: 124.2 kB / 0.8167 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.203e-05/0.00776, allocations: 156.6 kB / 0.8168 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 6.51e-07/0.007761, allocations: 0 / 0.8168 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 8.22e-05/0.007843, allocations: 30.17 kB / 0.8168 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.007945, allocations: 179.3 kB / 0.817 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.008088, allocations: 153.9 kB / 0.8172 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.008106, allocations: 27.36 kB / 0.8172 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.016e-05/0.008176, allocations: 130.9 kB / 0.8173 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.432e-06/0.008177, allocations: 4 kB / 0.8173 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.008208, allocations: 19.36 kB / 0.8173 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002579/0.008466, allocations: 493.7 kB / 0.8178 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.298e-06/0.00847, allocations: 0 / 0.8178 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.384e-06/0.008472, allocations: 0 / 0.8178 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.241e-05/0.008535, allocations: 123.2 kB / 0.8179 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-05/0.008593, allocations: 120.8 kB / 0.818 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.256e-05/0.008656, allocations: 29.64 kB / 0.8181 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.229e-05/0.008728, allocations: 127.2 kB / 0.8182 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-05/0.00879, allocations: 119.2 kB / 0.8183 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001305/0.00892, allocations: 238.4 kB / 0.8185 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.664e-05/0.008987, allocations: 136 kB / 0.8187 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001199/0.009107, allocations: 242.4 kB / 0.8189 GB, free: 9.645 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.009207, allocations: 124.8 kB / 0.819 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.904e-05/0.009266, allocations: 119.2 kB / 0.8191 GB, free: 9.406 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.0002196/0.009486, allocations: 395 kB / 0.8195 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.623e-05/0.009582, allocations: 148.8 kB / 0.8196 GB, free: 8.855 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002972/0.009879, allocations: 156.6 kB / 0.8198 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001308/0.01001, allocations: 268.8 kB / 0.82 GB, free: 8.43 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001427/0.01015, allocations: 272.2 kB / 0.8203 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001373/0.01029, allocations: 272.8 kB / 0.8206 GB, free: 7.883 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003316/0.01062, allocations: 495.8 kB / 0.821 GB, free: 7.355 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-05/0.0107, allocations: 158 kB / 0.8212 GB, free: 7.195 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.767e-05/0.01078, allocations: 148.9 kB / 0.8213 GB, free: 7.043 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001314/0.01091, allocations: 268 kB / 0.8216 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001377/0.01105, allocations: 268.6 kB / 0.8218 GB, free: 6.504 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001346/0.01118, allocations: 269.4 kB / 0.8221 GB, free: 6.234 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001395/0.01132, allocations: 268.1 kB / 0.8223 GB, free: 5.965 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.01158, allocations: 455.9 kB / 0.8228 GB, free: 5.492 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.864e-05/0.01166, allocations: 144.9 kB / 0.8229 GB, free: 5.344 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/0.01181, allocations: 273.2 kB / 0.8232 GB, free: 5.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.01192, allocations: 148.9 kB / 0.8233 GB, free: 4.918 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.01205, allocations: 272 kB / 0.8236 GB, free: 4.645 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.979e-05/0.01213, allocations: 153.6 kB / 0.8237 GB, free: 4.488 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.139e-05/0.0122, allocations: 124.1 kB / 0.8238 GB, free: 4.367 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.0122, allocations: 0 / 0.8238 GB, free: 4.367 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003297/0.01253, allocations: 39.8 kB / 0.8239 GB, free: 4.328 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.0008389/0.01337, allocations: 380.4 kB / 0.8242 GB, free: 4.004 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 3.858e-05/0.01341, allocations: 0 / 0.8242 GB, free: 4.004 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.01342, allocations: 4 kB / 0.8243 GB, free: 4 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.406e-06/0.01342, allocations: 3.938 kB / 0.8243 GB, free: 3.996 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005594/0.01398, allocations: 0.7045 MB / 0.8249 GB, free: 3.289 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000306/0.01428, allocations: 212.9 kB / 0.8251 GB, free: 3.051 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.829e-05/0.01434, allocations: 59.22 kB / 0.8252 GB, free: 2.973 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.683e-06/0.01435, allocations: 0 / 0.8252 GB, free: 2.973 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.186e-05/0.01437, allocations: 9.125 kB / 0.8252 GB, free: 2.965 MB / 0.7761 GB Notification: Performance of SimCode: time 4.2e-07/0.01437, allocations: 0 / 0.8252 GB, free: 2.965 MB / 0.7761 GB Notification: Performance of Templates: time 0.003928/0.0183, allocations: 1.036 MB / 0.8262 GB, free: 1.965 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 240] 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: 8.293628918007016]