Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.002042/0.002042, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.002568/0.002568, allocations: 188.7 kB / 22.11 MB, free: 4.223 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.633/1.633, allocations: 225.6 MB / 250.8 MB, free: 2.895 MB / 190.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 2.928/2.928, allocations: 495.8 MB / 0.783 GB, free: 12.18 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.EquationOfTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eqnTim.nDay|eqnTim.eqnTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime")
translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eqnTim.nDay|eqnTim.eqnTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 60.08 kB / 1.137 GB, free: 12.14 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9713/0.9733, allocations: 173.6 MB / 1.307 GB, free: 33.73 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002168/0.9755, allocations: 1.482 MB / 1.308 GB, free: 32.7 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.0006875/0.9762, allocations: 0.5082 MB / 1.309 GB, free: 32.35 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.667e-05/0.9762, allocations: 0 / 1.309 GB, free: 32.35 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 2.934e-05/0.9763, allocations: 3.938 kB / 1.309 GB, free: 32.34 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001927/0.9765, allocations: 24.61 kB / 1.309 GB, free: 32.33 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 8.91e-05/0.9766, allocations: 32.16 kB / 1.309 GB, free: 32.31 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 7.179e-05/0.9766, allocations: 47.36 kB / 1.309 GB, free: 32.29 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 9.019e-05/0.9767, allocations: 6.844 kB / 1.309 GB, free: 32.29 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 9.171e-05/0.9768, allocations: 24.61 kB / 1.309 GB, free: 32.27 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.116e-05/0.9769, allocations: 27.53 kB / 1.309 GB, free: 32.26 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.9769, allocations: 5.594 kB / 1.309 GB, free: 32.26 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.339e-05/0.9769, allocations: 2.844 kB / 1.309 GB, free: 32.26 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 2.68e-05/0.9769, allocations: 10.8 kB / 1.309 GB, free: 32.26 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 3.911e-05/0.977, allocations: 25.31 kB / 1.309 GB, free: 32.24 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 9.188e-05/0.9771, allocations: 42.08 kB / 1.309 GB, free: 32.23 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.9771, allocations: 4 kB / 1.309 GB, free: 32.22 MB / 1.061 GB
Notification: Performance of FrontEnd: time 1.272e-06/0.9771, allocations: 0 / 1.309 GB, free: 32.22 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 5.27e-06/0.9771, allocations: 2.906 kB / 1.309 GB, free: 32.22 MB / 1.061 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 7
 * Number of variables: 7
