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.000966/0.000966, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.0009908/0.0009908, allocations: 173 kB / 23.36 MB, free: 1.133 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.017/1.017, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.604/2.604, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.333e-06/1.333e-06, allocations: 0 / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.506e-05, allocations: 4 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.003233/0.003258, allocations: 1.333 MB / 0.8399 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00165/0.004908, allocations: 1.142 MB / 0.841 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.031e-05/0.004938, allocations: 0 / 0.841 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.927e-05/0.004957, allocations: 0 / 0.841 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.000559/0.005516, allocations: 111.4 kB / 0.8412 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 3.546e-06/0.00552, allocations: 0 / 0.8412 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 4.437e-05/0.005564, allocations: 4 kB / 0.8412 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.697e-05/0.005611, allocations: 11.94 kB / 0.8412 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.293e-05/0.005644, allocations: 3.984 kB / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.741e-05/0.005711, allocations: 4 kB / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 9.147e-06/0.00572, allocations: 0 / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003001/0.006021, allocations: 107.8 kB / 0.8413 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.935e-06/0.006029, allocations: 0 / 0.8413 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.147e-05/0.00604, allocations: 7.938 kB / 0.8413 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.00628, allocations: 119.6 kB / 0.8414 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.006282, allocations: 4 kB / 0.8414 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.52e-07/0.006283, allocations: 0 / 0.8414 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.006287, allocations: 0 / 0.8414 GB, free: 11.3 MB / 0.8073 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.0002979/0.006585, allocations: 260.6 kB / 0.8417 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.006629, allocations: 8.031 kB / 0.8417 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.957e-05/0.006679, allocations: 76.22 kB / 0.8417 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.006826, allocations: 181.1 kB / 0.8419 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.792e-05/0.006884, allocations: 150.9 kB / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.062e-05/0.006935, allocations: 150.9 kB / 0.8422 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.121e-05/0.006996, allocations: 109.5 kB / 0.8423 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/0.007023, allocations: 75.47 kB / 0.8424 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.473e-05/0.007078, allocations: 154.7 kB / 0.8425 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.192e-05/0.00713, allocations: 154.6 kB / 0.8427 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.216e-05/0.007182, allocations: 162.5 kB / 0.8428 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002152/0.007397, allocations: 349.3 kB / 0.8432 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.762e-05/0.007485, allocations: 173.1 kB / 0.8433 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.996e-05/0.007515, allocations: 80.14 kB / 0.8434 GB, free: 9.176 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.007544, allocations: 75.28 kB / 0.8435 GB, free: 9.102 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.488e-05/0.007589, allocations: 105.8 kB / 0.8436 GB, free: 8.988 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.00759, allocations: 4 kB / 0.8436 GB, free: 8.984 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 7.157e-05/0.007661, allocations: 25.7 kB / 0.8436 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.007721, allocations: 130.6 kB / 0.8437 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.639e-05/0.007817, allocations: 118.6 kB / 0.8438 GB, free: 8.684 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.007828, allocations: 25.7 kB / 0.8439 GB, free: 8.652 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.686e-05/0.007855, allocations: 80.14 kB / 0.8439 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.012e-06/0.007856, allocations: 0 / 0.8439 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-05/0.00788, allocations: 13.72 kB / 0.8439 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.007981, allocations: 310.8 kB / 0.8442 GB, free: 8.238 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.256e-06/0.007984, allocations: 0 / 0.8442 GB, free: 8.238 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.627e-06/0.007987, allocations: 0 / 0.8442 GB, free: 8.238 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.81e-05/0.008016, allocations: 79.22 kB / 0.8443 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.261e-05/0.008038, allocations: 75.28 kB / 0.8444 GB, free: 8.086 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.361e-05/0.008092, allocations: 29.7 kB / 0.8444 GB, free: 8.051 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.692e-05/0.008129, allocations: 83.41 kB / 0.8445 GB, free: 7.969 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.234e-05/0.008161, allocations: 87.2 kB / 0.8446 GB, free: 7.883 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.275e-05/0.008224, allocations: 154.7 kB / 0.8447 GB, free: 7.73 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.085e-05/0.008255, allocations: 83.23 kB / 0.8448 GB, free: 7.648 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.125e-05/0.008306, allocations: 154.6 kB / 0.845 GB, free: 7.496 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.379e-05/0.00838, allocations: 79.22 kB / 0.845 GB, free: 7.418 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.008407, allocations: 83.22 kB / 0.8451 GB, free: 7.336 MB / 0.8073 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.0001248/0.008532, allocations: 264.4 kB / 0.8454 GB, free: 7.066 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.414e-05/0.008596, allocations: 105 kB / 0.8455 GB, free: 6.957 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.495e-05/0.008651, allocations: 112.1 kB / 0.8456 GB, free: 6.84 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.361e-05/0.008714, allocations: 180.3 kB / 0.8457 GB, free: 6.656 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.177e-05/0.008776, allocations: 176.3 kB / 0.8459 GB, free: 6.477 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.029e-05/0.008846, allocations: 188.1 kB / 0.8461 GB, free: 6.285 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.009045, allocations: 317.4 kB / 0.8464 GB, free: 5.949 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.613e-05/0.009091, allocations: 108.9 kB / 0.8465 GB, free: 5.836 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.119e-05/0.009133, allocations: 101 kB / 0.8466 GB, free: 5.73 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.478e-05/0.009197, allocations: 176.3 kB / 0.8468 GB, free: 5.551 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.313e-05/0.00926, allocations: 184.2 kB / 0.8469 GB, free: 5.363 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-05/0.009324, allocations: 184.2 kB / 0.8471 GB, free: 5.176 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.299e-05/0.009397, allocations: 180.2 kB / 0.8473 GB, free: 4.992 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.009546, allocations: 315.7 kB / 0.8476 GB, free: 4.66 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.245e-05/0.009589, allocations: 109 kB / 0.8477 GB, free: 4.547 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.346e-05/0.009662, allocations: 176.3 kB / 0.8479 GB, free: 4.367 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.427e-05/0.009736, allocations: 108.9 kB / 0.848 GB, free: 4.254 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.167e-05/0.009798, allocations: 176.6 kB / 0.8481 GB, free: 4.074 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.691e-05/0.009835, allocations: 108.9 kB / 0.8482 GB, free: 3.961 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.503e-05/0.00986, allocations: 12.84 kB / 0.8482 GB, free: 3.945 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.00986, allocations: 0 / 0.8482 GB, free: 3.945 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003427/0.0102, allocations: 47.73 kB / 0.8483 GB, free: 3.898 MB / 0.8073 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.0007267/0.01093, allocations: 341.8 kB / 0.8486 GB, free: 3.621 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 3.488e-05/0.01096, allocations: 7.938 kB / 0.8486 GB, free: 3.613 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.01097, allocations: 0 / 0.8486 GB, free: 3.613 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.01097, allocations: 0 / 0.8486 GB, free: 3.613 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.01127, allocations: 459.7 kB / 0.8491 GB, free: 3.16 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002612/0.01154, allocations: 166.9 kB / 0.8492 GB, free: 2.969 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.132e-05/0.01158, allocations: 51.36 kB / 0.8493 GB, free: 2.898 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 9.689e-06/0.01159, allocations: 0 / 0.8493 GB, free: 2.898 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.991e-05/0.01162, allocations: 47.38 kB / 0.8493 GB, free: 2.852 MB / 0.8073 GB Notification: Performance of SimCode: time 8.81e-07/0.01162, allocations: 4 kB / 0.8493 GB, free: 2.848 MB / 0.8073 GB Notification: Performance of Templates: time 0.003738/0.01536, allocations: 1.182 MB / 0.8505 GB, free: 1.676 MB / 0.8073 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 -s gbode -gbm=radauIIA3 -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.496476554311812]