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.001699/0.001699, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001822/0.001822, allocations: 161 kB / 24.17 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 0.9873/0.9873, allocations: 177.2 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.937/1.937, allocations: 377.9 MB / 0.624 GB, free: 8.379 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.363e-06/1.363e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.038e-05/1.174e-05, allocations: 3.594 kB / 0.76 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001421/0.001433, allocations: 1.293 MB / 0.7613 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009998/0.002433, allocations: 1.143 MB / 0.7624 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.301e-05/0.002456, allocations: 4.969 kB / 0.7624 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.435e-05/0.00247, allocations: 0 / 0.7624 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003604/0.002831, allocations: 115.9 kB / 0.7625 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 2.575e-06/0.002833, allocations: 0 / 0.7625 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 2.872e-05/0.002862, allocations: 2.328 kB / 0.7625 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.686e-05/0.002899, allocations: 7.984 kB / 0.7625 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.344e-05/0.002922, allocations: 7.312 kB / 0.7625 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.117e-05/0.002973, allocations: 0 / 0.7625 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.388e-06/0.002983, allocations: 0 / 0.7625 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000154/0.003137, allocations: 101.2 kB / 0.7626 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.262e-06/0.003143, allocations: 0.875 kB / 0.7626 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 8.476e-06/0.003152, allocations: 0.5312 kB / 0.7626 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.003305, allocations: 131.6 kB / 0.7628 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.482e-06/0.003306, allocations: 0 / 0.7628 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.71e-07/0.003307, allocations: 2.062 kB / 0.7628 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.003311, allocations: 4 kB / 0.7628 GB, free: 3.867 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.0001936/0.003504, allocations: 242.1 kB / 0.763 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.473e-05/0.003529, allocations: 12.03 kB / 0.763 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.094e-05/0.00356, allocations: 76.22 kB / 0.7631 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.219e-05/0.003642, allocations: 183.1 kB / 0.7633 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.722e-05/0.003679, allocations: 150.9 kB / 0.7634 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.003713, allocations: 155.6 kB / 0.7635 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.897e-05/0.003752, allocations: 101.5 kB / 0.7636 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.003769, allocations: 84.14 kB / 0.7637 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.003803, allocations: 154.7 kB / 0.7639 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.272e-05/0.003835, allocations: 152.8 kB / 0.764 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.228e-05/0.003868, allocations: 154.6 kB / 0.7642 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001335/0.004001, allocations: 357.3 kB / 0.7645 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.861e-05/0.00406, allocations: 177.1 kB / 0.7647 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.001e-05/0.00408, allocations: 80.14 kB / 0.7648 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.004095, allocations: 75.28 kB / 0.7648 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.004128, allocations: 108.6 kB / 0.7649 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 6.92e-07/0.004129, allocations: 0 / 0.7649 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 4.281e-05/0.004172, allocations: 29.7 kB / 0.765 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.00422, allocations: 130.6 kB / 0.7651 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.54e-05/0.004286, allocations: 107.9 kB / 0.7652 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.004296, allocations: 25.7 kB / 0.7652 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.889e-05/0.004315, allocations: 85.27 kB / 0.7653 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.72e-07/0.004316, allocations: 0 / 0.7653 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.514e-05/0.004331, allocations: 9.719 kB / 0.7653 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.525e-05/0.004396, allocations: 314.8 kB / 0.7656 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.944e-06/0.004398, allocations: 0.9062 kB / 0.7656 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.845e-06/0.004401, allocations: 0.9844 kB / 0.7656 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.749e-05/0.004419, allocations: 82.02 kB / 0.7657 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.565e-05/0.004434, allocations: 75.28 kB / 0.7658 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0) (initialization): time 2.835e-05/0.004463, allocations: 29.7 kB / 0.7658 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.004488, allocations: 79.28 kB / 0.7659 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.004506, allocations: 83.22 kB / 0.7659 GB, free: 484 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.943e-05/0.004545, allocations: 158.6 kB / 0.7661 GB, free: 324 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.084e-05/0.004566, allocations: 79.22 kB / 0.7662 GB, free: 244 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.307e-05/0.004599, allocations: 157.3 kB / 0.7663 GB, free: 88 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.888e-05/0.004638, allocations: 79.88 kB / 0.7664 GB, free: 8 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.004665, allocations: 79.22 kB / 0.7665 GB, free: 15.93 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 7.256e-05/0.004737, allocations: 264.4 kB / 0.7667 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.004769, allocations: 101 kB / 0.7668 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.345e-05/0.004803, allocations: 112.1 kB / 0.7669 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-05/0.00484, allocations: 180.5 kB / 0.7671 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.189e-05/0.004882, allocations: 190 kB / 0.7673 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.705e-05/0.004919, allocations: 180.2 kB / 0.7674 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.005034, allocations: 318.4 kB / 0.7677 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.343e-05/0.005058, allocations: 108.9 kB / 0.7679 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.505e-05/0.005083, allocations: 105 kB / 0.768 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.316e-05/0.005126, allocations: 181.1 kB / 0.7681 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.017e-05/0.005166, allocations: 176.3 kB / 0.7683 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.796e-05/0.005204, allocations: 184.8 kB / 0.7685 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.045e-05/0.005244, allocations: 184.5 kB / 0.7686 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.12e-05/0.005326, allocations: 311.7 kB / 0.7689 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.917e-05/0.005355, allocations: 113 kB / 0.769 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.005396, allocations: 176.3 kB / 0.7692 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.311e-05/0.005439, allocations: 108.9 kB / 0.7693 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.005481, allocations: 176.3 kB / 0.7695 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.005505, allocations: 104.9 kB / 0.7696 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.294e-05/0.005518, allocations: 8.859 kB / 0.7696 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.005518, allocations: 0.6562 kB / 0.7696 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001891/0.005707, allocations: 47.58 kB / 0.7696 GB, free: 12.5 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.0004499/0.006157, allocations: 343.6 kB / 0.77 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 2.668e-05/0.006184, allocations: 3.938 kB / 0.77 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.006186, allocations: 0 / 0.77 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.82e-07/0.006187, allocations: 0 / 0.77 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/0.006361, allocations: 463.4 kB / 0.7704 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001674/0.006528, allocations: 171.5 kB / 0.7706 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.632e-05/0.006554, allocations: 51.36 kB / 0.7706 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.654e-06/0.006562, allocations: 3.938 kB / 0.7706 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.213e-05/0.006584, allocations: 51.31 kB / 0.7707 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of SimCode: time 3e-07/0.006585, allocations: 0 / 0.7707 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of Templates: time 0.002302/0.008887, allocations: 1.183 MB / 0.7718 GB, free: 10.36 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 -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.045093419030309]