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.0009352/0.0009352, allocations: 92.31 kB / 20.19 MB, free: 4.355 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.0009173/0.0009173, allocations: 169 kB / 23.49 MB, free: 1.051 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.9895/0.9895, allocations: 177.1 MB / 203.8 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 2.116/2.116, allocations: 429.5 MB / 0.6736 GB, free: 4.062 MB / 0.6355 GB " [Timeout remaining time 177] 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 1.783e-06/1.783e-06, allocations: 0 / 0.8782 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.166e-05/2.344e-05, allocations: 7.312 kB / 0.8782 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001621/0.001645, allocations: 1.29 MB / 0.8795 GB, free: 5.359 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.002737, allocations: 1.134 MB / 0.8806 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.901e-05/0.002766, allocations: 0 / 0.8806 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.73e-05/0.002783, allocations: 0 / 0.8806 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004203/0.003204, allocations: 114.7 kB / 0.8807 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.017e-06/0.003208, allocations: 0 / 0.8807 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.231e-05/0.00325, allocations: 2.078 kB / 0.8807 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.868e-05/0.003289, allocations: 0 / 0.8807 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.595e-05/0.003315, allocations: 8.875 kB / 0.8807 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.262e-05/0.003367, allocations: 0 / 0.8807 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 9.278e-06/0.003377, allocations: 0 / 0.8807 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.003547, allocations: 105.4 kB / 0.8808 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.692e-06/0.003553, allocations: 0 / 0.8808 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.221e-05/0.003566, allocations: 0 / 0.8808 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.003748, allocations: 123.6 kB / 0.8809 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.003752, allocations: 5.438 kB / 0.8809 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.11e-07/0.003753, allocations: 0 / 0.8809 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.003757, allocations: 0 / 0.8809 GB, free: 3.879 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.0002831/0.004041, allocations: 380.3 kB / 0.8813 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.00408, allocations: 15.16 kB / 0.8813 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.119e-05/0.004131, allocations: 120.1 kB / 0.8814 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.004258, allocations: 227.8 kB / 0.8816 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.207e-05/0.00431, allocations: 242.8 kB / 0.8818 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.816e-05/0.004358, allocations: 242.7 kB / 0.8821 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.756e-05/0.004416, allocations: 145.5 kB / 0.8822 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.591e-05/0.004442, allocations: 119.4 kB / 0.8823 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.567e-05/0.004498, allocations: 242.5 kB / 0.8826 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.083e-05/0.004548, allocations: 247 kB / 0.8828 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.321e-05/0.004602, allocations: 244 kB / 0.883 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000204/0.004806, allocations: 0.5681 MB / 0.8836 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.684e-05/0.004892, allocations: 265.4 kB / 0.8838 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/0.005081, allocations: 126.9 kB / 0.884 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.005106, allocations: 119.2 kB / 0.8841 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.653e-05/0.005153, allocations: 157.9 kB / 0.8842 GB, free: 356 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.005154, allocations: 0 / 0.8842 GB, free: 356 kB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 5.596e-05/0.00521, allocations: 29.64 kB / 0.8843 GB, free: 320 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.005261, allocations: 182.5 kB / 0.8844 GB, free: 124 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.005363, allocations: 157.9 kB / 0.8846 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.425e-06/0.005372, allocations: 25.7 kB / 0.8846 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.001e-05/0.005402, allocations: 126.9 kB / 0.8847 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.005403, allocations: 4 kB / 0.8847 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.712e-05/0.005421, allocations: 15.38 kB / 0.8847 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.005521, allocations: 492.1 kB / 0.8852 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.669e-06/0.005525, allocations: 0 / 0.8852 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.807e-06/0.005529, allocations: 0 / 0.8852 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.811e-05/0.005557, allocations: 123.2 kB / 0.8853 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.368e-05/0.005581, allocations: 123.3 kB / 0.8854 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.728e-05/0.005618, allocations: 33.69 kB / 0.8855 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.608e-05/0.005654, allocations: 131.1 kB / 0.8856 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.401e-05/0.005678, allocations: 119.2 kB / 0.8857 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.884e-05/0.005737, allocations: 246.3 kB / 0.886 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.879e-05/0.005766, allocations: 131.1 kB / 0.8861 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.945e-05/0.005816, allocations: 238.4 kB / 0.8863 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.09e-05/0.005866, allocations: 123.1 kB / 0.8864 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.00589, allocations: 119.2 kB / 0.8865 GB, free: 13.9 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 9.724e-05/0.005988, allocations: 402.9 kB / 0.8869 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.161e-05/0.006029, allocations: 148.9 kB / 0.8871 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.074e-05/0.00608, allocations: 156 kB / 0.8872 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-05/0.006132, allocations: 264.3 kB / 0.8875 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.587e-05/0.006188, allocations: 272 kB / 0.8877 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.752e-05/0.006246, allocations: 276.1 kB / 0.888 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.006395, allocations: 491.9 kB / 0.8885 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.424e-05/0.006429, allocations: 156.9 kB / 0.8886 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.92e-05/0.006458, allocations: 144.9 kB / 0.8887 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.457e-05/0.006513, allocations: 272 kB / 0.889 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.498e-05/0.006568, allocations: 268.1 kB / 0.8893 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.534e-05/0.006623, allocations: 268.1 kB / 0.8895 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.493e-05/0.006678, allocations: 272 kB / 0.8898 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.006794, allocations: 451.9 kB / 0.8902 GB, free: 9.977 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.457e-05/0.006828, allocations: 144.9 kB / 0.8903 GB, free: 9.828 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.096e-05/0.006889, allocations: 268.1 kB / 0.8906 GB, free: 9.559 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.939e-05/0.006938, allocations: 152.8 kB / 0.8907 GB, free: 9.402 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-05/0.006999, allocations: 268 kB / 0.891 GB, free: 9.133 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.902e-05/0.007038, allocations: 152.8 kB / 0.8911 GB, free: 8.977 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001985/0.007236, allocations: 123.2 kB / 0.8913 GB, free: 8.855 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.007236, allocations: 0 / 0.8913 GB, free: 8.855 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002087/0.007445, allocations: 43.8 kB / 0.8913 GB, free: 8.812 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.0004678/0.007913, allocations: 387.3 kB / 0.8917 GB, free: 8.473 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 3.956e-05/0.007952, allocations: 0 / 0.8917 GB, free: 8.473 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.007954, allocations: 0 / 0.8917 GB, free: 8.473 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.974e-06/0.007956, allocations: 4 kB / 0.8917 GB, free: 8.469 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.008265, allocations: 0.7061 MB / 0.8924 GB, free: 7.758 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002463/0.008511, allocations: 204.9 kB / 0.8926 GB, free: 7.527 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.432e-05/0.008545, allocations: 55.34 kB / 0.8926 GB, free: 7.453 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.386e-06/0.008553, allocations: 4 kB / 0.8926 GB, free: 7.449 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.514e-05/0.008569, allocations: 12.5 kB / 0.8926 GB, free: 7.438 MB / 0.8542 GB Notification: Performance of SimCode: time 5.91e-07/0.008569, allocations: 0 / 0.8926 GB, free: 7.438 MB / 0.8542 GB Notification: Performance of Templates: time 0.002624/0.01119, allocations: 1.031 MB / 0.8936 GB, free: 6.422 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","",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.359333537053317]