Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0007892/0.0007892, allocations: 72.5 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.0007578/0.0007578, allocations: 177.9 kB / 23.21 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.8565/0.8565, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.643/1.643, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.9517 GB, free: 2.98 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.327e-05/1.444e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.977 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.00133/0.001344, allocations: 1.255 MB / 0.953 GB, free: 1.703 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008844/0.002229, allocations: 1.099 MB / 0.954 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.703e-05/0.002246, allocations: 4 kB / 0.954 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.394e-05/0.00226, allocations: 3.938 kB / 0.954 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.000302/0.002562, allocations: 111.5 kB / 0.9541 GB, free: 492 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 2.735e-06/0.002564, allocations: 0 / 0.9541 GB, free: 492 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 3.111e-05/0.002595, allocations: 7.875 kB / 0.9542 GB, free: 484 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.303e-05/0.002628, allocations: 4 kB / 0.9542 GB, free: 480 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 1.968e-05/0.002648, allocations: 3.984 kB / 0.9542 GB, free: 476 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.372e-05/0.002682, allocations: 0 / 0.9542 GB, free: 476 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 6.392e-06/0.002688, allocations: 0 / 0.9542 GB, free: 476 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.002823, allocations: 107.9 kB / 0.9543 GB, free: 368 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 6.562e-06/0.002829, allocations: 3.938 kB / 0.9543 GB, free: 364 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.062e-05/0.00284, allocations: 7.984 kB / 0.9543 GB, free: 356 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.003047, allocations: 111.7 kB / 0.9544 GB, free: 244 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.373e-06/0.003049, allocations: 0 / 0.9544 GB, free: 244 kB / 0.9011 GB Notification: Performance of FrontEnd: time 5.51e-07/0.003049, allocations: 0 / 0.9544 GB, free: 244 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.003053, allocations: 0 / 0.9544 GB, free: 244 kB / 0.9011 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.0002023/0.003255, allocations: 281.9 kB / 0.9547 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 2.926e-05/0.003284, allocations: 12.03 kB / 0.9547 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.301e-05/0.003317, allocations: 84.2 kB / 0.9547 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.14e-05/0.003399, allocations: 185 kB / 0.9549 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.222e-05/0.003431, allocations: 154.9 kB / 0.9551 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.003459, allocations: 150.9 kB / 0.9552 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.037e-05/0.003499, allocations: 105.5 kB / 0.9553 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.003517, allocations: 79.45 kB / 0.9554 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.326e-05/0.00355, allocations: 158.7 kB / 0.9555 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.898e-05/0.003579, allocations: 150.6 kB / 0.9557 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.659e-05/0.003616, allocations: 154.6 kB / 0.9558 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001535/0.003769, allocations: 401.5 kB / 0.9562 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 5.247e-05/0.003822, allocations: 165.1 kB / 0.9564 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.156e-05/0.003843, allocations: 80.14 kB / 0.9564 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.003861, allocations: 83.28 kB / 0.9565 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.003891, allocations: 109.8 kB / 0.9566 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 4.71e-07/0.003891, allocations: 0 / 0.9566 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 4.109e-05/0.003932, allocations: 29.64 kB / 0.9567 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.00397, allocations: 130.6 kB / 0.9568 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.858e-05/0.004029, allocations: 97.84 kB / 0.9569 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 7.234e-06/0.004036, allocations: 25.7 kB / 0.9569 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.287e-05/0.004059, allocations: 88.14 kB / 0.957 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-06/0.004061, allocations: 3.938 kB / 0.957 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.419e-05/0.004075, allocations: 9.844 kB / 0.957 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.31e-05/0.004138, allocations: 314.8 kB / 0.9573 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.828e-06/0.004142, allocations: 0 / 0.9573 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.215e-06/0.004144, allocations: 0 / 0.9573 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.909e-05/0.004163, allocations: 79.28 kB / 0.9574 GB, free: 13 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-05/0.004178, allocations: 75.28 kB / 0.9574 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0) (initialization): time 2.547e-05/0.004204, allocations: 29.64 kB / 0.9575 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.004227, allocations: 83.28 kB / 0.9576 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.004245, allocations: 75.28 kB / 0.9576 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.641e-05/0.004281, allocations: 154.5 kB / 0.9578 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.638e-05/0.004298, allocations: 87.16 kB / 0.9579 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-05/0.004328, allocations: 162.6 kB / 0.958 GB, free: 12.33 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.806e-05/0.004366, allocations: 79.22 kB / 0.9581 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.004382, allocations: 79.28 kB / 0.9582 GB, free: 12.18 MB / 0.9167 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 6.347e-05/0.004445, allocations: 256.4 kB / 0.9584 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.004477, allocations: 108.9 kB / 0.9585 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/0.004505, allocations: 112.1 kB / 0.9586 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.519e-05/0.00454, allocations: 180.3 kB / 0.9588 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.944e-05/0.00458, allocations: 184.1 kB / 0.959 GB, free: 11.31 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.48e-05/0.004615, allocations: 180.3 kB / 0.9591 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.00473, allocations: 352.8 kB / 0.9595 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.263e-05/0.004753, allocations: 113 kB / 0.9596 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.981e-05/0.004772, allocations: 101 kB / 0.9597 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-05/0.004809, allocations: 180.2 kB / 0.9599 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.671e-05/0.004845, allocations: 180.3 kB / 0.96 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.631e-05/0.004882, allocations: 184.2 kB / 0.9602 GB, free: 9.969 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.354e-05/0.004915, allocations: 176.3 kB / 0.9604 GB, free: 9.789 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.519e-05/0.005, allocations: 319.7 kB / 0.9607 GB, free: 9.453 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.521e-05/0.005026, allocations: 105 kB / 0.9608 GB, free: 9.344 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/0.005069, allocations: 180.2 kB / 0.9609 GB, free: 9.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.387e-05/0.005113, allocations: 105 kB / 0.961 GB, free: 9.051 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.005152, allocations: 180.2 kB / 0.9612 GB, free: 8.867 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.005174, allocations: 112.9 kB / 0.9613 GB, free: 8.75 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.452e-05/0.005199, allocations: 83.27 kB / 0.9614 GB, free: 8.668 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005199, allocations: 0 / 0.9614 GB, free: 8.668 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001859/0.005385, allocations: 35.81 kB / 0.9614 GB, free: 8.633 MB / 0.9167 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.000381/0.005766, allocations: 331.1 kB / 0.9618 GB, free: 8.344 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 2.657e-05/0.005792, allocations: 3.984 kB / 0.9618 GB, free: 8.34 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.62e-07/0.005793, allocations: 0 / 0.9618 GB, free: 8.34 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.82e-07/0.005794, allocations: 4 kB / 0.9618 GB, free: 8.336 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.006007, allocations: 463.9 kB / 0.9622 GB, free: 7.883 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001748/0.006182, allocations: 189.8 kB / 0.9624 GB, free: 7.664 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.967e-05/0.006211, allocations: 55.36 kB / 0.9624 GB, free: 7.59 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.708e-06/0.006221, allocations: 12.44 kB / 0.9624 GB, free: 7.578 MB / 0.9167 GB Notification: Performance of SimCode: time 3.71e-07/0.006221, allocations: 0 / 0.9624 GB, free: 7.578 MB / 0.9167 GB Notification: Performance of Templates: time 0.001598/0.00782, allocations: 1.179 MB / 0.9636 GB, free: 6.402 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.378413152880967]