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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 186.4 kB / 22.22 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.137/3.137, allocations: 496 MB / 0.7835 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=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 0.002101/0.002101, allocations: 63.73 kB / 1.138 GB, free: 33.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3545, allocations: 173.6 MB / 1.307 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002535/0.3571, allocations: 1.258 MB / 1.309 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001847/0.3589, allocations: 1.103 MB / 1.31 GB, free: 15.44 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.224e-05/0.359, allocations: 0 / 1.31 GB, free: 15.44 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.617e-05/0.359, allocations: 0 / 1.31 GB, free: 15.44 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0005025/0.3595, allocations: 115.6 kB / 1.31 GB, free: 15.33 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.577e-06/0.3595, allocations: 3.938 kB / 1.31 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.207e-05/0.3595, allocations: 7.938 kB / 1.31 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.687e-05/0.3596, allocations: 0 / 1.31 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.217e-05/0.3596, allocations: 0 / 1.31 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.3597, allocations: 8 kB / 1.31 GB, free: 15.31 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.835e-06/0.3597, allocations: 3.938 kB / 1.31 GB, free: 15.3 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000252/0.36, allocations: 131.8 kB / 1.31 GB, free: 15.18 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.081e-06/0.36, allocations: 0 / 1.31 GB, free: 15.18 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.638e-05/0.36, allocations: 0 / 1.31 GB, free: 15.18 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.3602, allocations: 103.7 kB / 1.31 GB, free: 15.07 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3602, allocations: 0 / 1.31 GB, free: 15.07 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3602, allocations: 0 / 1.31 GB, free: 15.07 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.3602, allocations: 0 / 1.31 GB, free: 15.07 MB / 1.014 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.0003658/0.3606, allocations: 278 kB / 1.31 GB, free: 14.77 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.3606, allocations: 12.03 kB / 1.31 GB, free: 14.76 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.276e-05/0.3607, allocations: 80.16 kB / 1.31 GB, free: 14.68 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.3609, allocations: 185.8 kB / 1.31 GB, free: 14.48 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-05/0.361, allocations: 154.9 kB / 1.311 GB, free: 14.32 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.419e-05/0.361, allocations: 150.9 kB / 1.311 GB, free: 14.18 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.689e-05/0.3611, allocations: 109.1 kB / 1.311 GB, free: 14.06 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.654e-05/0.3612, allocations: 79.28 kB / 1.311 GB, free: 13.98 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.488e-05/0.3612, allocations: 150.6 kB / 1.311 GB, free: 13.84 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.32e-05/0.3613, allocations: 150.6 kB / 1.311 GB, free: 13.69 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.366e-05/0.3614, allocations: 158.5 kB / 1.311 GB, free: 13.53 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/0.3617, allocations: 417 kB / 1.312 GB, free: 13.08 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.3618, allocations: 169.1 kB / 1.312 GB, free: 12.91 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.337e-05/0.3619, allocations: 80.14 kB / 1.312 GB, free: 12.82 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.525e-05/0.3619, allocations: 79.28 kB / 1.312 GB, free: 12.75 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.04e-05/0.362, allocations: 113.8 kB / 1.312 GB, free: 12.62 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.362, allocations: 0 / 1.312 GB, free: 12.62 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 8.11e-05/0.3621, allocations: 33.64 kB / 1.312 GB, free: 12.59 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.625e-05/0.3621, allocations: 130.7 kB / 1.312 GB, free: 12.45 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.3623, allocations: 93.86 kB / 1.312 GB, free: 12.34 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.3623, allocations: 25.7 kB / 1.312 GB, free: 12.31 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.013e-05/0.3623, allocations: 84.12 kB / 1.313 GB, free: 12.23 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-06/0.3623, allocations: 0 / 1.313 GB, free: 12.23 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.312e-05/0.3623, allocations: 13.72 kB / 1.313 GB, free: 12.21 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3625, allocations: 315 kB / 1.313 GB, free: 11.89 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.809e-06/0.3625, allocations: 0 / 1.313 GB, free: 11.89 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.1e-06/0.3625, allocations: 4 kB / 1.313 GB, free: 11.89 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.627e-05/0.3625, allocations: 75.28 kB / 1.313 GB, free: 11.81 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.153e-05/0.3626, allocations: 75.28 kB / 1.313 GB, free: 11.74 MB / 1.014 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.111e-05/0.3626, allocations: 37.58 kB / 1.313 GB, free: 11.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.447e-05/0.3627, allocations: 79.28 kB / 1.313 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.079e-05/0.3627, allocations: 75.28 kB / 1.313 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.99e-05/0.3628, allocations: 162.5 kB / 1.313 GB, free: 11.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.802e-05/0.3628, allocations: 87.14 kB / 1.313 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.196e-05/0.3629, allocations: 150.7 kB / 1.314 GB, free: 11.15 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.931e-05/0.363, allocations: 83.23 kB / 1.314 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/0.363, allocations: 83.28 kB / 1.314 GB, free: 10.98 MB / 1.014 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.000132/0.3632, allocations: 264.3 kB / 1.314 GB, free: 10.71 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.74e-05/0.3632, allocations: 108.9 kB / 1.314 GB, free: 10.6 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.952e-05/0.3633, allocations: 108.2 kB / 1.314 GB, free: 10.49 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.695e-05/0.3634, allocations: 184.3 kB / 1.314 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.984e-05/0.3635, allocations: 180.2 kB / 1.315 GB, free: 10.12 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.639e-05/0.3635, allocations: 180.3 kB / 1.315 GB, free: 9.934 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.3638, allocations: 380.2 kB / 1.315 GB, free: 9.512 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.242e-05/0.3638, allocations: 101 kB / 1.315 GB, free: 9.406 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.732e-05/0.3639, allocations: 104.9 kB / 1.315 GB, free: 9.297 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.277e-05/0.364, allocations: 188.2 kB / 1.315 GB, free: 9.105 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.668e-05/0.364, allocations: 180.3 kB / 1.316 GB, free: 8.922 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.138e-05/0.3641, allocations: 188.2 kB / 1.316 GB, free: 8.73 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.428e-05/0.3642, allocations: 180.3 kB / 1.316 GB, free: 8.547 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.3643, allocations: 303.8 kB / 1.316 GB, free: 8.227 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.713e-05/0.3644, allocations: 116.9 kB / 1.316 GB, free: 8.105 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.446e-05/0.3645, allocations: 180.2 kB / 1.317 GB, free: 7.922 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.153e-05/0.3646, allocations: 105 kB / 1.317 GB, free: 7.812 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.866e-05/0.3647, allocations: 184.2 kB / 1.317 GB, free: 7.625 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.624e-05/0.3647, allocations: 109 kB / 1.317 GB, free: 7.512 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.959e-05/0.3648, allocations: 79.27 kB / 1.317 GB, free: 7.434 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3648, allocations: 0 / 1.317 GB, free: 7.434 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003348/0.3651, allocations: 35.81 kB / 1.317 GB, free: 7.398 MB / 1.014 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.0006429/0.3657, allocations: 325.3 kB / 1.317 GB, free: 7.109 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 4.269e-05/0.3658, allocations: 0 / 1.317 GB, free: 7.109 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3658, allocations: 0 / 1.317 GB, free: 7.109 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.91e-06/0.3658, allocations: 11.86 kB / 1.317 GB, free: 7.098 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.3662, allocations: 454 kB / 1.318 GB, free: 6.652 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003561/0.3665, allocations: 172.8 kB / 1.318 GB, free: 6.457 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/0.367, allocations: 0.669 MB / 1.319 GB, free: 5.762 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.969e-06/0.367, allocations: 0 / 1.319 GB, free: 5.762 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.945e-05/0.367, allocations: 7.438 kB / 1.319 GB, free: 5.754 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.367, allocations: 0 / 1.319 GB, free: 5.754 MB / 1.014 GB Notification: Performance of Templates: time 0.003782/0.3708, allocations: 0.9952 MB / 1.32 GB, free: 4.77 MB / 1.014 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: 8.896470736712217]