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.001365/0.001365, allocations: 93.06 kB / 19.65 MB, free: 280 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.001103/0.001103, allocations: 169 kB / 23.02 MB, free: 1.555 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.9593/0.9593, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.156/2.156, allocations: 429.5 MB / 0.6732 GB, free: 4.055 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.953e-06/1.953e-06, allocations: 0 / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.929e-05/2.124e-05, allocations: 5.469 kB / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001535/0.001556, allocations: 1.295 MB / 0.8794 GB, free: 5.031 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.002629, allocations: 1.128 MB / 0.8805 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.363e-05/0.002652, allocations: 3.938 kB / 0.8806 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.926e-05/0.002671, allocations: 2.016 kB / 0.8806 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003882/0.00306, allocations: 110.1 kB / 0.8807 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 2.655e-06/0.003062, allocations: 1.125 kB / 0.8807 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 3.835e-05/0.003101, allocations: 5.031 kB / 0.8807 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.887e-05/0.00314, allocations: 7.984 kB / 0.8807 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.351e-05/0.003163, allocations: 1.031 kB / 0.8807 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.371e-05/0.003217, allocations: 0 / 0.8807 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 8.636e-06/0.003225, allocations: 0 / 0.8807 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001757/0.003401, allocations: 105 kB / 0.8808 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.266e-06/0.003409, allocations: 7.922 kB / 0.8808 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.162e-05/0.003421, allocations: 4 kB / 0.8808 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.003593, allocations: 120.6 kB / 0.8809 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.003595, allocations: 0 / 0.8809 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.01e-07/0.003596, allocations: 0 / 0.8809 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.0036, allocations: 1.656 kB / 0.8809 GB, free: 3.547 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.0002527/0.003852, allocations: 380.3 kB / 0.8813 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.003888, allocations: 8.031 kB / 0.8813 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.766e-05/0.003935, allocations: 124.1 kB / 0.8814 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.004042, allocations: 228.3 kB / 0.8816 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.245e-05/0.004095, allocations: 240.6 kB / 0.8818 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.169e-05/0.004146, allocations: 238.8 kB / 0.8821 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.044e-05/0.004207, allocations: 153.4 kB / 0.8822 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/0.004232, allocations: 123.4 kB / 0.8823 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.051e-05/0.004283, allocations: 242.5 kB / 0.8826 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.111e-05/0.004334, allocations: 243.7 kB / 0.8828 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.941e-05/0.004383, allocations: 242.4 kB / 0.883 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002105/0.004594, allocations: 0.5681 MB / 0.8836 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.547e-05/0.004669, allocations: 265.4 kB / 0.8838 GB, free: 436 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.263e-05/0.004702, allocations: 132 kB / 0.884 GB, free: 300 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.004728, allocations: 119.2 kB / 0.8841 GB, free: 180 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/0.004768, allocations: 158.2 kB / 0.8842 GB, free: 12 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 7.02e-07/0.004768, allocations: 0 / 0.8842 GB, free: 12 kB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.107e-05/0.004829, allocations: 29.7 kB / 0.8843 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.004876, allocations: 174.5 kB / 0.8844 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.817e-05/0.004964, allocations: 160.4 kB / 0.8846 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.004972, allocations: 25.7 kB / 0.8846 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.987e-05/0.005001, allocations: 126.9 kB / 0.8847 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.453e-06/0.005003, allocations: 0 / 0.8847 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.613e-05/0.005019, allocations: 19.31 kB / 0.8847 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.005123, allocations: 0.4922 MB / 0.8852 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.238e-06/0.005128, allocations: 2.062 kB / 0.8852 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.076e-06/0.005131, allocations: 0 / 0.8852 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.672e-05/0.005157, allocations: 119.2 kB / 0.8853 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.563e-05/0.005183, allocations: 123.2 kB / 0.8854 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.524e-05/0.005218, allocations: 29.7 kB / 0.8855 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/0.005254, allocations: 123.2 kB / 0.8856 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-05/0.005283, allocations: 127.8 kB / 0.8857 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.073e-05/0.005344, allocations: 242.4 kB / 0.8859 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.899e-05/0.005372, allocations: 124.3 kB / 0.8861 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.455e-05/0.005427, allocations: 246.3 kB / 0.8863 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.161e-05/0.005479, allocations: 123.2 kB / 0.8864 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.808e-05/0.005507, allocations: 127.2 kB / 0.8865 GB, free: 13.56 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.787e-05/0.005605, allocations: 391 kB / 0.8869 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.585e-05/0.00565, allocations: 152.9 kB / 0.8871 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.374e-05/0.005694, allocations: 148 kB / 0.8872 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.666e-05/0.005751, allocations: 272.2 kB / 0.8875 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.054e-05/0.005811, allocations: 272 kB / 0.8877 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.119e-05/0.005873, allocations: 272 kB / 0.888 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.006026, allocations: 495.9 kB / 0.8885 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.645e-05/0.006062, allocations: 152.9 kB / 0.8886 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.179e-05/0.006094, allocations: 148.9 kB / 0.8887 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-05/0.00615, allocations: 272.1 kB / 0.889 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.85e-05/0.006209, allocations: 272 kB / 0.8893 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.228e-05/0.006261, allocations: 264.1 kB / 0.8895 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-05/0.006324, allocations: 272 kB / 0.8898 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.006442, allocations: 444 kB / 0.8902 GB, free: 9.656 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.67e-05/0.006478, allocations: 152.8 kB / 0.8903 GB, free: 9.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.907e-05/0.006538, allocations: 268.1 kB / 0.8906 GB, free: 9.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.91e-05/0.006587, allocations: 148.8 kB / 0.8907 GB, free: 9.078 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.862e-05/0.006645, allocations: 268 kB / 0.891 GB, free: 8.809 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.929e-05/0.006675, allocations: 148.9 kB / 0.8911 GB, free: 8.656 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.84e-05/0.006713, allocations: 131.2 kB / 0.8913 GB, free: 8.527 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.006713, allocations: 0 / 0.8913 GB, free: 8.527 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001955/0.006908, allocations: 43.69 kB / 0.8913 GB, free: 8.484 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.0004266/0.007335, allocations: 384.8 kB / 0.8917 GB, free: 8.148 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 3.591e-05/0.007371, allocations: 8 kB / 0.8917 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.007372, allocations: 0 / 0.8917 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.007373, allocations: 0 / 0.8917 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.007671, allocations: 0.7081 MB / 0.8924 GB, free: 7.43 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002099/0.007881, allocations: 208.9 kB / 0.8926 GB, free: 7.195 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.938e-05/0.00791, allocations: 55.34 kB / 0.8926 GB, free: 7.121 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.006e-06/0.007918, allocations: 7.938 kB / 0.8926 GB, free: 7.113 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.359e-05/0.007932, allocations: 8.5 kB / 0.8926 GB, free: 7.105 MB / 0.8542 GB Notification: Performance of SimCode: time 6.81e-07/0.007933, allocations: 0 / 0.8926 GB, free: 7.105 MB / 0.8542 GB Notification: Performance of Templates: time 0.002387/0.01032, allocations: 1.03 MB / 0.8936 GB, free: 6.09 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.465807197149843]