Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009601/0.0009601, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001018/0.001018, allocations: 185.3 kB / 24.09 MB, free: 416 kB / 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.9326/0.9326, allocations: 177.1 MB / 204.5 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.866/1.866, allocations: 377.9 MB / 0.624 GB, free: 8.406 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0.6562 kB / 0.812 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.618e-05/1.815e-05, allocations: 7.438 kB / 0.812 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.00162/0.001638, allocations: 1.296 MB / 0.8133 GB, free: 140 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.002727, allocations: 1.135 MB / 0.8144 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.952e-05/0.002757, allocations: 0.9688 kB / 0.8144 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.81e-05/0.002775, allocations: 0 / 0.8144 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003753/0.00315, allocations: 111.5 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 2.044e-06/0.003152, allocations: 1.5 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 3.067e-05/0.003183, allocations: 4 kB / 0.8145 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.04e-05/0.003213, allocations: 0 / 0.8145 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 2.35e-05/0.003237, allocations: 0 / 0.8145 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.607e-05/0.003283, allocations: 5.719 kB / 0.8145 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.803e-06/0.00329, allocations: 0 / 0.8145 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001622/0.003452, allocations: 111.8 kB / 0.8146 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.35e-06/0.003457, allocations: 0 / 0.8146 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.276e-06/0.003465, allocations: 0 / 0.8146 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.003611, allocations: 125.2 kB / 0.8147 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.003613, allocations: 0 / 0.8147 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.5e-07/0.003613, allocations: 0 / 0.8147 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.086e-06/0.003616, allocations: 0 / 0.8147 GB, free: 14.65 MB / 0.7761 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.0002322/0.003849, allocations: 372.6 kB / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.003881, allocations: 9.688 kB / 0.8151 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.074e-05/0.003922, allocations: 120.1 kB / 0.8152 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.137e-05/0.004013, allocations: 235.8 kB / 0.8154 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.193e-05/0.004065, allocations: 238.8 kB / 0.8157 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.504e-05/0.00412, allocations: 242.8 kB / 0.8159 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.244e-05/0.004183, allocations: 150 kB / 0.816 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.972e-05/0.004212, allocations: 120.6 kB / 0.8162 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.796e-05/0.00427, allocations: 250.5 kB / 0.8164 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.557e-05/0.004326, allocations: 246.3 kB / 0.8166 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.482e-05/0.004381, allocations: 242.4 kB / 0.8169 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001916/0.004572, allocations: 0.5464 MB / 0.8174 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.633e-05/0.004659, allocations: 273.4 kB / 0.8176 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.989e-05/0.004689, allocations: 126.9 kB / 0.8178 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.004715, allocations: 120.6 kB / 0.8179 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/0.00476, allocations: 156.6 kB / 0.818 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.00476, allocations: 0 / 0.818 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 4.804e-05/0.004808, allocations: 27.45 kB / 0.8181 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.004856, allocations: 174.5 kB / 0.8182 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.127e-05/0.004938, allocations: 161.9 kB / 0.8184 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.504e-06/0.004945, allocations: 25.7 kB / 0.8184 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.577e-05/0.004981, allocations: 128.2 kB / 0.8185 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.31e-07/0.004982, allocations: 0 / 0.8185 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.913e-05/0.005001, allocations: 23.36 kB / 0.8186 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.005118, allocations: 492.1 kB / 0.819 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.504e-06/0.00512, allocations: 2.281 kB / 0.819 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.547e-06/0.005124, allocations: 0 / 0.819 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.748e-05/0.005151, allocations: 119.2 kB / 0.8191 GB, free: 9.945 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.71e-05/0.005178, allocations: 119.2 kB / 0.8192 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.064e-05/0.005209, allocations: 34.03 kB / 0.8193 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.732e-05/0.005246, allocations: 123.2 kB / 0.8194 GB, free: 9.668 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.154e-05/0.005278, allocations: 129.2 kB / 0.8195 GB, free: 9.543 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.386e-05/0.005342, allocations: 242.4 kB / 0.8198 GB, free: 9.305 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.738e-05/0.005369, allocations: 123.1 kB / 0.8199 GB, free: 9.184 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.994e-05/0.005419, allocations: 246.3 kB / 0.8201 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.945e-05/0.005468, allocations: 119.2 kB / 0.8202 GB, free: 8.824 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.005497, allocations: 123.6 kB / 0.8203 GB, free: 8.703 MB / 0.7761 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.0001056/0.005603, allocations: 399.5 kB / 0.8207 GB, free: 8.301 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/0.005644, allocations: 150.8 kB / 0.8209 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.208e-05/0.005686, allocations: 152 kB / 0.821 GB, free: 7.996 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.528e-05/0.005741, allocations: 272.3 kB / 0.8213 GB, free: 7.723 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.649e-05/0.005798, allocations: 264.1 kB / 0.8215 GB, free: 7.457 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.735e-05/0.005855, allocations: 276 kB / 0.8218 GB, free: 7.18 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.006003, allocations: 482.9 kB / 0.8222 GB, free: 6.676 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.412e-05/0.006037, allocations: 152.8 kB / 0.8224 GB, free: 6.52 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.556e-05/0.006073, allocations: 152.8 kB / 0.8225 GB, free: 6.363 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.952e-05/0.006132, allocations: 268.1 kB / 0.8228 GB, free: 6.094 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.031e-05/0.006203, allocations: 272 kB / 0.823 GB, free: 5.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.656e-05/0.006269, allocations: 268.1 kB / 0.8233 GB, free: 5.551 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.185e-05/0.006341, allocations: 272.7 kB / 0.8236 GB, free: 5.277 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.006479, allocations: 443.9 kB / 0.824 GB, free: 4.816 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.615e-05/0.006525, allocations: 154 kB / 0.8241 GB, free: 4.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.627e-05/0.006612, allocations: 268.1 kB / 0.8244 GB, free: 4.391 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.056e-05/0.006672, allocations: 148.8 kB / 0.8245 GB, free: 4.238 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.592e-05/0.006738, allocations: 272.6 kB / 0.8248 GB, free: 3.965 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.514e-05/0.006773, allocations: 148.8 kB / 0.8249 GB, free: 3.812 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.723e-05/0.00682, allocations: 124 kB / 0.8251 GB, free: 3.691 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.00682, allocations: 0.8438 kB / 0.8251 GB, free: 3.691 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000206/0.007026, allocations: 35.81 kB / 0.8251 GB, free: 3.656 MB / 0.7761 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.0004229/0.007449, allocations: 397.8 kB / 0.8255 GB, free: 3.312 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 2.761e-05/0.007477, allocations: 0 / 0.8255 GB, free: 3.312 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.007478, allocations: 3.938 kB / 0.8255 GB, free: 3.309 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.007479, allocations: 0.875 kB / 0.8255 GB, free: 3.309 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.007755, allocations: 0.7023 MB / 0.8262 GB, free: 2.602 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001705/0.007925, allocations: 206.6 kB / 0.8264 GB, free: 2.371 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.762e-05/0.007953, allocations: 51.36 kB / 0.8264 GB, free: 2.301 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.732e-06/0.00796, allocations: 3.984 kB / 0.8264 GB, free: 2.297 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.93e-05/0.007989, allocations: 66.7 kB / 0.8265 GB, free: 2.23 MB / 0.7761 GB Notification: Performance of SimCode: time 5.61e-07/0.007989, allocations: 0 / 0.8265 GB, free: 2.23 MB / 0.7761 GB Notification: Performance of Templates: time 0.002289/0.01028, allocations: 1.189 MB / 0.8276 GB, free: 1.066 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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: 5.0072130910120904]