Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, 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.001131/0.001131, allocations: 199.5 kB / 16.26 MB, free: 6.621 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.389/1.389, allocations: 222.9 MB / 239.9 MB, free: 4.551 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.39/2.39, allocations: 390.2 MB / 0.6643 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 71.89 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7203/0.7218, allocations: 140.4 MB / 0.9491 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002842/0.7247, allocations: 1.337 MB / 0.9504 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002168/0.7269, allocations: 1.415 MB / 0.9518 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.029e-05/0.727, allocations: 1.531 kB / 0.9518 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.209e-05/0.727, allocations: 7.922 kB / 0.9518 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002242/0.7273, allocations: 7.625 kB / 0.9518 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007343/0.728, allocations: 198.3 kB / 0.952 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.051e-05/0.7281, allocations: 21.22 kB / 0.952 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.844e-05/0.7282, allocations: 5.234 kB / 0.952 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.7283, allocations: 16.23 kB / 0.952 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.7284, allocations: 9.312 kB / 0.952 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.7284, allocations: 1.344 kB / 0.952 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003771/0.7288, allocations: 161.6 kB / 0.9522 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.7288, allocations: 2.188 kB / 0.9522 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.982e-05/0.7289, allocations: 12 kB / 0.9522 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003334/0.7292, allocations: 143 kB / 0.9523 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.7292, allocations: 0 / 0.9523 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7292, allocations: 0 / 0.9523 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.7292, allocations: 0 / 0.9523 GB, free: 6.578 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.0003618/0.7296, allocations: 373.5 kB / 0.9527 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.7297, allocations: 8.781 kB / 0.9527 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.276e-05/0.7297, allocations: 87.06 kB / 0.9528 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.7299, allocations: 237.2 kB / 0.953 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.7299, allocations: 152.6 kB / 0.9532 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.201e-05/0.7299, allocations: 156.3 kB / 0.9533 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.352e-05/0.73, allocations: 106.6 kB / 0.9534 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.73, allocations: 75.28 kB / 0.9535 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/0.73, allocations: 158.6 kB / 0.9536 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.401e-05/0.7301, allocations: 150.6 kB / 0.9538 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.802e-05/0.7301, allocations: 155.9 kB / 0.9539 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002311/0.7303, allocations: 454.7 kB / 0.9544 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.156e-05/0.7304, allocations: 169.1 kB / 0.9545 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.876e-05/0.7304, allocations: 85.39 kB / 0.9546 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.7304, allocations: 79.28 kB / 0.9547 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.7305, allocations: 110.8 kB / 0.9548 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.373e-06/0.7305, allocations: 3.938 kB / 0.9548 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 8.72e-05/0.7306, allocations: 31.8 kB / 0.9548 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.7306, allocations: 139.7 kB / 0.955 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.286e-05/0.7307, allocations: 104.4 kB / 0.9551 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.7307, allocations: 26.36 kB / 0.9551 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.873e-05/0.7308, allocations: 81.42 kB / 0.9552 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-06/0.7308, allocations: 0 / 0.9552 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.376e-05/0.7308, allocations: 24.11 kB / 0.9552 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.344e-05/0.7309, allocations: 316.3 kB / 0.9555 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.617e-05/0.7309, allocations: 1.844 kB / 0.9555 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.742e-05/0.7309, allocations: 28.38 kB / 0.9555 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.957e-05/0.731, allocations: 32.22 kB / 0.9555 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.731, allocations: 0 / 0.9555 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001404/0.7312, allocations: 56.03 kB / 0.9556 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.7312, allocations: 10.66 kB / 0.9556 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.7312, allocations: 1.125 kB / 0.9556 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.7312, allocations: 1.266 kB / 0.9556 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.039e-05/0.7313, allocations: 4.281 kB / 0.9556 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.7313, allocations: 5.297 kB / 0.9556 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.7315, allocations: 11.14 kB / 0.9556 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.7315, allocations: 3.906 kB / 0.9556 GB, free: 3.074 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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 6.971e-05/0.7316, allocations: 187.6 kB / 0.9558 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.591e-05/0.7316, allocations: 114.2 kB / 0.9559 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.828e-05/0.7317, allocations: 109.3 kB / 0.956 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-05/0.7317, allocations: 180.2 kB / 0.9562 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.81e-05/0.7317, allocations: 177.9 kB / 0.9564 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.721e-05/0.7318, allocations: 181.6 kB / 0.9565 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.7319, allocations: 411.4 kB / 0.9569 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.61e-05/0.7319, allocations: 106.4 kB / 0.957 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.504e-05/0.732, allocations: 105 kB / 0.9571 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-05/0.732, allocations: 177.7 kB / 0.9573 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/0.732, allocations: 185.5 kB / 0.9575 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-05/0.7321, allocations: 177.7 kB / 0.9576 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.112e-05/0.7321, allocations: 184.2 kB / 0.9578 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.293e-05/0.7322, allocations: 311.2 kB / 0.9581 GB, free: 380 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.493e-05/0.7322, allocations: 183.8 kB / 0.9583 GB, free: 172 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.102e-05/0.7323, allocations: 181.6 kB / 0.9585 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.645e-05/0.7324, allocations: 118.2 kB / 0.9586 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.533e-05/0.7325, allocations: 180.2 kB / 0.9587 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.4e-05/0.7325, allocations: 102.5 kB / 0.9588 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.801e-05/0.7326, allocations: 87.59 kB / 0.9589 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/0.7326, allocations: 0 / 0.9589 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003569/0.7329, allocations: 59.17 kB / 0.959 GB, free: 15.47 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.0007328/0.7337, allocations: 332.9 kB / 0.9593 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001075/0.7338, allocations: 10.47 kB / 0.9593 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.7338, allocations: 0 / 0.9593 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.835e-06/0.7338, allocations: 1.281 kB / 0.9593 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.7342, allocations: 461.7 kB / 0.9598 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002758/0.7345, allocations: 187.6 kB / 0.9599 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.7348, allocations: 0.6793 MB / 0.9606 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.893e-05/0.7348, allocations: 1.5 kB / 0.9606 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.984e-05/0.7349, allocations: 8.125 kB / 0.9606 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.7349, allocations: 0 / 0.9606 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of Templates: time 0.005238/0.7401, allocations: 1.619 MB / 0.9622 GB, free: 13.04 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches