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.001344/0.001349, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001157/0.001157, allocations: 192.8 kB / 16.14 MB, free: 6.719 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.444/1.444, allocations: 222.9 MB / 239.8 MB, free: 4.578 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.514/2.514, allocations: 390.2 MB / 0.6642 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.91 kB / 0.8118 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8295/0.8307, allocations: 140.4 MB / 0.9489 GB, free: 9.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.00225/0.833, allocations: 1.296 MB / 0.9502 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.8343, allocations: 0.9964 MB / 0.9512 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.333e-05/0.8343, allocations: 0 / 0.9512 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.433e-05/0.8344, allocations: 0 / 0.9512 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000349/0.8347, allocations: 92.64 kB / 0.9512 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.765e-06/0.8348, allocations: 0 / 0.9512 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.14e-05/0.8348, allocations: 1.375 kB / 0.9512 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.418e-05/0.8348, allocations: 1.375 kB / 0.9513 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.695e-05/0.8349, allocations: 1.375 kB / 0.9513 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.642e-05/0.835, allocations: 6.734 kB / 0.9513 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.126e-06/0.835, allocations: 0 / 0.9513 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001847/0.8352, allocations: 110.9 kB / 0.9514 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.829e-06/0.8352, allocations: 0 / 0.9514 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.682e-05/0.8352, allocations: 7.922 kB / 0.9514 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.8354, allocations: 106.6 kB / 0.9515 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.8354, allocations: 4 kB / 0.9515 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.22e-07/0.8354, allocations: 1.375 kB / 0.9515 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.8354, allocations: 0 / 0.9515 GB, free: 7.062 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.0002614/0.8357, allocations: 353 kB / 0.9518 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.8357, allocations: 9.625 kB / 0.9518 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.8358, allocations: 77.59 kB / 0.9519 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.424e-05/0.8359, allocations: 237 kB / 0.9521 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.8359, allocations: 154.9 kB / 0.9523 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.8359, allocations: 150.9 kB / 0.9524 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.901e-05/0.836, allocations: 106.5 kB / 0.9525 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.836, allocations: 79.22 kB / 0.9526 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.836, allocations: 150.6 kB / 0.9527 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.836, allocations: 155.9 kB / 0.9529 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.35e-05/0.8361, allocations: 162.5 kB / 0.953 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001648/0.8362, allocations: 439.3 kB / 0.9535 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.21e-05/0.8363, allocations: 166.5 kB / 0.9536 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.835e-05/0.8363, allocations: 88.08 kB / 0.9537 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.8363, allocations: 80.66 kB / 0.9538 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.8364, allocations: 113.8 kB / 0.9539 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.12e-07/0.8364, allocations: 1.375 kB / 0.9539 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.099e-05/0.8364, allocations: 33.62 kB / 0.9539 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.8365, allocations: 128 kB / 0.954 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.952e-05/0.8365, allocations: 92.83 kB / 0.9541 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.719e-06/0.8366, allocations: 29.83 kB / 0.9542 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.816e-05/0.8366, allocations: 85.27 kB / 0.9542 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.413e-06/0.8366, allocations: 0 / 0.9542 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.747e-05/0.8366, allocations: 11.03 kB / 0.9543 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.708e-05/0.8367, allocations: 312.4 kB / 0.9545 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.929e-06/0.8367, allocations: 7.875 kB / 0.9546 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.895e-06/0.8367, allocations: 32 / 0.9546 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.206e-05/0.8367, allocations: 79.28 kB / 0.9546 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/0.8367, allocations: 80.84 kB / 0.9547 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.573e-05/0.8368, allocations: 39.23 kB / 0.9547 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.8368, allocations: 80.78 kB / 0.9548 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.8368, allocations: 75.28 kB / 0.9549 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.245e-05/0.8368, allocations: 155.5 kB / 0.955 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.042e-05/0.8369, allocations: 80.34 kB / 0.9551 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.13e-05/0.8369, allocations: 159.6 kB / 0.9553 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.591e-05/0.8369, allocations: 80.62 kB / 0.9554 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.837, allocations: 80.11 kB / 0.9554 GB, free: 2.828 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.701e-05/0.837, allocations: 263.7 kB / 0.9557 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.748e-05/0.8371, allocations: 106.5 kB / 0.9558 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.516e-05/0.8371, allocations: 111.9 kB / 0.9559 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.517e-05/0.8371, allocations: 185.5 kB / 0.9561 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.759e-05/0.8372, allocations: 181.5 kB / 0.9562 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.054e-05/0.8372, allocations: 181.4 kB / 0.9564 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.8373, allocations: 398.6 kB / 0.9568 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/0.8373, allocations: 106.3 kB / 0.9569 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.562e-05/0.8374, allocations: 114.2 kB / 0.957 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.701e-05/0.8374, allocations: 180.3 kB / 0.9572 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.899e-05/0.8374, allocations: 181.6 kB / 0.9573 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.419e-05/0.8375, allocations: 177.3 kB / 0.9575 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.529e-05/0.8375, allocations: 177.4 kB / 0.9577 GB, free: 392 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.509e-05/0.8376, allocations: 311.6 kB / 0.958 GB, free: 60 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.142e-05/0.8377, allocations: 187.2 kB / 0.9582 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.119e-05/0.8377, allocations: 177.6 kB / 0.9583 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.09e-05/0.8378, allocations: 109 kB / 0.9584 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.772e-05/0.8379, allocations: 181.8 kB / 0.9586 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.549e-05/0.8379, allocations: 106.5 kB / 0.9587 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.675e-05/0.838, allocations: 76.97 kB / 0.9588 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.838, allocations: 0 / 0.9588 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003141/0.8383, allocations: 44.27 kB / 0.9588 GB, free: 15.17 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.0005144/0.8388, allocations: 311.5 kB / 0.9591 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 4.023e-05/0.8389, allocations: 5.219 kB / 0.9591 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.8389, allocations: 0 / 0.9591 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.8389, allocations: 4 kB / 0.9591 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.8392, allocations: 0.5222 MB / 0.9596 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002431/0.8395, allocations: 162.8 kB / 0.9598 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.8397, allocations: 0.6707 MB / 0.9604 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.616e-06/0.8397, allocations: 4 kB / 0.9605 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.258e-05/0.8398, allocations: 8.781 kB / 0.9605 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.8398, allocations: 0 / 0.9605 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of Templates: time 0.003211/0.843, allocations: 0.9891 MB / 0.9614 GB, free: 13.01 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