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.001844/0.001844, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001953/0.001953, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.364/1.364, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.258/2.258, allocations: 390.3 MB / 0.6653 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 66.17 kB / 0.8132 GB, free: 33.1 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2749, allocations: 140.4 MB / 0.9503 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002615/0.2775, allocations: 1.221 MB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001595/0.2792, allocations: 1.014 MB / 0.9525 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.363e-05/0.2792, allocations: 0 / 0.9525 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.508e-05/0.2792, allocations: 0 / 0.9525 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004715/0.2797, allocations: 103.6 kB / 0.9526 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.238e-06/0.2798, allocations: 0 / 0.9526 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.256e-05/0.2798, allocations: 19.86 kB / 0.9526 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.665e-05/0.2799, allocations: 3.984 kB / 0.9526 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.71e-05/0.2799, allocations: 4 kB / 0.9526 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.309e-05/0.28, allocations: 4 kB / 0.9526 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.402e-06/0.28, allocations: 0 / 0.9526 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002191/0.2802, allocations: 107.9 kB / 0.9527 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.2e-06/0.2802, allocations: 0 / 0.9527 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.49e-05/0.2803, allocations: 7.984 kB / 0.9527 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.2805, allocations: 107.8 kB / 0.9528 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.2805, allocations: 0 / 0.9528 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2805, allocations: 0 / 0.9528 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.2805, allocations: 0 / 0.9528 GB, free: 6.273 MB / 0.7325 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.0003299/0.2809, allocations: 351.4 kB / 0.9531 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.2809, allocations: 8.031 kB / 0.9532 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.225e-05/0.281, allocations: 80.22 kB / 0.9532 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.2811, allocations: 243.6 kB / 0.9535 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.679e-05/0.2812, allocations: 154.9 kB / 0.9536 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.935e-05/0.2812, allocations: 154.9 kB / 0.9538 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.522e-05/0.2813, allocations: 105.1 kB / 0.9539 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/0.2814, allocations: 75.28 kB / 0.9539 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.597e-05/0.2814, allocations: 158.6 kB / 0.9541 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.387e-05/0.2815, allocations: 150.6 kB / 0.9542 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.63e-05/0.2815, allocations: 150.6 kB / 0.9544 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002791/0.2818, allocations: 453.9 kB / 0.9548 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.806e-05/0.2819, allocations: 169.2 kB / 0.955 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.29e-05/0.2819, allocations: 84.14 kB / 0.955 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/0.282, allocations: 75.28 kB / 0.9551 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.946e-05/0.282, allocations: 109.8 kB / 0.9552 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.282, allocations: 3.938 kB / 0.9552 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.246e-05/0.2821, allocations: 33.64 kB / 0.9553 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.2822, allocations: 134.7 kB / 0.9554 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.929e-05/0.2823, allocations: 93.86 kB / 0.9555 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.2823, allocations: 25.7 kB / 0.9555 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.719e-05/0.2823, allocations: 84.12 kB / 0.9556 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-06/0.2823, allocations: 0 / 0.9556 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.141e-05/0.2824, allocations: 9.719 kB / 0.9556 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.2825, allocations: 310.8 kB / 0.9559 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.278e-06/0.2825, allocations: 4.125 kB / 0.9559 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.088e-06/0.2825, allocations: 8 kB / 0.9559 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.626e-05/0.2825, allocations: 75.28 kB / 0.956 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.07e-05/0.2826, allocations: 75.28 kB / 0.956 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.784e-05/0.2826, allocations: 33.58 kB / 0.9561 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.56e-05/0.2827, allocations: 83.28 kB / 0.9561 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.299e-05/0.2827, allocations: 75.28 kB / 0.9562 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.311e-05/0.2828, allocations: 154.5 kB / 0.9564 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.839e-05/0.2828, allocations: 83.22 kB / 0.9564 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-05/0.2829, allocations: 154.7 kB / 0.9566 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.111e-05/0.2829, allocations: 87.17 kB / 0.9567 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.783e-05/0.283, allocations: 79.28 kB / 0.9568 GB, free: 1.992 MB / 0.7325 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.0001268/0.2831, allocations: 256.7 kB / 0.957 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.833e-05/0.2832, allocations: 116.9 kB / 0.9571 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.457e-05/0.2832, allocations: 111.9 kB / 0.9572 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-05/0.2833, allocations: 176.3 kB / 0.9574 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.15e-05/0.2834, allocations: 184.2 kB / 0.9576 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.078e-05/0.2835, allocations: 180.3 kB / 0.9577 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.2837, allocations: 409.2 kB / 0.9581 GB, free: 496 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-05/0.2837, allocations: 101 kB / 0.9582 GB, free: 388 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.099e-05/0.2838, allocations: 108.9 kB / 0.9583 GB, free: 272 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.261e-05/0.2838, allocations: 180.2 kB / 0.9585 GB, free: 84 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.171e-05/0.2839, allocations: 184.2 kB / 0.9587 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.647e-05/0.284, allocations: 180.2 kB / 0.9588 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.739e-05/0.2841, allocations: 184.3 kB / 0.959 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.2842, allocations: 303.8 kB / 0.9593 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-05/0.2843, allocations: 186 kB / 0.9595 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.937e-05/0.2844, allocations: 180.2 kB / 0.9597 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.095e-05/0.2844, allocations: 105 kB / 0.9598 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.616e-05/0.2845, allocations: 184.3 kB / 0.9599 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-05/0.2846, allocations: 104.9 kB / 0.96 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 3.991e-05/0.2846, allocations: 83.27 kB / 0.9601 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2846, allocations: 4 kB / 0.9601 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003184/0.2849, allocations: 35.94 kB / 0.9602 GB, free: 14.29 MB / 0.7481 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.0004905/0.2854, allocations: 329.5 kB / 0.9605 GB, free: 14 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 3.618e-05/0.2855, allocations: 4 kB / 0.9605 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2855, allocations: 0 / 0.9605 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.412e-06/0.2855, allocations: 4 kB / 0.9605 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.2859, allocations: 457.7 kB / 0.9609 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002771/0.2861, allocations: 198.5 kB / 0.9611 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.2864, allocations: 0.6727 MB / 0.9618 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.616e-05/0.2864, allocations: 11.42 kB / 0.9618 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of SimCode: time 2.9e-07/0.2865, allocations: 0 / 0.9618 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of Templates: time 0.002793/0.2892, allocations: 1.159 MB / 0.9629 GB, free: 11.45 MB / 0.7481 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