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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001594/0.001594, allocations: 107 kB / 16.36 MB, free: 6.336 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.001794/0.001794, allocations: 193.8 kB / 17.29 MB, free: 5.883 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.192/2.192, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 64.52 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2681, allocations: 140.4 MB / 0.9511 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002425/0.2705, allocations: 1.267 MB / 0.9524 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001973/0.2725, allocations: 1.438 MB / 0.9538 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.478e-05/0.2726, allocations: 4 kB / 0.9538 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.494e-05/0.2726, allocations: 0 / 0.9538 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001858/0.2728, allocations: 19.92 kB / 0.9538 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005626/0.2734, allocations: 218.3 kB / 0.954 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.235e-05/0.2735, allocations: 23.92 kB / 0.954 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.394e-05/0.2735, allocations: 4 kB / 0.954 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.57e-05/0.2736, allocations: 19.97 kB / 0.954 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.2737, allocations: 15.94 kB / 0.9541 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.2737, allocations: 4 kB / 0.9541 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002574/0.274, allocations: 171.8 kB / 0.9542 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.274, allocations: 0 / 0.9542 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.365e-05/0.274, allocations: 7.984 kB / 0.9542 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.2743, allocations: 147.8 kB / 0.9544 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2743, allocations: 0 / 0.9544 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.875e-06/0.2743, allocations: 0 / 0.9544 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.2743, allocations: 3.938 kB / 0.9544 GB, free: 4.738 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.0003443/0.2747, allocations: 375.4 kB / 0.9547 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.2747, allocations: 12.03 kB / 0.9547 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.737e-05/0.2748, allocations: 80.22 kB / 0.9548 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.2749, allocations: 239.6 kB / 0.955 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.033e-05/0.275, allocations: 150.9 kB / 0.9552 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.513e-05/0.2751, allocations: 158.7 kB / 0.9553 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.855e-05/0.2751, allocations: 105 kB / 0.9554 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.2751, allocations: 79.28 kB / 0.9555 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.546e-05/0.2752, allocations: 162.5 kB / 0.9557 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.754e-05/0.2753, allocations: 154.6 kB / 0.9558 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.596e-05/0.2753, allocations: 154.5 kB / 0.956 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002901/0.2756, allocations: 453.8 kB / 0.9564 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.684e-05/0.2757, allocations: 169.1 kB / 0.9566 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.739e-05/0.2757, allocations: 88.08 kB / 0.9566 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.2758, allocations: 79.28 kB / 0.9567 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.2758, allocations: 109.8 kB / 0.9568 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.2758, allocations: 3.938 kB / 0.9568 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.564e-05/0.2759, allocations: 33.64 kB / 0.9569 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.276, allocations: 126.7 kB / 0.957 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.202e-05/0.2761, allocations: 105.8 kB / 0.9571 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.2761, allocations: 25.7 kB / 0.9571 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.663e-05/0.2761, allocations: 88.14 kB / 0.9572 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.2761, allocations: 0 / 0.9572 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.2762, allocations: 17.7 kB / 0.9572 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.681e-05/0.2763, allocations: 314.8 kB / 0.9575 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.287e-05/0.2763, allocations: 8 kB / 0.9575 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.956e-05/0.2764, allocations: 26.56 kB / 0.9575 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.167e-05/0.2764, allocations: 26.52 kB / 0.9576 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2764, allocations: 0 / 0.9576 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001231/0.2765, allocations: 57.56 kB / 0.9576 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.2766, allocations: 8 kB / 0.9576 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.2766, allocations: 3.984 kB / 0.9576 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.2766, allocations: 0 / 0.9576 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.268e-05/0.2767, allocations: 4 kB / 0.9576 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.2767, allocations: 4 kB / 0.9576 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.2768, allocations: 7.984 kB / 0.9576 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.2768, allocations: 0 / 0.9576 GB, free: 1.129 MB / 0.7325 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.959e-05/0.2769, allocations: 199.1 kB / 0.9578 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.733e-05/0.277, allocations: 112.8 kB / 0.9579 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.41e-05/0.2771, allocations: 104.1 kB / 0.958 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-05/0.2771, allocations: 184.2 kB / 0.9582 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.883e-05/0.2772, allocations: 176.3 kB / 0.9584 GB, free: 340 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-05/0.2772, allocations: 180.2 kB / 0.9586 GB, free: 152 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.2775, allocations: 413.2 kB / 0.959 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.503e-05/0.2775, allocations: 101 kB / 0.9591 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.359e-05/0.2775, allocations: 108.9 kB / 0.9592 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-05/0.2776, allocations: 184.2 kB / 0.9593 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.303e-05/0.2777, allocations: 184.2 kB / 0.9595 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.985e-05/0.2777, allocations: 180.5 kB / 0.9597 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-05/0.2778, allocations: 176.3 kB / 0.9598 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.2779, allocations: 315.6 kB / 0.9601 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.244e-05/0.278, allocations: 194.1 kB / 0.9603 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.621e-05/0.2781, allocations: 180.3 kB / 0.9605 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.811e-05/0.2782, allocations: 105 kB / 0.9606 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.938e-05/0.2782, allocations: 184.2 kB / 0.9608 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-05/0.2783, allocations: 105 kB / 0.9609 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 3.777e-05/0.2783, allocations: 83.28 kB / 0.961 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2783, allocations: 0 / 0.961 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002998/0.2786, allocations: 55.92 kB / 0.961 GB, free: 13.46 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.0005571/0.2792, allocations: 326.4 kB / 0.9613 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 8.697e-05/0.2793, allocations: 15.94 kB / 0.9613 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.2793, allocations: 0 / 0.9613 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.2793, allocations: 3.938 kB / 0.9613 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.2796, allocations: 465.6 kB / 0.9618 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002335/0.2799, allocations: 173.4 kB / 0.962 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.2801, allocations: 0.6805 MB / 0.9626 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.43e-05/0.2801, allocations: 0 / 0.9626 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.51e-05/0.2802, allocations: 11.44 kB / 0.9626 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.2802, allocations: 0 / 0.9626 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of Templates: time 0.004028/0.2842, allocations: 1.616 MB / 0.9642 GB, free: 10.18 MB / 0.7481 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 -s gbode -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