Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.002267/0.002267, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.00269/0.00269, allocations: 191.2 kB / 22.23 MB, free: 5.16 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.501/1.501, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.227/3.227, allocations: 496 MB / 0.7835 GB, free: 33.59 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-maint.12.x/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.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3")
translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.003071/0.003071, allocations: 67.36 kB / 1.138 GB, free: 33.83 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4697/0.4728, allocations: 173.6 MB / 1.307 GB, free: 1.812 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002499/0.4753, allocations: 1.289 MB / 1.309 GB, free: 0.5117 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001292/0.4766, allocations: 0.8184 MB / 1.309 GB, free: 15.69 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.833e-05/0.4766, allocations: 0 / 1.309 GB, free: 15.69 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 4.836e-05/0.4767, allocations: 7.875 kB / 1.309 GB, free: 15.68 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0002315/0.4769, allocations: 15.98 kB / 1.309 GB, free: 15.67 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.4771, allocations: 47.11 kB / 1.309 GB, free: 15.62 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 8.377e-05/0.4772, allocations: 23.92 kB / 1.309 GB, free: 15.6 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.937e-05/0.4772, allocations: 4 kB / 1.309 GB, free: 15.6 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 7.273e-05/0.4773, allocations: 15.97 kB / 1.309 GB, free: 15.58 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.4774, allocations: 11.94 kB / 1.309 GB, free: 15.57 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.4775, allocations: 0 / 1.309 GB, free: 15.57 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 5.167e-05/0.4775, allocations: 11.98 kB / 1.309 GB, free: 15.56 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 4.803e-05/0.4776, allocations: 7.984 kB / 1.309 GB, free: 15.55 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 3.381e-05/0.4776, allocations: 15.88 kB / 1.309 GB, free: 15.54 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.4777, allocations: 27.91 kB / 1.31 GB, free: 15.51 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4777, allocations: 0 / 1.31 GB, free: 15.51 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.884e-06/0.4777, allocations: 0 / 1.31 GB, free: 15.51 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.029e-06/0.4777, allocations: 0 / 1.31 GB, free: 15.51 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.0003395/0.4781, allocations: 242.4 kB / 1.31 GB, free: 15.24 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.4781, allocations: 8.922 kB / 1.31 GB, free: 15.23 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.407e-05/0.4782, allocations: 84.17 kB / 1.31 GB, free: 15.15 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.4783, allocations: 189.8 kB / 1.31 GB, free: 14.94 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.357e-05/0.4784, allocations: 158.9 kB / 1.31 GB, free: 14.78 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.091e-05/0.4785, allocations: 150.9 kB / 1.31 GB, free: 14.63 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 7.372e-05/0.4785, allocations: 105.5 kB / 1.31 GB, free: 14.52 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 3.8e-05/0.4786, allocations: 75.47 kB / 1.31 GB, free: 14.45 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-05/0.4786, allocations: 158.5 kB / 1.311 GB, free: 14.29 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.785e-05/0.4787, allocations: 158.5 kB / 1.311 GB, free: 14.14 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.427e-05/0.4788, allocations: 158.5 kB / 1.311 GB, free: 13.98 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003278/0.4791, allocations: 421 kB / 1.311 GB, free: 13.53 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 9.857e-05/0.4792, allocations: 169.1 kB / 1.312 GB, free: 13.35 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.807e-05/0.4793, allocations: 84.14 kB / 1.312 GB, free: 13.27 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.499e-05/0.4793, allocations: 75.28 kB / 1.312 GB, free: 13.19 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.602e-05/0.4793, allocations: 109.8 kB / 1.312 GB, free: 13.07 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.4793, allocations: 0 / 1.312 GB, free: 13.07 MB / 1.014 GB
Notification: Performance of matching and sorting (n=0): time 0.0001215/0.4795, allocations: 33.64 kB / 1.312 GB, free: 13.04 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.813e-05/0.4795, allocations: 126.7 kB / 1.312 GB, free: 12.9 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.4797, allocations: 109.8 kB / 1.312 GB, free: 12.78 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.4797, allocations: 25.7 kB / 1.312 GB, free: 12.75 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/0.4797, allocations: 88.09 kB / 1.312 GB, free: 12.66 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.254e-06/0.4797, allocations: 0 / 1.312 GB, free: 12.66 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/0.4798, allocations: 25.69 kB / 1.312 GB, free: 12.63 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001383/0.4799, allocations: 310.8 kB / 1.312 GB, free: 12.32 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.068e-05/0.4799, allocations: 4 kB / 1.312 GB, free: 12.31 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.813e-05/0.48, allocations: 11.98 kB / 1.312 GB, free: 12.3 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 3.326e-05/0.48, allocations: 21.14 kB / 1.312 GB, free: 12.28 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.48, allocations: 0 / 1.312 GB, free: 12.28 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.000128/0.4801, allocations: 45.69 kB / 1.313 GB, free: 12.23 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.4801, allocations: 5.875 kB / 1.313 GB, free: 12.22 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.4802, allocations: 3.938 kB / 1.313 GB, free: 12.22 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.4802, allocations: 0 / 1.313 GB, free: 12.22 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-07/0.4802, allocations: 0 / 1.313 GB, free: 12.22 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.4802, allocations: 4 kB / 1.313 GB, free: 12.21 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.766e-05/0.4803, allocations: 32 / 1.313 GB, free: 12.21 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.4803, allocations: 7.984 kB / 1.313 GB, free: 12.21 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 (1):
 * Single equations (assignments): 0
 * Array equations: 1
 * 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.0001214/0.4804, allocations: 189.1 kB / 1.313 GB, free: 12.01 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-05/0.4805, allocations: 108.9 kB / 1.313 GB, free: 11.9 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.5e-05/0.4805, allocations: 112.4 kB / 1.313 GB, free: 11.78 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-05/0.4806, allocations: 180.2 kB / 1.313 GB, free: 11.59 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.649e-05/0.4807, allocations: 184.2 kB / 1.313 GB, free: 11.41 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.123e-05/0.4808, allocations: 180.3 kB / 1.313 GB, free: 11.22 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002489/0.481, allocations: 376.2 kB / 1.314 GB, free: 10.8 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.215e-05/0.4811, allocations: 101 kB / 1.314 GB, free: 10.7 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.977e-05/0.4811, allocations: 112.9 kB / 1.314 GB, free: 10.58 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.527e-05/0.4812, allocations: 180.4 kB / 1.314 GB, free: 10.4 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.7e-05/0.4813, allocations: 188.3 kB / 1.314 GB, free: 10.21 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.391e-05/0.4813, allocations: 188.1 kB / 1.315 GB, free: 10.02 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.061e-05/0.4814, allocations: 184.2 kB / 1.315 GB, free: 9.828 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.4816, allocations: 303.8 kB / 1.315 GB, free: 9.508 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.252e-05/0.4817, allocations: 108.9 kB / 1.315 GB, free: 9.395 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.4818, allocations: 192.1 kB / 1.315 GB, free: 9.199 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.253e-05/0.4819, allocations: 101 kB / 1.315 GB, free: 9.094 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.597e-05/0.4819, allocations: 184.2 kB / 1.316 GB, free: 8.906 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.536e-05/0.482, allocations: 101 kB / 1.316 GB, free: 8.801 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 5.882e-05/0.4821, allocations: 87.27 kB / 1.316 GB, free: 8.715 MB / 1.014 GB
