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.001659/0.001659, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002181/0.002181, allocations: 197.2 kB / 16.79 MB, free: 6.809 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.551/1.551, allocations: 222.9 MB / 240.5 MB, free: 4.609 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.385/2.385, allocations: 390.2 MB / 0.6649 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 63.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6963/0.6976, allocations: 140.4 MB / 0.9496 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.00223/0.6999, allocations: 1.302 MB / 0.9509 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.7011, allocations: 0.9891 MB / 0.9518 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.144e-05/0.7012, allocations: 4 kB / 0.9518 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.539e-05/0.7012, allocations: 0 / 0.9518 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003434/0.7015, allocations: 88.73 kB / 0.9519 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.695e-06/0.7016, allocations: 0 / 0.9519 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.346e-05/0.7016, allocations: 1.375 kB / 0.9519 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.057e-05/0.7016, allocations: 5.312 kB / 0.9519 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.488e-05/0.7017, allocations: 0 / 0.9519 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.235e-05/0.7018, allocations: 2.75 kB / 0.9519 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.643e-06/0.7018, allocations: 1.375 kB / 0.9519 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001803/0.702, allocations: 117.5 kB / 0.952 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.679e-06/0.702, allocations: 0 / 0.952 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.401e-05/0.702, allocations: 5.375 kB / 0.952 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.7021, allocations: 76.84 kB / 0.9521 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.7021, allocations: 0 / 0.9521 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7021, allocations: 1.375 kB / 0.9521 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.7022, allocations: 0 / 0.9521 GB, free: 7.188 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.0002577/0.7024, allocations: 350.1 kB / 0.9525 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.7025, allocations: 13.12 kB / 0.9525 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/0.7025, allocations: 76.22 kB / 0.9525 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.7026, allocations: 244.7 kB / 0.9528 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.7026, allocations: 152.1 kB / 0.9529 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.7027, allocations: 150.9 kB / 0.9531 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.445e-05/0.7027, allocations: 106.4 kB / 0.9532 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.7027, allocations: 79.22 kB / 0.9532 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.323e-05/0.7028, allocations: 152.1 kB / 0.9534 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.082e-05/0.7028, allocations: 158.6 kB / 0.9535 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.321e-05/0.7028, allocations: 154.5 kB / 0.9537 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001708/0.703, allocations: 443.6 kB / 0.9541 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.817e-05/0.7031, allocations: 170.7 kB / 0.9543 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.64e-05/0.7031, allocations: 88.12 kB / 0.9544 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.7031, allocations: 75.28 kB / 0.9544 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.7031, allocations: 119.5 kB / 0.9545 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.443e-06/0.7031, allocations: 3.938 kB / 0.9545 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.989e-05/0.7032, allocations: 31.2 kB / 0.9546 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.7032, allocations: 126.7 kB / 0.9547 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.86e-05/0.7033, allocations: 100.7 kB / 0.9548 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.2e-06/0.7033, allocations: 25.7 kB / 0.9548 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.267e-05/0.7033, allocations: 81.86 kB / 0.9549 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-06/0.7033, allocations: 0 / 0.9549 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.634e-05/0.7034, allocations: 15.36 kB / 0.9549 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.568e-05/0.7034, allocations: 310.8 kB / 0.9552 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.448e-06/0.7034, allocations: 0 / 0.9552 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.296e-06/0.7034, allocations: 1.438 kB / 0.9552 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.17e-05/0.7034, allocations: 79.41 kB / 0.9553 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.407e-06/0.7035, allocations: 75.28 kB / 0.9553 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.695e-05/0.7035, allocations: 40.72 kB / 0.9554 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.7035, allocations: 81.62 kB / 0.9555 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.7035, allocations: 76.84 kB / 0.9555 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.074e-05/0.7036, allocations: 158.5 kB / 0.9557 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.243e-05/0.7036, allocations: 80.55 kB / 0.9558 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/0.7036, allocations: 155.2 kB / 0.9559 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.922e-05/0.7037, allocations: 80.47 kB / 0.956 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.7037, allocations: 76.31 kB / 0.9561 GB, free: 2.957 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 5.382e-05/0.7038, allocations: 259.4 kB / 0.9563 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.7038, allocations: 113.8 kB / 0.9564 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.222e-05/0.7038, allocations: 117 kB / 0.9565 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-05/0.7039, allocations: 177.4 kB / 0.9567 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.583e-05/0.7039, allocations: 181.4 kB / 0.9569 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.498e-05/0.7039, allocations: 177.8 kB / 0.957 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.7041, allocations: 410.9 kB / 0.9574 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/0.7041, allocations: 105 kB / 0.9575 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.568e-05/0.7041, allocations: 110.5 kB / 0.9576 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-05/0.7041, allocations: 181.8 kB / 0.9578 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.7042, allocations: 176.3 kB / 0.958 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-05/0.7042, allocations: 185.7 kB / 0.9582 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.42e-05/0.7042, allocations: 181.4 kB / 0.9583 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.274e-05/0.7043, allocations: 303.9 kB / 0.9586 GB, free: 188 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.165e-05/0.7043, allocations: 186 kB / 0.9588 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.712e-05/0.7044, allocations: 185.6 kB / 0.959 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.571e-05/0.7045, allocations: 102.2 kB / 0.9591 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.527e-05/0.7046, allocations: 185.7 kB / 0.9593 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/0.7046, allocations: 101 kB / 0.9593 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.676e-05/0.7047, allocations: 78.28 kB / 0.9594 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7047, allocations: 0 / 0.9594 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003109/0.705, allocations: 44.2 kB / 0.9595 GB, free: 15.3 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.0005016/0.7055, allocations: 314.1 kB / 0.9598 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 3.417e-05/0.7055, allocations: 4 kB / 0.9598 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.7055, allocations: 1.344 kB / 0.9598 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.016e-06/0.7055, allocations: 3.938 kB / 0.9598 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.7059, allocations: 0.5287 MB / 0.9603 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002368/0.7061, allocations: 176.2 kB / 0.9605 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.7064, allocations: 0.6744 MB / 0.9611 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.131e-05/0.7064, allocations: 8.5 kB / 0.9611 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of SimCode: time 3.21e-07/0.7064, allocations: 0 / 0.9611 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of Templates: time 0.00274/0.7091, allocations: 1.154 MB / 0.9623 GB, free: 13.05 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/jenkins1/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