Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009528/0.0009528, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009045/0.0009045, allocations: 161 kB / 23.82 MB, free: 0.75 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 0.947/0.947, allocations: 177.2 MB / 204.2 MB, free: 5.598 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.67/1.67, allocations: 359 MB / 0.6052 GB, free: 11 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.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|alt",fileNamePrefix="Buildings_11_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_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.358e-05/1.485e-05, allocations: 8.922 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001379/0.001394, allocations: 1.293 MB / 0.7884 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00155/0.002945, allocations: 1.127 MB / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.33e-05/0.002968, allocations: 0 / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.829e-05/0.002986, allocations: 4.5 kB / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003873/0.003374, allocations: 115.5 kB / 0.7896 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 2.995e-06/0.003377, allocations: 1.25 kB / 0.7896 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 3.537e-05/0.003412, allocations: 7.938 kB / 0.7896 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.436e-05/0.003446, allocations: 0 / 0.7896 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.062e-05/0.003467, allocations: 1.625 kB / 0.7896 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.542e-05/0.003512, allocations: 4 kB / 0.7896 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.513e-06/0.003519, allocations: 0 / 0.7896 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.003678, allocations: 111.8 kB / 0.7897 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.92e-06/0.003683, allocations: 1.219 kB / 0.7897 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.006e-05/0.003693, allocations: 0 / 0.7897 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.003854, allocations: 123.6 kB / 0.7898 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.003856, allocations: 0 / 0.7898 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.072e-06/0.003857, allocations: 0.6875 kB / 0.7898 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.00386, allocations: 0 / 0.7898 GB, free: 9.664 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.0002342/0.004095, allocations: 373 kB / 0.7902 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.004128, allocations: 8.031 kB / 0.7902 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.812e-05/0.004176, allocations: 124.8 kB / 0.7903 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.00428, allocations: 225.4 kB / 0.7905 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.876e-05/0.004339, allocations: 242.7 kB / 0.7908 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.933e-05/0.004388, allocations: 246.7 kB / 0.791 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.734e-05/0.004445, allocations: 149.5 kB / 0.7911 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/0.00447, allocations: 119.4 kB / 0.7913 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.197e-05/0.004522, allocations: 243.2 kB / 0.7915 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.005e-05/0.004572, allocations: 245.8 kB / 0.7917 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.938e-05/0.004622, allocations: 242.4 kB / 0.792 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001999/0.004821, allocations: 0.5603 MB / 0.7925 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.497e-05/0.004906, allocations: 273.4 kB / 0.7928 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.03e-05/0.004937, allocations: 126.9 kB / 0.7929 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.004962, allocations: 119.2 kB / 0.793 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.325e-05/0.005005, allocations: 160.6 kB / 0.7931 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.005006, allocations: 0 / 0.7931 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 5.248e-05/0.005059, allocations: 33.58 kB / 0.7932 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.005111, allocations: 175.2 kB / 0.7933 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.885e-05/0.0052, allocations: 159.6 kB / 0.7935 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.614e-06/0.005208, allocations: 25.7 kB / 0.7935 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.66e-05/0.005244, allocations: 126.9 kB / 0.7936 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-06/0.005247, allocations: 0 / 0.7936 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.713e-05/0.005264, allocations: 19.38 kB / 0.7937 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.00538, allocations: 497.4 kB / 0.7941 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.178e-06/0.005384, allocations: 0 / 0.7941 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.015e-06/0.005387, allocations: 0 / 0.7941 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.822e-05/0.005415, allocations: 119.8 kB / 0.7943 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.72e-05/0.005442, allocations: 123.2 kB / 0.7944 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.248e-05/0.005475, allocations: 27.39 kB / 0.7944 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.673e-05/0.005512, allocations: 132.8 kB / 0.7945 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.031e-05/0.005542, allocations: 123.2 kB / 0.7946 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.892e-05/0.005601, allocations: 243.7 kB / 0.7949 GB, free: 4.301 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.985e-05/0.005631, allocations: 127.1 kB / 0.795 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.962e-05/0.00568, allocations: 242.4 kB / 0.7952 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.241e-05/0.005733, allocations: 127.1 kB / 0.7953 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.005759, allocations: 120.4 kB / 0.7955 GB, free: 3.695 MB / 0.7448 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.000102/0.005861, allocations: 395 kB / 0.7958 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.646e-05/0.005908, allocations: 152.8 kB / 0.796 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.511e-05/0.005953, allocations: 156.5 kB / 0.7961 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-05/0.006018, allocations: 268.8 kB / 0.7964 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-05/0.006088, allocations: 272 kB / 0.7966 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.385e-05/0.006151, allocations: 273 kB / 0.7969 GB, free: 2.164 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.006309, allocations: 491.9 kB / 0.7974 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.793e-05/0.006347, allocations: 161.7 kB / 0.7975 GB, free: 1.477 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.201e-05/0.006379, allocations: 144.9 kB / 0.7977 GB, free: 1.328 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.047e-05/0.00644, allocations: 268.5 kB / 0.7979 GB, free: 1.059 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.293e-05/0.006502, allocations: 265.5 kB / 0.7982 GB, free: 0.793 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.436e-05/0.006557, allocations: 268.1 kB / 0.7984 GB, free: 0.5234 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-05/0.006617, allocations: 272 kB / 0.7987 GB, free: 256 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.006752, allocations: 447.9 kB / 0.7991 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.011e-05/0.006792, allocations: 150 kB / 0.7993 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.215e-05/0.006854, allocations: 264.1 kB / 0.7995 GB, free: 15.37 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.344e-05/0.006907, allocations: 160.8 kB / 0.7997 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.652e-05/0.006974, allocations: 272.7 kB / 0.7999 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.289e-05/0.007007, allocations: 148.8 kB / 0.8001 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 3.829e-05/0.007045, allocations: 123.8 kB / 0.8002 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.007045, allocations: 0.8125 kB / 0.8002 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002123/0.007257, allocations: 39.8 kB / 0.8002 GB, free: 14.62 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.0004383/0.007696, allocations: 386.7 kB / 0.8006 GB, free: 14.28 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 3.212e-05/0.007728, allocations: 3.344 kB / 0.8006 GB, free: 14.28 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.007731, allocations: 4 kB / 0.8006 GB, free: 14.28 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.007732, allocations: 0 / 0.8006 GB, free: 14.28 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.008008, allocations: 0.7022 MB / 0.8013 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002401/0.008248, allocations: 216.8 kB / 0.8015 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.92e-05/0.008277, allocations: 51.36 kB / 0.8015 GB, free: 13.26 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 8.596e-06/0.008286, allocations: 4 kB / 0.8015 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.506e-05/0.008301, allocations: 8.5 kB / 0.8016 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of SimCode: time 4.41e-07/0.008302, allocations: 4.938 kB / 0.8016 GB, free: 13.24 MB / 0.7605 GB Notification: Performance of Templates: time 0.002719/0.01102, allocations: 1.174 MB / 0.8027 GB, free: 12.1 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.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.733464574906975]