Notification: Performance of sort global known variables: time 6e-08/0.4821, allocations: 0 / 1.316 GB, free: 8.715 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002327/0.4823, allocations: 8 kB / 1.316 GB, free: 8.707 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.0003019/0.4826, allocations: 179.3 kB / 1.316 GB, free: 8.523 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 7.625e-05/0.4827, allocations: 11.94 kB / 1.316 GB, free: 8.512 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4827, allocations: 0 / 1.316 GB, free: 8.512 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 3.757e-06/0.4827, allocations: 4 kB / 1.316 GB, free: 8.508 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.4831, allocations: 456.9 kB / 1.316 GB, free: 8.059 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002969/0.4834, allocations: 176.7 kB / 1.317 GB, free: 7.859 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.4837, allocations: 0.6768 MB / 1.317 GB, free: 7.156 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 1.81e-05/0.4837, allocations: 0 / 1.317 GB, free: 7.156 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.682e-05/0.4837, allocations: 7.438 kB / 1.317 GB, free: 7.148 MB / 1.014 GB
Notification: Performance of SimCode: time 3.2e-07/0.4837, allocations: 4 kB / 1.317 GB, free: 7.145 MB / 1.014 GB
Notification: Performance of Templates: time 0.003004/0.4867, allocations: 439.5 kB / 1.318 GB, free: 6.73 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.176921633072197]