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.001984/0.001984, allocations: 79.52 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002335/0.002335, allocations: 160.9 kB / 22.46 MB, free: 5.375 MB / 14.72 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.48/1.48, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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 2.836/2.836, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] 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.202e-06/1.202e-06, allocations: 0 / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.381e-05/2.502e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002239/0.002264, allocations: 1.277 MB / 0.9827 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001537/0.003802, allocations: 1.091 MB / 0.9837 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.451e-05/0.003826, allocations: 0 / 0.9837 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.864e-05/0.003845, allocations: 0 / 0.9837 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004488/0.004293, allocations: 111.4 kB / 0.9838 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.052e-06/0.0043, allocations: 4 kB / 0.9838 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 4.392e-05/0.004343, allocations: 7.938 kB / 0.9839 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.738e-05/0.004381, allocations: 4 kB / 0.9839 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.348e-05/0.004404, allocations: 3.938 kB / 0.9839 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.748e-05/0.004462, allocations: 4 kB / 0.9839 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.534e-06/0.004469, allocations: 3.938 kB / 0.9839 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002204/0.00469, allocations: 103.8 kB / 0.984 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.472e-06/0.004696, allocations: 0 / 0.984 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.072e-05/0.004707, allocations: 0 / 0.984 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.004929, allocations: 115.7 kB / 0.9841 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004931, allocations: 0 / 0.9841 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of FrontEnd: time 6.51e-07/0.004932, allocations: 0 / 0.9841 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.004936, allocations: 0 / 0.9841 GB, free: 9.238 MB / 0.9356 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.0003218/0.005258, allocations: 289.9 kB / 0.9844 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.005292, allocations: 8.031 kB / 0.9844 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.572e-05/0.005348, allocations: 76.22 kB / 0.9844 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.005491, allocations: 181.1 kB / 0.9846 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.612e-05/0.005557, allocations: 154.9 kB / 0.9848 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.148e-05/0.005619, allocations: 150.9 kB / 0.9849 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.972e-05/0.005688, allocations: 109.5 kB / 0.985 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.717e-05/0.005726, allocations: 75.47 kB / 0.9851 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.142e-05/0.005787, allocations: 154.7 kB / 0.9852 GB, free: 8 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.153e-05/0.005848, allocations: 150.6 kB / 0.9854 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.625e-05/0.005915, allocations: 162.5 kB / 0.9855 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002683/0.006183, allocations: 389.6 kB / 0.9859 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.006284, allocations: 181.1 kB / 0.9861 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.121e-05/0.006325, allocations: 80.14 kB / 0.9861 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.653e-05/0.006361, allocations: 75.28 kB / 0.9862 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.229e-05/0.006414, allocations: 105.8 kB / 0.9863 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.006415, allocations: 0 / 0.9863 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.379e-05/0.006488, allocations: 37.64 kB / 0.9863 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.006555, allocations: 130.6 kB / 0.9865 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.006657, allocations: 101.8 kB / 0.9866 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.006676, allocations: 29.83 kB / 0.9866 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.547e-05/0.006712, allocations: 80.14 kB / 0.9867 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.323e-06/0.006713, allocations: 0 / 0.9867 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/0.006737, allocations: 13.72 kB / 0.9867 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.006865, allocations: 310.8 kB / 0.987 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.187e-06/0.00687, allocations: 0 / 0.987 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.597e-06/0.006873, allocations: 0 / 0.987 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.434e-05/0.006908, allocations: 75.28 kB / 0.9871 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.037e-05/0.006938, allocations: 83.22 kB / 0.9871 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.021e-05/0.006998, allocations: 33.69 kB / 0.9872 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.119e-05/0.007039, allocations: 83.22 kB / 0.9872 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-05/0.007076, allocations: 87.28 kB / 0.9873 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.918e-05/0.007145, allocations: 154.5 kB / 0.9875 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.666e-05/0.007182, allocations: 87.16 kB / 0.9876 GB, free: 5.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.197e-05/0.007244, allocations: 150.6 kB / 0.9877 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.473e-05/0.007318, allocations: 83.22 kB / 0.9878 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.007347, allocations: 75.28 kB / 0.9879 GB, free: 5.176 MB / 0.9356 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.0001281/0.007475, allocations: 264.4 kB / 0.9881 GB, free: 4.906 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.808e-05/0.007543, allocations: 105 kB / 0.9882 GB, free: 4.797 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.138e-05/0.007594, allocations: 108.1 kB / 0.9883 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.115e-05/0.007665, allocations: 180.3 kB / 0.9885 GB, free: 4.504 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.778e-05/0.007743, allocations: 188.1 kB / 0.9887 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.496e-05/0.007818, allocations: 180.2 kB / 0.9888 GB, free: 4.129 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.00806, allocations: 352.9 kB / 0.9892 GB, free: 3.746 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.586e-05/0.008106, allocations: 104.9 kB / 0.9893 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.553e-05/0.008152, allocations: 105 kB / 0.9894 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.884e-05/0.00823, allocations: 184.2 kB / 0.9895 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.1e-05/0.008301, allocations: 176.3 kB / 0.9897 GB, free: 3.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.441e-05/0.008376, allocations: 180.3 kB / 0.9899 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.421e-05/0.00845, allocations: 184.2 kB / 0.9901 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.008601, allocations: 311.7 kB / 0.9904 GB, free: 2.461 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.93e-05/0.00865, allocations: 109 kB / 0.9905 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.765e-05/0.008728, allocations: 176.3 kB / 0.9906 GB, free: 2.168 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.723e-05/0.008815, allocations: 108.9 kB / 0.9907 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.075e-05/0.008896, allocations: 184.2 kB / 0.9909 GB, free: 1.867 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.626e-05/0.008942, allocations: 108.9 kB / 0.991 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.572e-05/0.008988, allocations: 79.28 kB / 0.9911 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.008988, allocations: 0 / 0.9911 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003294/0.009317, allocations: 43.8 kB / 0.9911 GB, free: 1.633 MB / 0.9356 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.0006302/0.009948, allocations: 332.6 kB / 0.9915 GB, free: 1.344 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 3.618e-05/0.009984, allocations: 0 / 0.9915 GB, free: 1.344 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.009985, allocations: 0 / 0.9915 GB, free: 1.344 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.498e-06/0.00999, allocations: 4.031 kB / 0.9915 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.01038, allocations: 462 kB / 0.9919 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002483/0.01063, allocations: 168 kB / 0.9921 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.039e-05/0.01068, allocations: 55.34 kB / 0.9921 GB, free: 0.6211 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.584e-06/0.01069, allocations: 4 kB / 0.9921 GB, free: 0.6172 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.418e-05/0.0107, allocations: 8.5 kB / 0.9921 GB, free: 0.6094 MB / 0.9356 GB Notification: Performance of SimCode: time 3.01e-07/0.0107, allocations: 0 / 0.9921 GB, free: 0.6094 MB / 0.9356 GB Notification: Performance of Templates: time 0.003757/0.01446, allocations: 1.015 MB / 0.9931 GB, free: 15.6 MB / 0.9512 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.046951483935118]