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.001064/0.001064, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001265/0.001265, allocations: 161 kB / 24.16 MB, free: 332 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 1.012/1.012, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.957/1.957, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.473e-06/1.473e-06, allocations: 0 / 0.7601 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.513e-05/1.66e-05, allocations: 5.266 kB / 0.7601 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001692/0.001708, allocations: 1.337 MB / 0.7614 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.002789, allocations: 1.144 MB / 0.7625 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.41e-05/0.002823, allocations: 0 / 0.7625 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.471e-05/0.002838, allocations: 0.5312 kB / 0.7625 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003433/0.003181, allocations: 102.8 kB / 0.7626 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 2.214e-06/0.003183, allocations: 0.9375 kB / 0.7626 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 3.619e-05/0.00322, allocations: 6.078 kB / 0.7626 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.613e-05/0.003256, allocations: 5.203 kB / 0.7626 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.812e-05/0.003284, allocations: 0 / 0.7626 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.644e-05/0.00333, allocations: 4.766 kB / 0.7626 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 6.212e-06/0.003337, allocations: 5.656 kB / 0.7626 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.00352, allocations: 118 kB / 0.7627 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.835e-06/0.003528, allocations: 3.984 kB / 0.7627 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.114e-05/0.003539, allocations: 4.875 kB / 0.7627 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.003712, allocations: 118 kB / 0.7628 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.003721, allocations: 4.75 kB / 0.7628 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.102e-06/0.003722, allocations: 0 / 0.7628 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.003726, allocations: 1.188 kB / 0.7628 GB, free: 3.73 MB / 0.7136 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.0002824/0.004009, allocations: 242.7 kB / 0.7631 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.004045, allocations: 8.031 kB / 0.7631 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.554e-05/0.004101, allocations: 77.22 kB / 0.7632 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.004255, allocations: 185.1 kB / 0.7633 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.334e-05/0.004308, allocations: 151.7 kB / 0.7635 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.413e-05/0.004352, allocations: 150.9 kB / 0.7636 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.504e-05/0.004417, allocations: 111.5 kB / 0.7637 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.004445, allocations: 75.47 kB / 0.7638 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.539e-05/0.004501, allocations: 154.7 kB / 0.7639 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.075e-05/0.004561, allocations: 155.3 kB / 0.7641 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.706e-05/0.004618, allocations: 154.6 kB / 0.7642 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002154/0.004834, allocations: 358.5 kB / 0.7646 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.004945, allocations: 169.1 kB / 0.7647 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.817e-05/0.004983, allocations: 80.14 kB / 0.7648 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.022e-05/0.005024, allocations: 80.25 kB / 0.7649 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.385e-05/0.005077, allocations: 106.5 kB / 0.765 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.243e-06/0.005079, allocations: 0.5625 kB / 0.765 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 7.878e-05/0.005157, allocations: 37.69 kB / 0.765 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/0.005217, allocations: 128.5 kB / 0.7652 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.844e-05/0.005316, allocations: 102.7 kB / 0.7653 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.005327, allocations: 25.7 kB / 0.7653 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.5e-05/0.005352, allocations: 81.02 kB / 0.7654 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.71e-07/0.005353, allocations: 1.188 kB / 0.7654 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.761e-05/0.00537, allocations: 13.72 kB / 0.7654 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.951e-05/0.00546, allocations: 314.8 kB / 0.7657 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.785e-06/0.005463, allocations: 2.75 kB / 0.7657 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.35e-06/0.005468, allocations: 3.938 kB / 0.7657 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.567e-05/0.005494, allocations: 79.27 kB / 0.7658 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-05/0.005519, allocations: 75.28 kB / 0.7658 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.237e-05/0.005561, allocations: 30.58 kB / 0.7659 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.329e-05/0.005595, allocations: 79.28 kB / 0.7659 GB, free: 428 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-05/0.005633, allocations: 79.28 kB / 0.766 GB, free: 348 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.897e-05/0.005702, allocations: 161 kB / 0.7662 GB, free: 188 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.613e-05/0.005728, allocations: 75.28 kB / 0.7662 GB, free: 112 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-05/0.005796, allocations: 158.5 kB / 0.7664 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.31e-05/0.005849, allocations: 87.2 kB / 0.7665 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/0.005874, allocations: 75.28 kB / 0.7665 GB, free: 15.79 MB / 0.7292 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.0001027/0.005976, allocations: 265 kB / 0.7668 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.341e-05/0.00602, allocations: 101.6 kB / 0.7669 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.347e-05/0.006063, allocations: 104.1 kB / 0.767 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.341e-05/0.006117, allocations: 185.5 kB / 0.7672 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-05/0.006184, allocations: 184.3 kB / 0.7673 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.343e-05/0.006267, allocations: 188.9 kB / 0.7675 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.006415, allocations: 314.7 kB / 0.7678 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.299e-05/0.006498, allocations: 107.5 kB / 0.7679 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.926e-05/0.006527, allocations: 108.9 kB / 0.768 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.008e-05/0.006587, allocations: 176.3 kB / 0.7682 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.636e-05/0.006644, allocations: 192.2 kB / 0.7684 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.652e-05/0.00669, allocations: 176.3 kB / 0.7685 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.198e-05/0.006742, allocations: 176.3 kB / 0.7687 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.006955, allocations: 319.7 kB / 0.769 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.123e-05/0.006996, allocations: 107.4 kB / 0.7691 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.639e-05/0.007053, allocations: 176.3 kB / 0.7693 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.223e-05/0.007105, allocations: 105 kB / 0.7694 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.007157, allocations: 185.1 kB / 0.7696 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.102e-05/0.007188, allocations: 101 kB / 0.7697 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.395e-05/0.007212, allocations: 8.859 kB / 0.7697 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.007212, allocations: 1.781 kB / 0.7697 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001822/0.007395, allocations: 45 kB / 0.7697 GB, free: 12.37 MB / 0.7292 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.0005416/0.007936, allocations: 342.9 kB / 0.77 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.049e-05/0.007977, allocations: 7.875 kB / 0.7701 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.007981, allocations: 0 / 0.7701 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.72e-07/0.007982, allocations: 0.625 kB / 0.7701 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.008224, allocations: 464.3 kB / 0.7705 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007405/0.008965, allocations: 166.2 kB / 0.7707 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.624e-05/0.009001, allocations: 55.34 kB / 0.7707 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.005e-05/0.009011, allocations: 0.5312 kB / 0.7707 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.701e-05/0.009038, allocations: 51.38 kB / 0.7708 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of SimCode: time 6.31e-07/0.009039, allocations: 0.5938 kB / 0.7708 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of Templates: time 0.003007/0.01205, allocations: 1.182 MB / 0.7719 GB, free: 10.23 MB / 0.7292 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 -s gbode -gbm=radauIIA3 -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.083134307991713]