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.001673/0.001673, allocations: 110 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.00195/0.00195, allocations: 189.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.468/1.468, allocations: 225.6 MB / 251 MB, free: 13 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.269/3.269, allocations: 496 MB / 0.7835 GB, free: 33.55 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.002108/0.002108, allocations: 69.94 kB / 1.138 GB, free: 33.66 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.365, allocations: 173.6 MB / 1.307 GB, free: 1.633 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.003055/0.368, allocations: 1.487 MB / 1.309 GB, free: 140 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.00102/0.369, allocations: 0.5026 MB / 1.309 GB, free: 15.63 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.561e-05/0.3691, allocations: 0 / 1.309 GB, free: 15.63 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 2.923e-05/0.3691, allocations: 3.938 kB / 1.309 GB, free: 15.62 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0002439/0.3694, allocations: 27.84 kB / 1.309 GB, free: 15.6 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001127/0.3695, allocations: 31.91 kB / 1.309 GB, free: 15.57 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001197/0.3696, allocations: 43.91 kB / 1.309 GB, free: 15.52 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 9.482e-05/0.3697, allocations: 11.86 kB / 1.309 GB, free: 15.51 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.3698, allocations: 27.92 kB / 1.309 GB, free: 15.48 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.202e-05/0.3699, allocations: 23.91 kB / 1.309 GB, free: 15.46 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.3699, allocations: 4 kB / 1.309 GB, free: 15.46 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.358e-05/0.3699, allocations: 4 kB / 1.309 GB, free: 15.45 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 2.979e-05/0.3699, allocations: 11.98 kB / 1.309 GB, free: 15.44 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 4.46e-05/0.37, allocations: 19.88 kB / 1.309 GB, free: 15.42 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.3701, allocations: 47.86 kB / 1.309 GB, free: 15.38 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3701, allocations: 0 / 1.309 GB, free: 15.38 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.653e-06/0.3701, allocations: 0 / 1.309 GB, free: 15.38 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.681e-06/0.3701, allocations: 0 / 1.309 GB, free: 15.38 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: 7
 * Number of variables: 7
