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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001086/0.001086, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001277/0.001277, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.593/1.593, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.64/2.64, allocations: 390.9 MB / 0.666 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004134/0.0004136, allocations: 20 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8538/0.8542, allocations: 142.4 MB / 0.9545 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001266/0.8555, allocations: 0.9611 MB / 0.9554 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001468/0.857, allocations: 0.9433 MB / 0.9563 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.38e-05/0.8571, allocations: 0 / 0.9563 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.803e-05/0.8571, allocations: 0 / 0.9563 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003936/0.8575, allocations: 88.39 kB / 0.9564 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.396e-06/0.8575, allocations: 0 / 0.9564 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.454e-05/0.8576, allocations: 1.188 kB / 0.9564 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.239e-05/0.8576, allocations: 4.922 kB / 0.9564 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.64e-05/0.8577, allocations: 4.969 kB / 0.9564 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.8578, allocations: 7.281 kB / 0.9564 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.605e-06/0.8578, allocations: 0 / 0.9564 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002236/0.858, allocations: 97.52 kB / 0.9565 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.538e-06/0.858, allocations: 0 / 0.9565 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.998e-05/0.858, allocations: 30.73 kB / 0.9565 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.8582, allocations: 76.16 kB / 0.9566 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.8582, allocations: 1.094 kB / 0.9566 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.364e-06/0.8582, allocations: 0 / 0.9566 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.8582, allocations: 0 / 0.9566 GB, free: 6.258 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.0002826/0.8585, allocations: 346.4 kB / 0.9569 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.8586, allocations: 9.312 kB / 0.9569 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.14e-05/0.8586, allocations: 84.61 kB / 0.957 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.8587, allocations: 243.9 kB / 0.9573 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.8588, allocations: 150.6 kB / 0.9574 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.8588, allocations: 150.6 kB / 0.9576 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.09e-05/0.8589, allocations: 110.2 kB / 0.9577 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.8589, allocations: 75.28 kB / 0.9577 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.8589, allocations: 150.6 kB / 0.9579 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.649e-05/0.8589, allocations: 151.6 kB / 0.958 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.068e-05/0.859, allocations: 155.5 kB / 0.9582 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002478/0.8592, allocations: 446.8 kB / 0.9586 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.301e-05/0.8593, allocations: 174.4 kB / 0.9588 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.033e-05/0.8593, allocations: 84.08 kB / 0.9588 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.8594, allocations: 76.5 kB / 0.9589 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.8594, allocations: 111 kB / 0.959 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.8594, allocations: 4 kB / 0.959 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.523e-05/0.8595, allocations: 30.97 kB / 0.959 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.8595, allocations: 126.7 kB / 0.9592 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.809e-05/0.8596, allocations: 93.27 kB / 0.9593 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.902e-06/0.8596, allocations: 25.7 kB / 0.9593 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.723e-05/0.8596, allocations: 89.25 kB / 0.9594 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.8596, allocations: 0 / 0.9594 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1e-07/0.8596, allocations: 0 / 0.9594 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.874e-05/0.8597, allocations: 324.1 kB / 0.9597 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.657e-06/0.8597, allocations: 0 / 0.9597 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.976e-06/0.8597, allocations: 0 / 0.9597 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.418e-05/0.8597, allocations: 76.56 kB / 0.9597 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/0.8598, allocations: 75.28 kB / 0.9598 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.315e-05/0.8598, allocations: 28.16 kB / 0.9598 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.8598, allocations: 80.09 kB / 0.9599 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/0.8599, allocations: 84.42 kB / 0.96 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.919e-05/0.8599, allocations: 155.8 kB / 0.9602 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.503e-05/0.8599, allocations: 76.41 kB / 0.9602 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-05/0.86, allocations: 159.8 kB / 0.9604 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.737e-05/0.86, allocations: 79.28 kB / 0.9605 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.86, allocations: 80.41 kB / 0.9605 GB, free: 2.055 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.811e-05/0.8601, allocations: 267.8 kB / 0.9608 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/0.8602, allocations: 102.3 kB / 0.9609 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.931e-05/0.8602, allocations: 113.2 kB / 0.961 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.438e-05/0.8602, allocations: 181.7 kB / 0.9612 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.428e-05/0.8603, allocations: 180.3 kB / 0.9613 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.201e-05/0.8603, allocations: 185.2 kB / 0.9615 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.8605, allocations: 407.5 kB / 0.9619 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.726e-05/0.8605, allocations: 104.9 kB / 0.962 GB, free: 456 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.631e-05/0.8605, allocations: 106 kB / 0.9621 GB, free: 344 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.96e-05/0.8605, allocations: 185.7 kB / 0.9623 GB, free: 152 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.697e-05/0.8606, allocations: 181.5 kB / 0.9625 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.459e-05/0.8607, allocations: 185.7 kB / 0.9626 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.581e-05/0.8608, allocations: 184 kB / 0.9628 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.8609, allocations: 303.5 kB / 0.9631 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.699e-05/0.861, allocations: 187.4 kB / 0.9633 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.275e-05/0.8611, allocations: 181.2 kB / 0.9634 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.118e-05/0.8612, allocations: 110.2 kB / 0.9636 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.983e-05/0.8612, allocations: 181.4 kB / 0.9637 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.212e-05/0.8613, allocations: 102.5 kB / 0.9638 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.359e-05/0.8613, allocations: 81.52 kB / 0.9639 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8613, allocations: 0 / 0.9639 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003228/0.8617, allocations: 31.5 kB / 0.9639 GB, free: 14.39 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005247/0.8622, allocations: 323 kB / 0.9642 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 3.461e-05/0.8623, allocations: 400 / 0.9642 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.8623, allocations: 1.75 kB / 0.9642 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.173e-06/0.8623, allocations: 3.938 kB / 0.9642 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.8627, allocations: 0.529 MB / 0.9648 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002306/0.8629, allocations: 156 kB / 0.9649 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.8631, allocations: 0.6692 MB / 0.9656 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.614e-06/0.8631, allocations: 0 / 0.9656 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.32e-05/0.8632, allocations: 9.375 kB / 0.9656 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.8632, allocations: 7.875 kB / 0.9656 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of Templates: time 0.003321/0.8665, allocations: 0.9757 MB / 0.9665 GB, free: 12.23 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