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.001371/0.001371, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001558/0.001558, allocations: 164.9 kB / 24.87 MB, free: 8.684 MB / 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 1.016/1.016, allocations: 177.1 MB / 205.3 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.848/1.848, allocations: 359 MB / 0.6063 GB, free: 10.9 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.513e-06/1.513e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.12e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.0018/0.001821, allocations: 1.322 MB / 0.7896 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00161/0.003431, allocations: 1.581 MB / 0.7912 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.695e-05/0.003468, allocations: 0.75 kB / 0.7912 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.414e-05/0.003482, allocations: 4 kB / 0.7912 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.003644, allocations: 16.83 kB / 0.7912 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004307/0.004075, allocations: 211.7 kB / 0.7914 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.789e-05/0.004133, allocations: 23.92 kB / 0.7914 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.189e-05/0.004165, allocations: 3.984 kB / 0.7914 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.004279, allocations: 31.8 kB / 0.7914 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.264e-05/0.004331, allocations: 13.56 kB / 0.7914 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.004343, allocations: 4 kB / 0.7915 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002047/0.004548, allocations: 147.8 kB / 0.7916 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.828e-06/0.004558, allocations: 4 kB / 0.7916 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.479e-05/0.004572, allocations: 11.38 kB / 0.7916 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.004763, allocations: 167.5 kB / 0.7918 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.004765, allocations: 0 / 0.7918 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.72e-07/0.004766, allocations: 0 / 0.7918 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.004769, allocations: 0 / 0.7918 GB, free: 8.684 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.000235/0.005004, allocations: 395.9 kB / 0.7921 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.78e-05/0.005032, allocations: 12.03 kB / 0.7922 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.005079, allocations: 124.4 kB / 0.7923 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.283e-05/0.005172, allocations: 235.8 kB / 0.7925 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.076e-05/0.005223, allocations: 239.4 kB / 0.7927 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.12e-05/0.005274, allocations: 242.8 kB / 0.793 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.918e-05/0.005323, allocations: 154 kB / 0.7931 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.73e-05/0.00535, allocations: 127.8 kB / 0.7932 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.018e-05/0.005401, allocations: 238.4 kB / 0.7935 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.681e-05/0.005447, allocations: 239.6 kB / 0.7937 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.024e-05/0.005498, allocations: 242.3 kB / 0.7939 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001947/0.005692, allocations: 0.5609 MB / 0.7945 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.512e-05/0.005767, allocations: 265.4 kB / 0.7947 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.936e-05/0.005797, allocations: 131.5 kB / 0.7948 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.005822, allocations: 120.3 kB / 0.795 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000175/0.005997, allocations: 160.6 kB / 0.7951 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.005998, allocations: 0 / 0.7951 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 4.737e-05/0.006045, allocations: 30.48 kB / 0.7951 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.006091, allocations: 178.5 kB / 0.7953 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.603e-05/0.006167, allocations: 166.5 kB / 0.7955 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.006177, allocations: 25.7 kB / 0.7955 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.664e-05/0.006214, allocations: 136.1 kB / 0.7956 GB, free: 4.562 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.182e-06/0.006215, allocations: 0 / 0.7956 GB, free: 4.562 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.006242, allocations: 19.38 kB / 0.7956 GB, free: 4.535 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.006345, allocations: 0.493 MB / 0.7961 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.095e-06/0.006353, allocations: 0 / 0.7961 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.068e-05/0.006404, allocations: 121.3 kB / 0.7962 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.417e-05/0.006438, allocations: 33.22 kB / 0.7963 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.00644, allocations: 0 / 0.7963 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.457e-05/0.006524, allocations: 41.64 kB / 0.7963 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.006535, allocations: 7.984 kB / 0.7963 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.00654, allocations: 6.781 kB / 0.7963 GB, free: 3.781 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.562e-06/0.006546, allocations: 0 / 0.7963 GB, free: 3.781 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.56e-05/0.006592, allocations: 11.94 kB / 0.7963 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.006595, allocations: 3.938 kB / 0.7963 GB, free: 3.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.4e-05/0.006669, allocations: 11.89 kB / 0.7964 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.006678, allocations: 7.984 kB / 0.7964 GB, free: 3.746 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.642e-05/0.006755, allocations: 275.8 kB / 0.7966 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.353e-05/0.006798, allocations: 146.4 kB / 0.7968 GB, free: 3.316 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.924e-05/0.006838, allocations: 156 kB / 0.7969 GB, free: 3.156 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.102e-05/0.006889, allocations: 268.1 kB / 0.7972 GB, free: 2.887 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-05/0.006939, allocations: 272 kB / 0.7974 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.041e-05/0.00699, allocations: 268.5 kB / 0.7977 GB, free: 2.344 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.00714, allocations: 481.1 kB / 0.7981 GB, free: 1.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.281e-05/0.007173, allocations: 148.8 kB / 0.7983 GB, free: 1.688 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.343e-05/0.007207, allocations: 154.2 kB / 0.7984 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-05/0.007262, allocations: 264.1 kB / 0.7987 GB, free: 1.266 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-05/0.007321, allocations: 272 kB / 0.7989 GB, free: 0.9922 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.365e-05/0.007375, allocations: 272.8 kB / 0.7992 GB, free: 0.7188 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.286e-05/0.007428, allocations: 268 kB / 0.7995 GB, free: 460 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.007553, allocations: 445.9 kB / 0.7999 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 3.613e-05/0.007589, allocations: 152.8 kB / 0.8 GB, free: 15.83 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.322e-05/0.007642, allocations: 264.3 kB / 0.8003 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.496e-05/0.007697, allocations: 152.8 kB / 0.8004 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.827e-05/0.007755, allocations: 276.1 kB / 0.8007 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-05/0.007785, allocations: 149.7 kB / 0.8008 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 3.928e-05/0.007824, allocations: 131.1 kB / 0.801 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.007824, allocations: 1.125 kB / 0.801 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002239/0.008048, allocations: 55.8 kB / 0.801 GB, free: 14.8 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.000478/0.008526, allocations: 405.8 kB / 0.8014 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 6.121e-05/0.008587, allocations: 19.67 kB / 0.8014 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.008589, allocations: 0 / 0.8014 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 2.084e-06/0.008591, allocations: 4 kB / 0.8014 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.00886, allocations: 0.7108 MB / 0.8021 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005178/0.009378, allocations: 230.6 kB / 0.8023 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.642e-05/0.009404, allocations: 51.36 kB / 0.8024 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 2.187e-05/0.009426, allocations: 1.125 kB / 0.8024 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.011e-05/0.009466, allocations: 82.19 kB / 0.8025 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of SimCode: time 7.32e-07/0.009467, allocations: 5.062 kB / 0.8025 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of Templates: time 0.003156/0.01262, allocations: 1.942 MB / 0.8044 GB, free: 11.38 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: 5.053744671866298]