Notification: Performance of Generate backend data structure: time 0.0006209/0.3707, allocations: 274.3 kB / 1.31 GB, free: 15.08 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.3707, allocations: 8.922 kB / 1.31 GB, free: 15.07 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.129e-05/0.3708, allocations: 4.938 kB / 1.31 GB, free: 15.07 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.3709, allocations: 118.4 kB / 1.31 GB, free: 14.93 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.3709, allocations: 8.359 kB / 1.31 GB, free: 14.92 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.371, allocations: 4.375 kB / 1.31 GB, free: 14.91 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.3711, allocations: 57.98 kB / 1.31 GB, free: 14.85 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3711, allocations: 0 / 1.31 GB, free: 14.85 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.3711, allocations: 0 / 1.31 GB, free: 14.85 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3711, allocations: 0 / 1.31 GB, free: 14.85 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.419e-05/0.3712, allocations: 23.98 kB / 1.31 GB, free: 14.83 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004063/0.3716, allocations: 251.8 kB / 1.31 GB, free: 14.54 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.3718, allocations: 70.66 kB / 1.31 GB, free: 14.46 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 5.348e-05/0.3719, allocations: 24.84 kB / 1.31 GB, free: 14.43 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.3719, allocations: 0 / 1.31 GB, free: 14.43 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002144/0.3721, allocations: 67.33 kB / 1.31 GB, free: 14.36 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.3721, allocations: 0 / 1.31 GB, free: 14.36 MB / 1.014 GB
Notification: Performance of matching and sorting (n=6): time 0.0002808/0.3724, allocations: 97.66 kB / 1.31 GB, free: 14.25 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.3725, allocations: 51.41 kB / 1.31 GB, free: 14.19 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.187e-05/0.3725, allocations: 101.9 kB / 1.311 GB, free: 14.08 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.3726, allocations: 25.7 kB / 1.311 GB, free: 14.05 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 5.82e-05/0.3726, allocations: 92.03 kB / 1.311 GB, free: 13.96 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.3727, allocations: 23.83 kB / 1.311 GB, free: 13.93 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.3727, allocations: 21.66 kB / 1.311 GB, free: 13.91 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001722/0.3729, allocations: 322.8 kB / 1.311 GB, free: 13.58 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.908e-05/0.3729, allocations: 16 kB / 1.311 GB, free: 13.57 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.729e-05/0.373, allocations: 19.92 kB / 1.311 GB, free: 13.55 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 7.611e-05/0.373, allocations: 36.86 kB / 1.311 GB, free: 13.51 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.373, allocations: 0 / 1.311 GB, free: 13.51 MB / 1.014 GB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001323/0.3732, allocations: 73.62 kB / 1.311 GB, free: 13.43 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.3732, allocations: 4 kB / 1.311 GB, free: 13.43 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.3732, allocations: 0 / 1.311 GB, free: 13.43 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.3732, allocations: 4 kB / 1.311 GB, free: 13.42 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.475e-05/0.3733, allocations: 11.98 kB / 1.311 GB, free: 13.41 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3733, allocations: 4 kB / 1.311 GB, free: 13.41 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.999e-05/0.3734, allocations: 4 kB / 1.311 GB, free: 13.4 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.3734, allocations: 7.938 kB / 1.311 GB, free: 13.39 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: 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 0.0001119/0.3735, allocations: 114 kB / 1.311 GB, free: 13.27 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.3735, allocations: 7.984 kB / 1.311 GB, free: 13.27 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002144/0.3737, allocations: 97.67 kB / 1.311 GB, free: 13.16 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3737, allocations: 0 / 1.311 GB, free: 13.16 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.3737, allocations: 7.984 kB / 1.311 GB, free: 13.15 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3737, allocations: 4 kB / 1.311 GB, free: 13.15 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.3739, allocations: 156.7 kB / 1.312 GB, free: 12.95 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3739, allocations: 4 kB / 1.312 GB, free: 12.95 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.384e-05/0.374, allocations: 11.98 kB / 1.312 GB, free: 12.94 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.374, allocations: 0 / 1.312 GB, free: 12.94 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.374, allocations: 0 / 1.312 GB, free: 12.94 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.374, allocations: 4 kB / 1.312 GB, free: 12.93 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.374, allocations: 0 / 1.312 GB, free: 12.93 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.3742, allocations: 121 kB / 1.312 GB, free: 12.8 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.565e-05/0.3742, allocations: 11.95 kB / 1.312 GB, free: 12.79 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.3742, allocations: 7.984 kB / 1.312 GB, free: 12.78 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.489e-05/0.3743, allocations: 0 / 1.312 GB, free: 12.78 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.3743, allocations: 7.984 kB / 1.312 GB, free: 12.77 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.3744, allocations: 8 kB / 1.312 GB, free: 12.76 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 4.902e-05/0.3744, allocations: 79.28 kB / 1.312 GB, free: 12.68 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.3744, allocations: 0 / 1.312 GB, free: 12.68 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0001957/0.3746, allocations: 15.94 kB / 1.312 GB, free: 12.67 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: 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 0.0001304/0.3747, allocations: 115.9 kB / 1.312 GB, free: 12.55 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.000151/0.3749, allocations: 43.92 kB / 1.312 GB, free: 12.5 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3749, allocations: 0 / 1.312 GB, free: 12.5 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 6.684e-05/0.3749, allocations: 35.92 kB / 1.312 GB, free: 12.47 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.3751, allocations: 0 / 1.312 GB, free: 12.47 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/0.3754, allocations: 141.5 kB / 1.312 GB, free: 12.3 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.3758, allocations: 0.6846 MB / 1.313 GB, free: 11.59 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 4.768e-05/0.3758, allocations: 20.05 kB / 1.313 GB, free: 11.57 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.146e-05/0.3759, allocations: 15.44 kB / 1.313 GB, free: 11.56 MB / 1.014 GB
Notification: Performance of SimCode: time 3.41e-07/0.3759, allocations: 3.938 kB / 1.313 GB, free: 11.55 MB / 1.014 GB
Notification: Performance of Templates: time 0.003284/0.3792, allocations: 0.7182 MB / 1.314 GB, free: 10.84 MB / 1.014 GB
"
[Timeout remaining time 300]
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.115835127420723]