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.001159/0.001159, allocations: 113 kB / 16.42 MB, free: 6.441 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.001164/0.001164, allocations: 192 kB / 17.35 MB, free: 5.738 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.317/1.317, allocations: 222.9 MB / 241.1 MB, free: 15.17 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.216/2.216, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 55.91 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7612/0.7626, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002011/0.7647, allocations: 1.279 MB / 1.09 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001833/0.7665, allocations: 1.445 MB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.268e-05/0.7666, allocations: 0 / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.901e-05/0.7666, allocations: 0 / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002/0.7668, allocations: 13.83 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006004/0.7674, allocations: 222.5 kB / 1.092 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.256e-05/0.7675, allocations: 30.7 kB / 1.092 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.878e-05/0.7675, allocations: 2.266 kB / 1.092 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.023e-05/0.7676, allocations: 15.67 kB / 1.092 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.7677, allocations: 14.45 kB / 1.092 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.7678, allocations: 1.719 kB / 1.092 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003144/0.7681, allocations: 163.8 kB / 1.092 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.7681, allocations: 11.84 kB / 1.092 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.333e-05/0.7681, allocations: 8.547 kB / 1.092 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00029/0.7684, allocations: 147.1 kB / 1.092 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.7684, allocations: 0.75 kB / 1.092 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7685, allocations: 0 / 1.092 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.9e-06/0.7685, allocations: 0 / 1.092 GB, free: 3.371 MB / 0.8575 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.0003121/0.7688, allocations: 366.1 kB / 1.092 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.7688, allocations: 9.922 kB / 1.092 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.079e-05/0.7689, allocations: 82.62 kB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.996e-05/0.769, allocations: 241.7 kB / 1.093 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.769, allocations: 157.1 kB / 1.093 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.769, allocations: 157.9 kB / 1.093 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.684e-05/0.7691, allocations: 104.9 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.7691, allocations: 76.98 kB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.7691, allocations: 150.6 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.7692, allocations: 159.5 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.9e-05/0.7692, allocations: 150.6 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001829/0.7694, allocations: 451.8 kB / 1.094 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.82e-05/0.7694, allocations: 170.8 kB / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.022e-05/0.7695, allocations: 88.08 kB / 1.094 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.7695, allocations: 79.94 kB / 1.094 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.7695, allocations: 111.2 kB / 1.094 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.7695, allocations: 0 / 1.094 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.494e-05/0.7696, allocations: 32.7 kB / 1.094 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.643e-05/0.7696, allocations: 56.75 kB / 1.094 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.138e-05/0.7697, allocations: 107.5 kB / 1.095 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.7697, allocations: 30.45 kB / 1.095 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.732e-05/0.7697, allocations: 86.14 kB / 1.095 GB, free: 444 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.7698, allocations: 0.625 kB / 1.095 GB, free: 444 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.825e-05/0.7698, allocations: 21.91 kB / 1.095 GB, free: 424 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.739e-05/0.7699, allocations: 317 kB / 1.095 GB, free: 100 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.461e-05/0.7699, allocations: 6.672 kB / 1.095 GB, free: 96 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.076e-05/0.7699, allocations: 22.92 kB / 1.095 GB, free: 72 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.034e-05/0.77, allocations: 32.27 kB / 1.095 GB, free: 36 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.77, allocations: 0.8438 kB / 1.095 GB, free: 36 kB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001526/0.7701, allocations: 53.83 kB / 1.095 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.7702, allocations: 5.062 kB / 1.095 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.7702, allocations: 1.266 kB / 1.095 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.7702, allocations: 5.938 kB / 1.095 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.62e-05/0.7703, allocations: 6.328 kB / 1.095 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.7703, allocations: 0.625 kB / 1.095 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.7704, allocations: 10.52 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.7705, allocations: 3.953 kB / 1.095 GB, free: 15.98 MB / 0.8731 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 9.681e-05/0.7706, allocations: 185.5 kB / 1.095 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.998e-05/0.7706, allocations: 114.8 kB / 1.095 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.897e-05/0.7707, allocations: 115.1 kB / 1.095 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.164e-05/0.7708, allocations: 177.8 kB / 1.096 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.275e-05/0.7708, allocations: 106.2 kB / 1.096 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.246e-05/0.7709, allocations: 180.6 kB / 1.096 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.083e-05/0.771, allocations: 182.1 kB / 1.096 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.429e-05/0.7711, allocations: 107.5 kB / 1.096 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.112e-05/0.7711, allocations: 181.3 kB / 1.096 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.7e-05/0.7712, allocations: 261.5 kB / 1.097 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001515/0.7714, allocations: 380.8 kB / 1.097 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.944e-05/0.7714, allocations: 102.5 kB / 1.097 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.684e-05/0.7715, allocations: 85.41 kB / 1.097 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of Backend: time 3.4e-07/0.7715, allocations: 0 / 1.097 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008475/0.7723, allocations: 265.9 kB / 1.097 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0004512/0.7728, allocations: 0.8486 MB / 1.098 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of Templates: time 0.004443/0.7772, allocations: 1.623 MB / 1.1 GB, free: 12.57 MB / 0.8731 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/jenkins1/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