Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001046/0.001046, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0014/0.0014, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.831/2.831, allocations: 437.7 MB / 0.7117 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003835/0.0003838, allocations: 11.98 kB / 0.8722 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8223/0.8228, allocations: 153.8 MB / 1.022 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001878/0.8247, allocations: 0.9954 MB / 1.023 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002524/0.8273, allocations: 1.347 MB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.752e-05/0.8273, allocations: 0 / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.004e-05/0.8274, allocations: 7.875 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001988/0.8276, allocations: 19.98 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000563/0.8281, allocations: 171.3 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.41e-05/0.8282, allocations: 27.86 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.489e-05/0.8283, allocations: 3.984 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.615e-05/0.8284, allocations: 16 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.8285, allocations: 15.91 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.8285, allocations: 0 / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000246/0.8288, allocations: 135.8 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.525e-05/0.8288, allocations: 7.984 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.555e-05/0.8288, allocations: 25.7 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.8291, allocations: 95.88 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.8291, allocations: 0 / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.995e-06/0.8291, allocations: 0 / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.8291, allocations: 4 kB / 1.025 GB, free: 13.15 MB / 0.7794 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.0004453/0.8295, allocations: 366.9 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.8296, allocations: 8.562 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.561e-05/0.8297, allocations: 79.28 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.8299, allocations: 238.3 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.421e-05/0.83, allocations: 158.6 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.998e-05/0.8301, allocations: 154.6 kB / 1.026 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.375e-05/0.8302, allocations: 112.9 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.848e-05/0.8302, allocations: 79.28 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-05/0.8303, allocations: 150.6 kB / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-05/0.8304, allocations: 150.6 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.76e-05/0.8304, allocations: 150.6 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003827/0.8308, allocations: 461.9 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.8309, allocations: 169.1 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.179e-05/0.831, allocations: 80.14 kB / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.095e-05/0.831, allocations: 75.28 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.121e-05/0.8311, allocations: 117.8 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.8311, allocations: 0 / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.768e-05/0.8312, allocations: 29.61 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.901e-05/0.8313, allocations: 134.6 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.8314, allocations: 109.8 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.8314, allocations: 25.7 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.943e-05/0.8315, allocations: 84.14 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.846e-06/0.8315, allocations: 4 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-06/0.8315, allocations: 0 / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.8317, allocations: 314.8 kB / 1.028 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.515e-05/0.8317, allocations: 8 kB / 1.028 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.208e-05/0.8317, allocations: 18.58 kB / 1.028 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.559e-05/0.8318, allocations: 7.984 kB / 1.028 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.8318, allocations: 4 kB / 1.028 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001411/0.8319, allocations: 45.64 kB / 1.028 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.8319, allocations: 8 kB / 1.028 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.832, allocations: 3.953 kB / 1.028 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.832, allocations: 3.984 kB / 1.028 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.679e-05/0.8321, allocations: 4 kB / 1.028 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.8321, allocations: 7.938 kB / 1.028 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.8322, allocations: 4 kB / 1.028 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.8323, allocations: 7.984 kB / 1.028 GB, free: 9.613 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001479/0.8324, allocations: 189.3 kB / 1.029 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.902e-05/0.8325, allocations: 105 kB / 1.029 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.003e-05/0.8326, allocations: 112.2 kB / 1.029 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.192e-05/0.8327, allocations: 188.2 kB / 1.029 GB, free: 9 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.444e-05/0.8328, allocations: 180.5 kB / 1.029 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.981e-05/0.8329, allocations: 184.2 kB / 1.029 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/0.8332, allocations: 409.2 kB / 1.03 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.864e-05/0.8332, allocations: 104.9 kB / 1.03 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.857e-05/0.8333, allocations: 108.9 kB / 1.03 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.663e-05/0.8334, allocations: 176.3 kB / 1.03 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-05/0.8335, allocations: 184.2 kB / 1.03 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.358e-05/0.8336, allocations: 176.3 kB / 1.03 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001114/0.8337, allocations: 192.1 kB / 1.031 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.8339, allocations: 299.7 kB / 1.031 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.834, allocations: 186 kB / 1.031 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.8341, allocations: 188.2 kB / 1.031 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.8342, allocations: 112.9 kB / 1.031 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.8344, allocations: 184.2 kB / 1.032 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.536e-05/0.8344, allocations: 101.3 kB / 1.032 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.174e-05/0.8345, allocations: 87.2 kB / 1.032 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8345, allocations: 0 / 1.032 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003873/0.8349, allocations: 55.98 kB / 1.032 GB, free: 5.941 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006203/0.8355, allocations: 348.1 kB / 1.032 GB, free: 5.633 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.048e-05/0.8356, allocations: 11.98 kB / 1.032 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.8356, allocations: 0 / 1.032 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.8356, allocations: 0 / 1.032 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.8361, allocations: 0.5265 MB / 1.033 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002821/0.8364, allocations: 173.9 kB / 1.033 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.8367, allocations: 0.677 MB / 1.033 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.018e-05/0.8367, allocations: 7.938 kB / 1.033 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.63e-05/0.8367, allocations: 7.438 kB / 1.033 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.8367, allocations: 0 / 1.033 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of Templates: time 0.004574/0.8413, allocations: 1.543 MB / 1.035 GB, free: 2.641 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches