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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00194/0.00194, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002433/0.002433, allocations: 188.4 kB / 22.23 MB, free: 5.098 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.6 MB / 251 MB, free: 13.2 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.43/3.43, allocations: 495.7 MB / 0.7831 GB, free: 33.56 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002001/0.002001, allocations: 61.03 kB / 1.137 GB, free: 33.94 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4266/0.4286, allocations: 173.6 MB / 1.307 GB, free: 1.941 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002499/0.4311, allocations: 1.26 MB / 1.308 GB, free: 0.6719 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001829/0.433, allocations: 1.099 MB / 1.309 GB, free: 15.57 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.948e-05/0.433, allocations: 0 / 1.309 GB, free: 15.57 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 2.095e-05/0.433, allocations: 3.938 kB / 1.309 GB, free: 15.56 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0004864/0.4335, allocations: 111.6 kB / 1.309 GB, free: 15.45 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 3.627e-06/0.4335, allocations: 0 / 1.309 GB, free: 15.45 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 4.018e-05/0.4335, allocations: 3.938 kB / 1.309 GB, free: 15.45 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.535e-05/0.4336, allocations: 3.938 kB / 1.309 GB, free: 15.45 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.005e-05/0.4336, allocations: 7.938 kB / 1.309 GB, free: 15.44 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.4337, allocations: 7.969 kB / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 7.013e-06/0.4337, allocations: 4 kB / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002465/0.434, allocations: 123.8 kB / 1.31 GB, free: 15.3 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 5.3e-06/0.434, allocations: 0 / 1.31 GB, free: 15.3 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 1.353e-05/0.434, allocations: 0 / 1.31 GB, free: 15.3 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.4342, allocations: 107.7 kB / 1.31 GB, free: 15.2 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4342, allocations: 0 / 1.31 GB, free: 15.2 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.543e-06/0.4342, allocations: 0 / 1.31 GB, free: 15.2 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.101e-05/0.4342, allocations: 0 / 1.31 GB, free: 15.2 MB / 1.014 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.0003631/0.4346, allocations: 278 kB / 1.31 GB, free: 14.9 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.4346, allocations: 11.97 kB / 1.31 GB, free: 14.89 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.25e-05/0.4347, allocations: 84.22 kB / 1.31 GB, free: 14.8 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.4349, allocations: 177.8 kB / 1.31 GB, free: 14.61 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.873e-05/0.4349, allocations: 154.9 kB / 1.31 GB, free: 14.45 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.971e-05/0.435, allocations: 150.9 kB / 1.31 GB, free: 14.3 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 9.586e-05/0.4351, allocations: 109.1 kB / 1.311 GB, free: 14.19 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 4.441e-05/0.4352, allocations: 83.28 kB / 1.311 GB, free: 14.11 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.975e-05/0.4352, allocations: 154.6 kB / 1.311 GB, free: 13.96 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-05/0.4353, allocations: 154.5 kB / 1.311 GB, free: 13.8 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.605e-05/0.4354, allocations: 150.6 kB / 1.311 GB, free: 13.66 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003279/0.4357, allocations: 409 kB / 1.311 GB, free: 13.21 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.4358, allocations: 181.1 kB / 1.312 GB, free: 13.03 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.276e-05/0.4359, allocations: 80.14 kB / 1.312 GB, free: 12.95 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 4.401e-05/0.4359, allocations: 75.28 kB / 1.312 GB, free: 12.87 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.22e-05/0.436, allocations: 109.8 kB / 1.312 GB, free: 12.75 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.436, allocations: 0 / 1.312 GB, free: 12.75 MB / 1.014 GB
Notification: Performance of matching and sorting (n=0): time 8.816e-05/0.4361, allocations: 29.64 kB / 1.312 GB, free: 12.72 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.843e-05/0.4361, allocations: 138.7 kB / 1.312 GB, free: 12.57 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.4363, allocations: 93.86 kB / 1.312 GB, free: 12.47 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.4363, allocations: 25.7 kB / 1.312 GB, free: 12.44 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 4.619e-05/0.4363, allocations: 84.14 kB / 1.312 GB, free: 12.35 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 1.783e-06/0.4363, allocations: 0 / 1.312 GB, free: 12.35 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.05e-05/0.4364, allocations: 9.719 kB / 1.312 GB, free: 12.34 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001414/0.4365, allocations: 311 kB / 1.313 GB, free: 12.02 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.072e-06/0.4365, allocations: 4 kB / 1.313 GB, free: 12.02 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.614e-06/0.4365, allocations: 0 / 1.313 GB, free: 12.02 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 4.434e-05/0.4366, allocations: 79.28 kB / 1.313 GB, free: 11.94 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.304e-05/0.4366, allocations: 79.22 kB / 1.313 GB, free: 11.86 MB / 1.014 GB
Notification: Performance of matching and sorting (n=0) (initialization): time 5.924e-05/0.4366, allocations: 33.62 kB / 1.313 GB, free: 11.82 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 4.509e-05/0.4367, allocations: 87.22 kB / 1.313 GB, free: 11.74 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.525e-05/0.4367, allocations: 79.28 kB / 1.313 GB, free: 11.66 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 7.46e-05/0.4368, allocations: 154.6 kB / 1.313 GB, free: 11.51 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.723e-05/0.4368, allocations: 79.22 kB / 1.313 GB, free: 11.43 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.611e-05/0.4369, allocations: 150.7 kB / 1.313 GB, free: 11.28 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.206e-05/0.437, allocations: 87.23 kB / 1.313 GB, free: 11.2 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.125e-05/0.437, allocations: 75.28 kB / 1.313 GB, free: 11.12 MB / 1.014 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.0001466/0.4372, allocations: 272.3 kB / 1.314 GB, free: 10.84 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.744e-05/0.4373, allocations: 112.9 kB / 1.314 GB, free: 10.73 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.495e-05/0.4373, allocations: 108.1 kB / 1.314 GB, free: 10.61 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-05/0.4374, allocations: 180.3 kB / 1.314 GB, free: 10.43 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.025e-05/0.4375, allocations: 180.2 kB / 1.314 GB, free: 10.25 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-05/0.4376, allocations: 188.2 kB / 1.314 GB, free: 10.05 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.4378, allocations: 372.3 kB / 1.315 GB, free: 9.641 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.249e-05/0.4379, allocations: 104.9 kB / 1.315 GB, free: 9.531 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.431e-05/0.4379, allocations: 112.9 kB / 1.315 GB, free: 9.414 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.497e-05/0.438, allocations: 184.2 kB / 1.315 GB, free: 9.227 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.97e-05/0.4381, allocations: 176.3 kB / 1.315 GB, free: 9.047 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.359e-05/0.4382, allocations: 180.3 kB / 1.315 GB, free: 8.863 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.936e-05/0.4383, allocations: 188.2 kB / 1.316 GB, free: 8.672 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.4385, allocations: 303.8 kB / 1.316 GB, free: 8.352 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.635e-05/0.4385, allocations: 112.9 kB / 1.316 GB, free: 8.234 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.4386, allocations: 176.3 kB / 1.316 GB, free: 8.055 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.036e-05/0.4387, allocations: 108.9 kB / 1.316 GB, free: 7.941 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.857e-05/0.4388, allocations: 188.2 kB / 1.317 GB, free: 7.75 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.855e-05/0.4389, allocations: 104.9 kB / 1.317 GB, free: 7.641 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 5.236e-05/0.4389, allocations: 79.28 kB / 1.317 GB, free: 7.562 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8.1e-08/0.4389, allocations: 0 / 1.317 GB, free: 7.562 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0003773/0.4393, allocations: 43.8 kB / 1.317 GB, free: 7.52 MB / 1.014 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.0006782/0.44, allocations: 315.9 kB / 1.317 GB, free: 7.234 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 4.814e-05/0.44, allocations: 0 / 1.317 GB, free: 7.234 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.44, allocations: 0 / 1.317 GB, free: 7.234 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.44, allocations: 0 / 1.317 GB, free: 7.234 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.4404, allocations: 459.7 kB / 1.317 GB, free: 6.781 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002931/0.4407, allocations: 172.7 kB / 1.318 GB, free: 6.586 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.4411, allocations: 0.669 MB / 1.318 GB, free: 5.891 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 1.035e-05/0.4411, allocations: 0 / 1.318 GB, free: 5.891 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.711e-05/0.4412, allocations: 7.438 kB / 1.318 GB, free: 5.883 MB / 1.014 GB
Notification: Performance of SimCode: time 3.11e-07/0.4412, allocations: 0 / 1.318 GB, free: 5.883 MB / 1.014 GB
Notification: Performance of Templates: time 0.003977/0.4451, allocations: 0.9939 MB / 1.319 GB, free: 4.902 MB / 1.014 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=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.43382574338466]