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.001131/0.001131, allocations: 80.88 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.001579/0.001579, allocations: 181 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 0.8951/0.8951, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.313/2.313, allocations: 438.8 MB / 0.6827 GB, free: 13.59 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.262e-06/1.262e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.249e-05, allocations: 4.703 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001684/0.001707, allocations: 1.286 MB / 0.8398 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.002734, allocations: 1.15 MB / 0.841 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.747e-05/0.002761, allocations: 0 / 0.841 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.669e-05/0.002778, allocations: 0 / 0.841 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0004664/0.003244, allocations: 115.5 kB / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 2.425e-06/0.003247, allocations: 0 / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 3.582e-05/0.003282, allocations: 3.938 kB / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.678e-05/0.003319, allocations: 4 kB / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 2.566e-05/0.003345, allocations: 0 / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.687e-05/0.003402, allocations: 0 / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 7.294e-06/0.003409, allocations: 0 / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001766/0.003586, allocations: 111.8 kB / 0.8412 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.041e-06/0.003592, allocations: 0 / 0.8412 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.006e-05/0.003602, allocations: 7.938 kB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.003749, allocations: 115.6 kB / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.003751, allocations: 4 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.52e-07/0.003752, allocations: 0 / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.766e-06/0.003755, allocations: 4 kB / 0.8413 GB, free: 11.38 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.0002113/0.003966, allocations: 248.6 kB / 0.8416 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.003997, allocations: 8.031 kB / 0.8416 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.261e-05/0.00403, allocations: 76.22 kB / 0.8416 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.91e-05/0.004119, allocations: 189 kB / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.382e-05/0.004153, allocations: 150.9 kB / 0.842 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.551e-05/0.004188, allocations: 154.9 kB / 0.8421 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.653e-05/0.004235, allocations: 109.5 kB / 0.8422 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.004253, allocations: 79.47 kB / 0.8423 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.503e-05/0.004288, allocations: 154.7 kB / 0.8424 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-05/0.004321, allocations: 150.6 kB / 0.8426 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.178e-05/0.004352, allocations: 150.6 kB / 0.8427 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001365/0.004489, allocations: 353.3 kB / 0.8431 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.099e-05/0.00455, allocations: 173.1 kB / 0.8432 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.168e-05/0.004571, allocations: 80.14 kB / 0.8433 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.004588, allocations: 75.28 kB / 0.8434 GB, free: 9.184 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.004621, allocations: 109.8 kB / 0.8435 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.004622, allocations: 0 / 0.8435 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 4.61e-05/0.004668, allocations: 33.69 kB / 0.8435 GB, free: 9.027 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.004714, allocations: 134.6 kB / 0.8436 GB, free: 8.883 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.734e-05/0.004781, allocations: 102.7 kB / 0.8437 GB, free: 8.77 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.625e-06/0.004789, allocations: 25.7 kB / 0.8438 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.992e-05/0.004809, allocations: 84.12 kB / 0.8438 GB, free: 8.652 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.31e-07/0.004809, allocations: 0 / 0.8438 GB, free: 8.652 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-05/0.004831, allocations: 13.72 kB / 0.8439 GB, free: 8.633 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.087e-05/0.004902, allocations: 310.8 kB / 0.8441 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.545e-06/0.004905, allocations: 3.938 kB / 0.8442 GB, free: 8.316 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.286e-06/0.004908, allocations: 0 / 0.8442 GB, free: 8.316 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.927e-05/0.004927, allocations: 79.27 kB / 0.8442 GB, free: 8.238 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.618e-05/0.004943, allocations: 79.41 kB / 0.8443 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.275e-05/0.004976, allocations: 29.7 kB / 0.8443 GB, free: 8.125 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.005001, allocations: 79.28 kB / 0.8444 GB, free: 8.047 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/0.00502, allocations: 83.22 kB / 0.8445 GB, free: 7.965 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.724e-05/0.005057, allocations: 154.7 kB / 0.8446 GB, free: 7.812 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.05e-05/0.005078, allocations: 83.23 kB / 0.8447 GB, free: 7.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.297e-05/0.005111, allocations: 158.6 kB / 0.8449 GB, free: 7.574 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.233e-05/0.005153, allocations: 83.22 kB / 0.8449 GB, free: 7.492 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.005173, allocations: 83.2 kB / 0.845 GB, free: 7.41 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 7.964e-05/0.005253, allocations: 260.4 kB / 0.8453 GB, free: 7.145 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.005284, allocations: 105 kB / 0.8454 GB, free: 7.035 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.696e-05/0.005321, allocations: 108.1 kB / 0.8455 GB, free: 6.922 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.77e-05/0.005358, allocations: 180.3 kB / 0.8456 GB, free: 6.738 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.9e-05/0.005397, allocations: 180.2 kB / 0.8458 GB, free: 6.555 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-05/0.005438, allocations: 188.1 kB / 0.846 GB, free: 6.363 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.005561, allocations: 321.4 kB / 0.8463 GB, free: 6.023 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-05/0.005585, allocations: 104.9 kB / 0.8464 GB, free: 5.914 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.545e-05/0.005611, allocations: 109 kB / 0.8465 GB, free: 5.801 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.005e-05/0.005651, allocations: 176.3 kB / 0.8467 GB, free: 5.621 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.929e-05/0.00569, allocations: 180.2 kB / 0.8469 GB, free: 5.438 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.03e-05/0.00573, allocations: 180.3 kB / 0.847 GB, free: 5.254 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.326e-05/0.005774, allocations: 184.2 kB / 0.8472 GB, free: 5.066 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.211e-05/0.005866, allocations: 315.7 kB / 0.8475 GB, free: 4.734 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.794e-05/0.005894, allocations: 105 kB / 0.8476 GB, free: 4.625 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.291e-05/0.005937, allocations: 176.3 kB / 0.8478 GB, free: 4.445 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.47e-05/0.005981, allocations: 108.9 kB / 0.8479 GB, free: 4.332 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.006026, allocations: 180.6 kB / 0.848 GB, free: 4.148 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.006051, allocations: 108.9 kB / 0.8481 GB, free: 4.035 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.513e-05/0.006066, allocations: 8.859 kB / 0.8482 GB, free: 4.023 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006066, allocations: 0 / 0.8482 GB, free: 4.023 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001957/0.006262, allocations: 47.73 kB / 0.8482 GB, free: 3.977 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.0004632/0.006725, allocations: 343.5 kB / 0.8485 GB, free: 3.695 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 3.141e-05/0.006756, allocations: 7.938 kB / 0.8485 GB, free: 3.688 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.006759, allocations: 0 / 0.8485 GB, free: 3.688 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.00676, allocations: 0 / 0.8485 GB, free: 3.688 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.006948, allocations: 463.7 kB / 0.849 GB, free: 3.23 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001741/0.007122, allocations: 165.7 kB / 0.8491 GB, free: 3.043 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.517e-05/0.007148, allocations: 51.36 kB / 0.8492 GB, free: 2.973 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 8.876e-06/0.007156, allocations: 7.984 kB / 0.8492 GB, free: 2.965 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.18e-05/0.007178, allocations: 47.38 kB / 0.8492 GB, free: 2.918 MB / 0.8073 GB Notification: Performance of SimCode: time 3.5e-07/0.007179, allocations: 0 / 0.8492 GB, free: 2.918 MB / 0.8073 GB Notification: Performance of Templates: time 0.002416/0.009595, allocations: 1.171 MB / 0.8504 GB, free: 1.758 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 -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.074839303735644]