Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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.002455/0.002455, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002873/0.002873, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.616/1.616, allocations: 177.1 MB / 203.1 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.368/3.368, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|alt",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|alt",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.658e-06/4.658e-06, allocations: 5.188 kB / 0.8775 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.941e-05/3.406e-05, allocations: 4.844 kB / 0.8775 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002641/0.002675, allocations: 1.267 MB / 0.8787 GB, free: 5.395 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002218/0.004893, allocations: 1.118 MB / 0.8798 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.197e-05/0.004925, allocations: 0 / 0.8798 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.435e-05/0.004939, allocations: 0 / 0.8798 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0005166/0.005456, allocations: 115.8 kB / 0.8799 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.399e-06/0.00546, allocations: 0 / 0.8799 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.122e-05/0.005501, allocations: 4.344 kB / 0.8799 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.897e-05/0.00554, allocations: 0 / 0.8799 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.295e-05/0.005573, allocations: 8.156 kB / 0.8799 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.687e-05/0.00564, allocations: 0 / 0.8799 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 8.055e-06/0.005648, allocations: 0 / 0.8799 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002308/0.005879, allocations: 107.8 kB / 0.88 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.546e-06/0.005888, allocations: 3.984 kB / 0.88 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.351e-05/0.005901, allocations: 4 kB / 0.88 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.00616, allocations: 117.3 kB / 0.8801 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.006164, allocations: 0 / 0.8801 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.042e-06/0.006165, allocations: 0 / 0.8801 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.006169, allocations: 0 / 0.8801 GB, free: 3.93 MB / 0.8386 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.0004307/0.0066, allocations: 375.9 kB / 0.8805 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.00664, allocations: 12.66 kB / 0.8805 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.33e-05/0.006733, allocations: 121.8 kB / 0.8806 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.006941, allocations: 235.8 kB / 0.8808 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.007082, allocations: 242.8 kB / 0.8811 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.007214, allocations: 238.8 kB / 0.8813 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.007328, allocations: 149.9 kB / 0.8815 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-05/0.007395, allocations: 119.4 kB / 0.8816 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/0.00753, allocations: 247.2 kB / 0.8818 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001315/0.007661, allocations: 242.4 kB / 0.882 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.007791, allocations: 239.2 kB / 0.8823 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004502/0.008241, allocations: 0.5681 MB / 0.8828 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.008431, allocations: 271 kB / 0.8831 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.682e-05/0.008508, allocations: 126.9 kB / 0.8832 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.195e-05/0.00858, allocations: 119.2 kB / 0.8833 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.692e-05/0.008677, allocations: 160.6 kB / 0.8835 GB, free: 400 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.008678, allocations: 4 kB / 0.8835 GB, free: 396 kB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.683e-05/0.008765, allocations: 25.7 kB / 0.8835 GB, free: 364 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/0.008892, allocations: 178.5 kB / 0.8837 GB, free: 172 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.009041, allocations: 153.9 kB / 0.8838 GB, free: 0 / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.009075, allocations: 25.7 kB / 0.8838 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.86e-05/0.009154, allocations: 134.9 kB / 0.884 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-06/0.009156, allocations: 0 / 0.884 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.009187, allocations: 15.38 kB / 0.884 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002717/0.009458, allocations: 496.1 kB / 0.8844 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.28e-06/0.009464, allocations: 0 / 0.8844 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.955e-06/0.009467, allocations: 4.125 kB / 0.8845 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.382e-05/0.00953, allocations: 123.2 kB / 0.8846 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.23e-05/0.009593, allocations: 119.2 kB / 0.8847 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.607e-05/0.009649, allocations: 25.7 kB / 0.8847 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.162e-05/0.00973, allocations: 127.2 kB / 0.8848 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-05/0.009803, allocations: 127.1 kB / 0.8849 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001407/0.009944, allocations: 238.4 kB / 0.8852 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.363e-05/0.01002, allocations: 139 kB / 0.8853 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001303/0.01015, allocations: 238.4 kB / 0.8855 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.01026, allocations: 123.2 kB / 0.8857 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.89e-05/0.01033, allocations: 131.1 kB / 0.8858 GB, free: 13.93 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 0.0002396/0.01057, allocations: 395 kB / 0.8862 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.01067, allocations: 144.9 kB / 0.8863 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.01078, allocations: 160 kB / 0.8864 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004102/0.01119, allocations: 268.3 kB / 0.8867 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001496/0.01134, allocations: 272 kB / 0.887 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001511/0.01149, allocations: 276 kB / 0.8872 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003458/0.01184, allocations: 495.9 kB / 0.8877 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.718e-05/0.01193, allocations: 152.9 kB / 0.8878 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.954e-05/0.01201, allocations: 148.9 kB / 0.888 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001478/0.01215, allocations: 264.1 kB / 0.8882 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001504/0.0123, allocations: 276 kB / 0.8885 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000142/0.01245, allocations: 268.1 kB / 0.8888 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001492/0.0126, allocations: 268 kB / 0.889 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002907/0.01289, allocations: 451.9 kB / 0.8894 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.075e-05/0.01298, allocations: 148.9 kB / 0.8896 GB, free: 9.863 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000168/0.01314, allocations: 272.1 kB / 0.8898 GB, free: 9.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.01327, allocations: 148.8 kB / 0.89 GB, free: 9.438 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.01341, allocations: 268 kB / 0.8902 GB, free: 9.168 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.174e-05/0.0135, allocations: 152.8 kB / 0.8904 GB, free: 9.012 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.582e-05/0.01358, allocations: 127.2 kB / 0.8905 GB, free: 8.887 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01358, allocations: 0 / 0.8905 GB, free: 8.887 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003425/0.01392, allocations: 35.86 kB / 0.8905 GB, free: 8.852 MB / 0.8542 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.0009089/0.01483, allocations: 376.2 kB / 0.8909 GB, free: 8.52 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 4.689e-05/0.01488, allocations: 0 / 0.8909 GB, free: 8.52 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01488, allocations: 0 / 0.8909 GB, free: 8.52 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.518e-06/0.01489, allocations: 4 kB / 0.8909 GB, free: 8.516 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005856/0.01547, allocations: 0.7111 MB / 0.8916 GB, free: 7.805 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003409/0.01581, allocations: 216.8 kB / 0.8918 GB, free: 7.562 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.442e-05/0.01588, allocations: 63.22 kB / 0.8919 GB, free: 7.48 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.356e-06/0.01589, allocations: 0 / 0.8919 GB, free: 7.48 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.432e-05/0.01591, allocations: 8.5 kB / 0.8919 GB, free: 7.473 MB / 0.8542 GB Notification: Performance of SimCode: time 7.51e-07/0.01591, allocations: 0 / 0.8919 GB, free: 7.473 MB / 0.8542 GB Notification: Performance of Templates: time 0.004188/0.0201, allocations: 1.019 MB / 0.8929 GB, free: 6.465 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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: 8.528964530909434]