Notification: Performance of Generate backend data structure: time 0.0005127/0.9776, allocations: 281.1 kB / 1.309 GB, free: 31.95 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.9776, allocations: 9.219 kB / 1.309 GB, free: 31.95 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.9777, allocations: 3.938 kB / 1.309 GB, free: 31.95 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.564e-05/0.9778, allocations: 112.8 kB / 1.309 GB, free: 31.82 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.9778, allocations: 7.344 kB / 1.309 GB, free: 31.82 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.9778, allocations: 384 / 1.309 GB, free: 31.82 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.9779, allocations: 59.86 kB / 1.309 GB, free: 31.78 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.9779, allocations: 2.75 kB / 1.309 GB, free: 31.78 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.9779, allocations: 4 kB / 1.309 GB, free: 31.77 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.9779, allocations: 0 / 1.309 GB, free: 31.77 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.459e-05/0.978, allocations: 18.75 kB / 1.309 GB, free: 31.77 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/0.9783, allocations: 253.7 kB / 1.31 GB, free: 31.51 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.9786, allocations: 66.2 kB / 1.31 GB, free: 31.47 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.573e-05/0.9787, allocations: 20.2 kB / 1.31 GB, free: 31.46 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.9787, allocations: 6.844 kB / 1.31 GB, free: 31.45 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/0.9789, allocations: 67.52 kB / 1.31 GB, free: 31.4 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.9789, allocations: 0 / 1.31 GB, free: 31.4 MB / 1.061 GB
Notification: Performance of matching and sorting (n=6): time 0.0002566/0.9791, allocations: 98.45 kB / 1.31 GB, free: 31.34 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.9792, allocations: 51.41 kB / 1.31 GB, free: 31.28 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.195e-05/0.9792, allocations: 99.8 kB / 1.31 GB, free: 31.18 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.9793, allocations: 32.11 kB / 1.31 GB, free: 31.14 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 4.264e-05/0.9793, allocations: 88.09 kB / 1.31 GB, free: 31.05 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.9793, allocations: 14.81 kB / 1.31 GB, free: 31.04 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/0.9794, allocations: 23.23 kB / 1.31 GB, free: 31.02 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 7.191e-05/0.9795, allocations: 318.8 kB / 1.311 GB, free: 30.7 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.79e-05/0.9795, allocations: 17.58 kB / 1.311 GB, free: 30.7 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.842e-05/0.9795, allocations: 15.88 kB / 1.311 GB, free: 30.69 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 6.933e-05/0.9796, allocations: 37.52 kB / 1.311 GB, free: 30.67 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.9796, allocations: 6.531 kB / 1.311 GB, free: 30.66 MB / 1.061 GB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.000108/0.9797, allocations: 71.97 kB / 1.311 GB, free: 30.62 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.9797, allocations: 5.188 kB / 1.311 GB, free: 30.62 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.9797, allocations: 0 / 1.311 GB, free: 30.62 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.9797, allocations: 2.781 kB / 1.311 GB, free: 30.62 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.481e-05/0.9798, allocations: 13.56 kB / 1.311 GB, free: 30.61 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.9798, allocations: 7.188 kB / 1.311 GB, free: 30.61 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.627e-05/0.9799, allocations: 0 / 1.311 GB, free: 30.61 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.9799, allocations: 6.75 kB / 1.311 GB, free: 30.61 MB / 1.061 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 3 (eqnTim.tNext,$PRE.eqnTim.tNext,$whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (7):
 * Single equations (assignments): 7
 * 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 6.261e-05/0.98, allocations: 125.3 kB / 1.311 GB, free: 30.48 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.347e-05/0.98, allocations: 2.781 kB / 1.311 GB, free: 30.48 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001769/0.9801, allocations: 98.84 kB / 1.311 GB, free: 30.42 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.9801, allocations: 0 / 1.311 GB, free: 30.42 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.9801, allocations: 2.75 kB / 1.311 GB, free: 30.42 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.9802, allocations: 4 kB / 1.311 GB, free: 30.41 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.9803, allocations: 167.7 kB / 1.311 GB, free: 30.23 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.9803, allocations: 0 / 1.311 GB, free: 30.23 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.878e-05/0.9803, allocations: 8.375 kB / 1.311 GB, free: 30.23 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.9803, allocations: 0 / 1.311 GB, free: 30.23 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.9803, allocations: 6.344 kB / 1.311 GB, free: 30.23 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.9803, allocations: 0 / 1.311 GB, free: 30.23 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.9803, allocations: 3.422 kB / 1.311 GB, free: 30.23 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/0.9805, allocations: 122 kB / 1.311 GB, free: 30.14 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.218e-05/0.9805, allocations: 14.55 kB / 1.311 GB, free: 30.12 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.9805, allocations: 0 / 1.311 GB, free: 30.12 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.694e-05/0.9806, allocations: 6.172 kB / 1.311 GB, free: 30.12 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.9806, allocations: 9.891 kB / 1.311 GB, free: 30.12 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.9806, allocations: 2.719 kB / 1.311 GB, free: 30.12 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 2.869e-05/0.9807, allocations: 87.98 kB / 1.311 GB, free: 30.04 MB / 1.061 GB
Notification: Performance of sort global known variables: time 7e-08/0.9807, allocations: 0 / 1.311 GB, free: 30.04 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.0001927/0.9809, allocations: 10.59 kB / 1.311 GB, free: 30.04 MB / 1.061 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 2 ($whenCondition1,eqnTim.tNext)
 * Number of discrete states: 1 (eqnTim.tNext)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (9):
 * Single equations (assignments): 8
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * 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 9.813e-05/0.981, allocations: 102.4 kB / 1.311 GB, free: 29.95 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 0.000154/0.9811, allocations: 51.16 kB / 1.311 GB, free: 29.93 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.9811, allocations: 0 / 1.311 GB, free: 29.93 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 5.741e-05/0.9812, allocations: 32.45 kB / 1.312 GB, free: 29.92 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.9813, allocations: 6.656 kB / 1.312 GB, free: 29.92 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003176/0.9816, allocations: 148.7 kB / 1.312 GB, free: 29.79 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.9818, allocations: 0.6841 MB / 1.312 GB, free: 29.09 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 4.007e-05/0.9818, allocations: 6.938 kB / 1.312 GB, free: 29.09 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.892e-05/0.9818, allocations: 10.66 kB / 1.312 GB, free: 29.08 MB / 1.061 GB
Notification: Performance of SimCode: time 6.21e-07/0.9818, allocations: 0 / 1.312 GB, free: 29.08 MB / 1.061 GB
Notification: Performance of Templates: time 0.00309/0.9849, allocations: 0.7372 MB / 1.313 GB, free: 28.98 MB / 1.061 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.593296313658357]