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.00152/0.00152, allocations: 108 kB / 15.61 MB, free: 152 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.001672/0.001672, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.289/2.289, allocations: 390.2 MB / 0.6647 GB, free: 468 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 79.86 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7452/0.7464, allocations: 140.3 MB / 0.9496 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.00311/0.7496, allocations: 1.261 MB / 0.9508 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002025/0.7516, allocations: 1.436 MB / 0.9522 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.082e-05/0.7517, allocations: 4.906 kB / 0.9522 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.207e-05/0.7517, allocations: 3.984 kB / 0.9522 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002227/0.752, allocations: 7.375 kB / 0.9522 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007748/0.7528, allocations: 226.8 kB / 0.9524 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.549e-05/0.7529, allocations: 24.41 kB / 0.9525 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.238e-05/0.7529, allocations: 2.406 kB / 0.9525 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.753, allocations: 20.83 kB / 0.9525 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.7532, allocations: 12.14 kB / 0.9525 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.7532, allocations: 1.094 kB / 0.9525 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000373/0.7536, allocations: 151.3 kB / 0.9527 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.7536, allocations: 5.609 kB / 0.9527 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.7536, allocations: 8.062 kB / 0.9527 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000339/0.754, allocations: 146.7 kB / 0.9528 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.754, allocations: 0 / 0.9528 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.304e-06/0.754, allocations: 0 / 0.9528 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.754, allocations: 0 / 0.9528 GB, free: 6.699 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.0003363/0.7544, allocations: 376.5 kB / 0.9532 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.7544, allocations: 10.06 kB / 0.9532 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.046e-05/0.7545, allocations: 81.56 kB / 0.9532 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.7546, allocations: 237.3 kB / 0.9535 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/0.7546, allocations: 152.3 kB / 0.9536 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.7547, allocations: 157.6 kB / 0.9538 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.387e-05/0.7547, allocations: 110.7 kB / 0.9539 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.7547, allocations: 75.28 kB / 0.9539 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.7548, allocations: 150.6 kB / 0.9541 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.7548, allocations: 150.6 kB / 0.9542 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.621e-05/0.7548, allocations: 155.7 kB / 0.9544 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002222/0.755, allocations: 461.7 kB / 0.9548 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.799e-05/0.7551, allocations: 170.7 kB / 0.955 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.818e-05/0.7551, allocations: 84.08 kB / 0.9551 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.7551, allocations: 75.28 kB / 0.9551 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.7552, allocations: 107.3 kB / 0.9552 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.784e-06/0.7552, allocations: 4 kB / 0.9552 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 8.752e-05/0.7553, allocations: 43.83 kB / 0.9553 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.7553, allocations: 128.2 kB / 0.9554 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.126e-05/0.7554, allocations: 104.3 kB / 0.9555 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.7554, allocations: 25.7 kB / 0.9555 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.644e-05/0.7555, allocations: 85.83 kB / 0.9556 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.7555, allocations: 0 / 0.9556 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.7555, allocations: 20.14 kB / 0.9556 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.23e-05/0.7556, allocations: 320.2 kB / 0.9559 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.651e-05/0.7556, allocations: 5.188 kB / 0.9559 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.291e-05/0.7556, allocations: 25.72 kB / 0.956 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.802e-05/0.7557, allocations: 27.64 kB / 0.956 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7557, allocations: 4 kB / 0.956 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001427/0.7558, allocations: 55.09 kB / 0.9561 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.7559, allocations: 5.688 kB / 0.9561 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.7559, allocations: 0 / 0.9561 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.7559, allocations: 1.438 kB / 0.9561 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.416e-05/0.756, allocations: 5.625 kB / 0.9561 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.756, allocations: 0 / 0.9561 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.7561, allocations: 12.17 kB / 0.9561 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.7562, allocations: 7.312 kB / 0.9561 GB, free: 3.199 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 7.369e-05/0.7562, allocations: 191.1 kB / 0.9563 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.532e-05/0.7563, allocations: 106.3 kB / 0.9564 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.02e-05/0.7563, allocations: 113.2 kB / 0.9565 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.659e-05/0.7564, allocations: 181.1 kB / 0.9566 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.653e-05/0.7564, allocations: 177.4 kB / 0.9568 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.553e-05/0.7564, allocations: 193.3 kB / 0.957 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.7566, allocations: 404.6 kB / 0.9574 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.625e-05/0.7566, allocations: 101 kB / 0.9575 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.904e-05/0.7566, allocations: 106.3 kB / 0.9576 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.772e-05/0.7566, allocations: 181.7 kB / 0.9578 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.7567, allocations: 188.2 kB / 0.9579 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.516e-05/0.7567, allocations: 177.6 kB / 0.9581 GB, free: 1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.292e-05/0.7567, allocations: 177.7 kB / 0.9583 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.037e-05/0.7568, allocations: 311.6 kB / 0.9586 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.411e-05/0.7569, allocations: 187.6 kB / 0.9588 GB, free: 296 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.472e-05/0.7569, allocations: 189.6 kB / 0.9589 GB, free: 100 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.557e-05/0.757, allocations: 105 kB / 0.959 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.562e-05/0.7571, allocations: 181.6 kB / 0.9592 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.712e-05/0.7571, allocations: 106.4 kB / 0.9593 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.021e-05/0.7572, allocations: 83.33 kB / 0.9594 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7572, allocations: 0 / 0.9594 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004025/0.7576, allocations: 53.95 kB / 0.9594 GB, free: 15.6 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.0006368/0.7582, allocations: 346.3 kB / 0.9598 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001118/0.7584, allocations: 15.25 kB / 0.9598 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.7584, allocations: 0 / 0.9598 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.101e-06/0.7584, allocations: 1.469 kB / 0.9598 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.7588, allocations: 465.1 kB / 0.9602 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002968/0.7591, allocations: 182.3 kB / 0.9604 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.7594, allocations: 0.675 MB / 0.9611 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.893e-05/0.7594, allocations: 6.828 kB / 0.9611 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.958e-05/0.7594, allocations: 8.875 kB / 0.9611 GB, free: 14 MB / 0.7325 GB Notification: Performance of SimCode: time 4.71e-07/0.7594, allocations: 0 / 0.9611 GB, free: 14 MB / 0.7325 GB Notification: Performance of Templates: time 0.004901/0.7643, allocations: 1.605 MB / 0.9626 GB, free: 13.17 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