Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009286/0.0009286, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 185 kB / 24.09 MB, free: 416 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9502/0.9502, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.79/1.79, allocations: 359 MB / 0.6055 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.202e-05/1.36e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001582/0.001596, allocations: 1.324 MB / 0.7889 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.00322, allocations: 1.569 MB / 0.7904 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.957e-05/0.003259, allocations: 0.7812 kB / 0.7904 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.843e-05/0.003278, allocations: 0 / 0.7904 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.003488, allocations: 19.86 kB / 0.7904 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004957/0.003984, allocations: 216.9 kB / 0.7906 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.121e-05/0.004045, allocations: 27.86 kB / 0.7907 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.929e-05/0.004084, allocations: 7.984 kB / 0.7907 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.004209, allocations: 27.91 kB / 0.7907 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.777e-05/0.004257, allocations: 4 kB / 0.7907 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.004268, allocations: 1.406 kB / 0.7907 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002226/0.00449, allocations: 159.7 kB / 0.7909 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.158e-05/0.004502, allocations: 3.984 kB / 0.7909 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.455e-05/0.004516, allocations: 7.984 kB / 0.7909 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.004713, allocations: 176.1 kB / 0.791 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.004715, allocations: 0.9062 kB / 0.791 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.01e-07/0.004715, allocations: 0 / 0.791 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.004719, allocations: 0 / 0.791 GB, free: 8.652 MB / 0.7448 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.0002686/0.004988, allocations: 388.7 kB / 0.7914 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.005027, allocations: 8.031 kB / 0.7914 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.778e-05/0.005085, allocations: 125.2 kB / 0.7915 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.005192, allocations: 232.7 kB / 0.7918 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.753e-05/0.00525, allocations: 242.8 kB / 0.792 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.007e-05/0.00531, allocations: 246.7 kB / 0.7922 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.793e-05/0.005368, allocations: 154.8 kB / 0.7924 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/0.005397, allocations: 123.1 kB / 0.7925 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.195e-05/0.005449, allocations: 238.4 kB / 0.7927 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-05/0.005504, allocations: 242.4 kB / 0.7929 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.646e-05/0.00556, allocations: 244.2 kB / 0.7932 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002549/0.005815, allocations: 0.553 MB / 0.7937 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.667e-05/0.005902, allocations: 273.4 kB / 0.794 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.094e-05/0.005933, allocations: 130.9 kB / 0.7941 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.00596, allocations: 120.7 kB / 0.7942 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.486e-05/0.006025, allocations: 152.6 kB / 0.7944 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.473e-06/0.006026, allocations: 0 / 0.7944 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 5.846e-05/0.006085, allocations: 29.7 kB / 0.7944 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.006131, allocations: 179 kB / 0.7946 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.015e-05/0.006211, allocations: 162.1 kB / 0.7947 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.006221, allocations: 31.55 kB / 0.7947 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.963e-05/0.006261, allocations: 130.9 kB / 0.7949 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.182e-06/0.006262, allocations: 0 / 0.7949 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.103e-05/0.006293, allocations: 31.34 kB / 0.7949 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.867e-05/0.006392, allocations: 492.1 kB / 0.7954 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.825e-06/0.0064, allocations: 6.5 kB / 0.7954 GB, free: 4.016 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.201e-05/0.006452, allocations: 112.2 kB / 0.7955 GB, free: 3.875 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.201e-05/0.006484, allocations: 35 kB / 0.7955 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.006485, allocations: 0 / 0.7955 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.835e-05/0.006564, allocations: 50.88 kB / 0.7956 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.006574, allocations: 4 kB / 0.7956 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.006579, allocations: 0.5312 kB / 0.7956 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.006588, allocations: 1.625 kB / 0.7956 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.35e-05/0.006631, allocations: 15.92 kB / 0.7956 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.006634, allocations: 0 / 0.7956 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.944e-05/0.006704, allocations: 15.89 kB / 0.7956 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.00671, allocations: 0.625 kB / 0.7956 GB, free: 3.738 MB / 0.7448 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.689e-05/0.006787, allocations: 276.5 kB / 0.7959 GB, free: 3.457 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/0.00683, allocations: 156.8 kB / 0.796 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.196e-05/0.006872, allocations: 153.2 kB / 0.7962 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-05/0.006925, allocations: 268.1 kB / 0.7964 GB, free: 2.871 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.351e-05/0.006979, allocations: 279.9 kB / 0.7967 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.926e-05/0.007028, allocations: 264.6 kB / 0.7969 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.007175, allocations: 484.5 kB / 0.7974 GB, free: 1.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.251e-05/0.007208, allocations: 145.8 kB / 0.7975 GB, free: 1.668 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.87e-05/0.007237, allocations: 144.9 kB / 0.7977 GB, free: 1.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.404e-05/0.007291, allocations: 272.9 kB / 0.7979 GB, free: 1.246 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.042e-05/0.007341, allocations: 264.1 kB / 0.7982 GB, free: 0.9805 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.363e-05/0.007395, allocations: 281.7 kB / 0.7985 GB, free: 0.6992 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.202e-05/0.007447, allocations: 268.1 kB / 0.7987 GB, free: 440 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.007551, allocations: 443.9 kB / 0.7991 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 3.657e-05/0.007588, allocations: 148.9 kB / 0.7993 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.006e-05/0.007648, allocations: 272 kB / 0.7995 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.957e-05/0.007698, allocations: 145.7 kB / 0.7997 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.415e-05/0.007762, allocations: 272.2 kB / 0.7999 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.133e-05/0.007793, allocations: 151.4 kB / 0.8001 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 4.214e-05/0.007835, allocations: 139.1 kB / 0.8002 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.007835, allocations: 0 / 0.8002 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002525/0.008088, allocations: 51.8 kB / 0.8003 GB, free: 14.78 MB / 0.7605 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.0005028/0.008591, allocations: 411.8 kB / 0.8007 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 8.271e-05/0.008673, allocations: 19.62 kB / 0.8007 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.008675, allocations: 1.094 kB / 0.8007 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.008676, allocations: 0 / 0.8007 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.00896, allocations: 0.7062 MB / 0.8014 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000358/0.009318, allocations: 226.9 kB / 0.8016 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.827e-05/0.009346, allocations: 60.12 kB / 0.8016 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 2.276e-05/0.009369, allocations: 4 kB / 0.8016 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.727e-05/0.009406, allocations: 73.61 kB / 0.8017 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of SimCode: time 3.31e-07/0.009406, allocations: 0 / 0.8017 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of Templates: time 0.003097/0.0125, allocations: 1.942 MB / 0.8036 GB, free: 11.37 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.899503930937499]