Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|alt",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|alt",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002073/0.002073, allocations: 193.8 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.508/2.508, allocations: 390.2 MB / 0.6643 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 63.89 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.748/0.7495, allocations: 140.4 MB / 0.9491 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002806/0.7524, allocations: 1.312 MB / 0.9504 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.7538, allocations: 0.9812 MB / 0.9513 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.482e-05/0.7538, allocations: 0 / 0.9513 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.821e-05/0.7538, allocations: 3.938 kB / 0.9513 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004694/0.7543, allocations: 87.62 kB / 0.9514 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.428e-06/0.7543, allocations: 4 kB / 0.9514 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.781e-05/0.7544, allocations: 10.72 kB / 0.9514 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.421e-05/0.7545, allocations: 1.375 kB / 0.9514 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.764e-05/0.7545, allocations: 3.938 kB / 0.9514 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.7546, allocations: 2.75 kB / 0.9514 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.005e-06/0.7546, allocations: 0 / 0.9514 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000231/0.7549, allocations: 111.6 kB / 0.9515 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.131e-06/0.7549, allocations: 0 / 0.9515 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.912e-05/0.7549, allocations: 1.5 kB / 0.9515 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.7551, allocations: 114 kB / 0.9517 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.7551, allocations: 0 / 0.9517 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.963e-06/0.7551, allocations: 5.281 kB / 0.9517 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.054e-06/0.7552, allocations: 0 / 0.9517 GB, free: 7.121 MB / 0.7169 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.0003318/0.7555, allocations: 354.1 kB / 0.952 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.7555, allocations: 8.844 kB / 0.952 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.478e-05/0.7556, allocations: 77.47 kB / 0.9521 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.7558, allocations: 237.2 kB / 0.9523 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.422e-05/0.7558, allocations: 154.9 kB / 0.9525 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.7558, allocations: 154.9 kB / 0.9526 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.563e-05/0.7559, allocations: 110.5 kB / 0.9527 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.7559, allocations: 79.28 kB / 0.9528 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.756, allocations: 150.6 kB / 0.9529 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.384e-05/0.756, allocations: 151.8 kB / 0.9531 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.976e-05/0.756, allocations: 154.6 kB / 0.9532 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002086/0.7562, allocations: 439.5 kB / 0.9536 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.673e-05/0.7563, allocations: 174.6 kB / 0.9538 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.164e-05/0.7563, allocations: 80.14 kB / 0.9539 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.7563, allocations: 80.48 kB / 0.954 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.7564, allocations: 113.8 kB / 0.9541 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.7564, allocations: 0 / 0.9541 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 8.425e-05/0.7565, allocations: 35.09 kB / 0.9541 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.7565, allocations: 128.2 kB / 0.9542 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.7566, allocations: 96.23 kB / 0.9543 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.344e-06/0.7567, allocations: 25.7 kB / 0.9543 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.891e-05/0.7567, allocations: 85.33 kB / 0.9544 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-06/0.7567, allocations: 3.938 kB / 0.9544 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.915e-05/0.7567, allocations: 11.22 kB / 0.9544 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.634e-05/0.7568, allocations: 316.3 kB / 0.9547 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.7e-06/0.7568, allocations: 0 / 0.9547 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.116e-06/0.7568, allocations: 0 / 0.9547 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.883e-05/0.7568, allocations: 75.28 kB / 0.9548 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.631e-05/0.7569, allocations: 76.97 kB / 0.9549 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.526e-05/0.7569, allocations: 35.23 kB / 0.9549 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/0.757, allocations: 80.28 kB / 0.955 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.853e-05/0.757, allocations: 92.06 kB / 0.9551 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.917e-05/0.7571, allocations: 151.8 kB / 0.9552 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.884e-05/0.7571, allocations: 76.78 kB / 0.9553 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.546e-05/0.7571, allocations: 158.5 kB / 0.9555 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.011e-05/0.7572, allocations: 84.97 kB / 0.9555 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.7572, allocations: 79.22 kB / 0.9556 GB, free: 2.891 MB / 0.7169 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 9.366e-05/0.7573, allocations: 264.9 kB / 0.9559 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/0.7574, allocations: 104.9 kB / 0.956 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.416e-05/0.7574, allocations: 109.4 kB / 0.9561 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.392e-05/0.7575, allocations: 185.5 kB / 0.9562 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.146e-05/0.7575, allocations: 181.6 kB / 0.9564 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-05/0.7576, allocations: 180.2 kB / 0.9566 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.7577, allocations: 403.8 kB / 0.957 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.522e-05/0.7578, allocations: 106.2 kB / 0.9571 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.156e-05/0.7578, allocations: 112.8 kB / 0.9572 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.385e-05/0.7578, allocations: 181.4 kB / 0.9574 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.594e-05/0.7579, allocations: 181.4 kB / 0.9575 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.736e-05/0.7579, allocations: 181.4 kB / 0.9577 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-05/0.7579, allocations: 185.3 kB / 0.9579 GB, free: 444 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.075e-05/0.758, allocations: 299.1 kB / 0.9582 GB, free: 124 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.204e-05/0.7581, allocations: 191.2 kB / 0.9583 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-05/0.7582, allocations: 181.3 kB / 0.9585 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.375e-05/0.7583, allocations: 106.5 kB / 0.9586 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.46e-05/0.7584, allocations: 176.3 kB / 0.9588 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.17e-05/0.7585, allocations: 102.5 kB / 0.9589 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.973e-05/0.7585, allocations: 81.38 kB / 0.959 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7586, allocations: 0 / 0.959 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004091/0.759, allocations: 40.17 kB / 0.959 GB, free: 15.24 MB / 0.7325 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.0006112/0.7596, allocations: 318.7 kB / 0.9593 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 4.257e-05/0.7596, allocations: 9.469 kB / 0.9593 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.7596, allocations: 0 / 0.9593 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.366e-06/0.7597, allocations: 1.375 kB / 0.9593 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.76, allocations: 465 kB / 0.9598 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003592/0.7604, allocations: 157 kB / 0.9599 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.7607, allocations: 0.6736 MB / 0.9606 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.024e-05/0.7607, allocations: 0 / 0.9606 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.347e-05/0.7607, allocations: 8.469 kB / 0.9606 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of SimCode: time 2.144e-06/0.7607, allocations: 4 kB / 0.9606 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of Templates: time 0.003477/0.7642, allocations: 0.9841 MB / 0.9615 GB, free: 13.15 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches