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.001809/0.001809, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.001902/0.001902, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.547/1.547, allocations: 177.1 MB / 203.9 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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 2.919/2.919, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] 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.402e-06/1.402e-06, allocations: 0 / 0.7864 GB, free: 11.7 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.831e-05, allocations: 5.125 kB / 0.7864 GB, free: 11.7 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002601/0.002629, allocations: 1.299 MB / 0.7877 GB, free: 10.41 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00286/0.005489, allocations: 1.566 MB / 0.7892 GB, free: 8.84 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.241e-05/0.005522, allocations: 0 / 0.7892 GB, free: 8.84 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.97e-05/0.005541, allocations: 7.938 kB / 0.7892 GB, free: 8.832 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002248/0.005766, allocations: 19.91 kB / 0.7892 GB, free: 8.812 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006311/0.006397, allocations: 210.5 kB / 0.7894 GB, free: 8.609 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.931e-05/0.006476, allocations: 24.72 kB / 0.7894 GB, free: 8.586 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.768e-05/0.006514, allocations: 3.984 kB / 0.7894 GB, free: 8.582 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.006667, allocations: 28.47 kB / 0.7895 GB, free: 8.555 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.691e-05/0.006744, allocations: 4.688 kB / 0.7895 GB, free: 8.551 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.006758, allocations: 0 / 0.7895 GB, free: 8.551 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003231/0.007081, allocations: 152.6 kB / 0.7896 GB, free: 8.402 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.821e-05/0.0071, allocations: 8 kB / 0.7896 GB, free: 8.395 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.828e-05/0.007128, allocations: 12.62 kB / 0.7896 GB, free: 8.383 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003445/0.007472, allocations: 163.5 kB / 0.7898 GB, free: 8.223 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.007476, allocations: 1.594 kB / 0.7898 GB, free: 8.223 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.32e-07/0.007477, allocations: 0 / 0.7898 GB, free: 8.223 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.007481, allocations: 0 / 0.7898 GB, free: 8.223 MB / 0.698 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.0004848/0.007966, allocations: 399.9 kB / 0.7902 GB, free: 7.797 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.008007, allocations: 8.812 kB / 0.7902 GB, free: 7.789 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.008127, allocations: 124.1 kB / 0.7903 GB, free: 7.668 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.008338, allocations: 243.1 kB / 0.7905 GB, free: 7.406 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.00847, allocations: 238.8 kB / 0.7908 GB, free: 7.172 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.008615, allocations: 250.7 kB / 0.791 GB, free: 6.926 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.00872, allocations: 145.5 kB / 0.7911 GB, free: 6.777 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.734e-05/0.008787, allocations: 123.1 kB / 0.7913 GB, free: 6.656 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/0.008927, allocations: 238.4 kB / 0.7915 GB, free: 6.422 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001335/0.009061, allocations: 242.4 kB / 0.7917 GB, free: 6.184 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.0092, allocations: 238.4 kB / 0.7919 GB, free: 5.949 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004565/0.009657, allocations: 0.5758 MB / 0.7925 GB, free: 5.34 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.009844, allocations: 274.1 kB / 0.7928 GB, free: 5.059 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.625e-05/0.00992, allocations: 130.9 kB / 0.7929 GB, free: 4.926 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.961e-05/0.009989, allocations: 120.8 kB / 0.793 GB, free: 4.809 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001081/0.0101, allocations: 160.6 kB / 0.7932 GB, free: 4.641 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.0101, allocations: 0 / 0.7932 GB, free: 4.641 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 9.185e-05/0.01019, allocations: 33.58 kB / 0.7932 GB, free: 4.602 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.0103, allocations: 171.1 kB / 0.7934 GB, free: 4.422 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.01047, allocations: 165.9 kB / 0.7935 GB, free: 4.242 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.417e-05/0.01049, allocations: 27.08 kB / 0.7935 GB, free: 4.211 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.647e-05/0.01058, allocations: 134.9 kB / 0.7937 GB, free: 4.074 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.01058, allocations: 0 / 0.7937 GB, free: 4.074 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.289e-05/0.01063, allocations: 27.36 kB / 0.7937 GB, free: 4.039 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002703/0.0109, allocations: 497.3 kB / 0.7942 GB, free: 3.543 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.278e-05/0.01091, allocations: 0 / 0.7942 GB, free: 3.543 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.01105, allocations: 120.1 kB / 0.7943 GB, free: 3.395 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.876e-05/0.01111, allocations: 32.38 kB / 0.7943 GB, free: 3.352 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.01111, allocations: 5.406 kB / 0.7943 GB, free: 3.348 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001502/0.01126, allocations: 49.62 kB / 0.7944 GB, free: 3.293 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.01128, allocations: 4.531 kB / 0.7944 GB, free: 3.289 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.01129, allocations: 5.344 kB / 0.7944 GB, free: 3.285 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.01131, allocations: 3.938 kB / 0.7944 GB, free: 3.281 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.764e-05/0.01137, allocations: 4 kB / 0.7944 GB, free: 3.277 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.01138, allocations: 3.984 kB / 0.7944 GB, free: 3.273 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.0115, allocations: 8.516 kB / 0.7944 GB, free: 3.266 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.01152, allocations: 4.562 kB / 0.7944 GB, free: 3.262 MB / 0.698 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 0.0001845/0.0117, allocations: 281.1 kB / 0.7947 GB, free: 2.977 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.01181, allocations: 148.8 kB / 0.7948 GB, free: 2.824 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.555e-05/0.0119, allocations: 156 kB / 0.795 GB, free: 2.664 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001605/0.01207, allocations: 276 kB / 0.7952 GB, free: 2.387 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001485/0.01221, allocations: 268.7 kB / 0.7955 GB, free: 2.117 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001522/0.01237, allocations: 265.5 kB / 0.7957 GB, free: 1.852 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005448/0.01291, allocations: 499.8 kB / 0.7962 GB, free: 1.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.894e-05/0.013, allocations: 152.9 kB / 0.7963 GB, free: 1.164 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.128e-05/0.01308, allocations: 148.8 kB / 0.7965 GB, free: 1.012 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001453/0.01323, allocations: 265.2 kB / 0.7967 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000155/0.01338, allocations: 272.1 kB / 0.797 GB, free: 484 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001504/0.01353, allocations: 272.1 kB / 0.7973 GB, free: 204 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001575/0.01369, allocations: 268.5 kB / 0.7975 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.01399, allocations: 448 kB / 0.7979 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.845e-05/0.01409, allocations: 153.3 kB / 0.7981 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.01424, allocations: 265.2 kB / 0.7983 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.01436, allocations: 148.9 kB / 0.7985 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.01452, allocations: 276.7 kB / 0.7988 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-05/0.0146, allocations: 153.2 kB / 0.7989 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.213e-05/0.0147, allocations: 128 kB / 0.799 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.0147, allocations: 0 / 0.799 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003653/0.01506, allocations: 51.8 kB / 0.7991 GB, free: 14.28 MB / 0.7136 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.0009621/0.01602, allocations: 408.7 kB / 0.7995 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001077/0.01613, allocations: 27.06 kB / 0.7995 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01613, allocations: 0 / 0.7995 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.684e-06/0.01614, allocations: 0 / 0.7995 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005756/0.01671, allocations: 0.7023 MB / 0.8002 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003394/0.01705, allocations: 237.5 kB / 0.8004 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.079e-05/0.01712, allocations: 59.34 kB / 0.8005 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.774e-05/0.01715, allocations: 0 / 0.8005 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.507e-05/0.01717, allocations: 9.375 kB / 0.8005 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of SimCode: time 5.51e-07/0.01717, allocations: 0 / 0.8005 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of Templates: time 0.005628/0.0228, allocations: 1.65 MB / 0.8021 GB, free: 11.23 MB / 0.7136 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.890717254951596]