Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.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.001799/0.001799, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.002285/0.002285, allocations: 189.5 kB / 22.23 MB, free: 5.137 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.474/1.474, allocations: 225.6 MB / 251 MB, free: 13.04 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.198/3.198, allocations: 496 MB / 0.7835 GB, free: 33.69 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.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|civTim.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime")
translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|civTim.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 75.39 kB / 1.138 GB, free: 33.77 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4624/0.4644, allocations: 173.6 MB / 1.307 GB, free: 1.801 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.002052/0.4665, allocations: 0.5834 MB / 1.308 GB, free: 1.219 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 4.681e-05/0.4665, allocations: 3.984 kB / 1.308 GB, free: 1.215 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.647e-05/0.4666, allocations: 0 / 1.308 GB, free: 1.215 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 3.011e-05/0.4666, allocations: 7.938 kB / 1.308 GB, free: 1.207 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 3.18e-05/0.4666, allocations: 0 / 1.308 GB, free: 1.207 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 3.923e-05/0.4667, allocations: 4 kB / 1.308 GB, free: 1.203 MB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 7.952e-05/0.4668, allocations: 3.984 kB / 1.308 GB, free: 1.199 MB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.855e-05/0.4668, allocations: 0 / 1.308 GB, free: 1.199 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.951e-05/0.4668, allocations: 4 kB / 1.308 GB, free: 1.195 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 2.327e-05/0.4669, allocations: 3.938 kB / 1.308 GB, free: 1.191 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.4669, allocations: 4 kB / 1.308 GB, free: 1.188 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 5.82e-06/0.4669, allocations: 0 / 1.308 GB, free: 1.188 MB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 1.715e-05/0.4669, allocations: 0 / 1.308 GB, free: 1.188 MB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 3.054e-05/0.4669, allocations: 0 / 1.308 GB, free: 1.188 MB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 7.371e-05/0.467, allocations: 4 kB / 1.308 GB, free: 1.184 MB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.467, allocations: 0 / 1.308 GB, free: 1.184 MB / 0.9981 GB
Notification: Performance of FrontEnd: time 2.325e-06/0.467, allocations: 0 / 1.308 GB, free: 1.184 MB / 0.9981 GB
Notification: Performance of Transformations before backend: time 6.793e-06/0.467, allocations: 0 / 1.308 GB, free: 1.184 MB / 0.9981 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1
 * Number of variables: 1
Notification: Performance of Generate backend data structure: time 0.0003323/0.4673, allocations: 234.5 kB / 1.308 GB, free: 0.9219 MB / 0.9981 GB
Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.4674, allocations: 12.92 kB / 1.308 GB, free: 0.9102 MB / 0.9981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.549e-05/0.4674, allocations: 0.9375 kB / 1.308 GB, free: 0.9102 MB / 0.9981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.4676, allocations: 110.5 kB / 1.308 GB, free: 0.7773 MB / 0.9981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.4676, allocations: 384 / 1.308 GB, free: 0.7773 MB / 0.9981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.567e-06/0.4676, allocations: 4.375 kB / 1.308 GB, free: 0.7734 MB / 0.9981 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.4677, allocations: 38.19 kB / 1.308 GB, free: 0.7305 MB / 0.9981 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.4677, allocations: 192 / 1.308 GB, free: 0.7305 MB / 0.9981 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.4677, allocations: 3.938 kB / 1.308 GB, free: 0.7266 MB / 0.9981 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.4677, allocations: 0 / 1.308 GB, free: 0.7266 MB / 0.9981 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.93e-05/0.4678, allocations: 0 / 1.308 GB, free: 0.7266 MB / 0.9981 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001599/0.4679, allocations: 120.8 kB / 1.308 GB, free: 0.5664 MB / 0.9981 GB
Notification: Performance of preOpt comSubExp (simulation): time 4.919e-05/0.468, allocations: 18.58 kB / 1.308 GB, free: 0.5391 MB / 0.9981 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.675e-05/0.468, allocations: 12.95 kB / 1.308 GB, free: 0.5234 MB / 0.9981 GB
Notification: Performance of preOpt evalFunc (simulation): time 9.408e-06/0.468, allocations: 0 / 1.308 GB, free: 0.5234 MB / 0.9981 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.468, allocations: 34.5 kB / 1.308 GB, free: 492 kB / 0.9981 GB
Notification: Performance of pre-optimization done (n=1): time 6.72e-07/0.468, allocations: 0 / 1.308 GB, free: 492 kB / 0.9981 GB
Notification: Performance of matching and sorting (n=1): time 0.0001632/0.4682, allocations: 33.64 kB / 1.309 GB, free: 452 kB / 0.9981 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.4683, allocations: 59.34 kB / 1.309 GB, free: 380 kB / 0.9981 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.018e-05/0.4683, allocations: 97.78 kB / 1.309 GB, free: 272 kB / 0.9981 GB
Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.4683, allocations: 33.83 kB / 1.309 GB, free: 232 kB / 0.9981 GB
Notification: Performance of collectInitialEqns (initialization): time 4.14e-05/0.4684, allocations: 80.14 kB / 1.309 GB, free: 148 kB / 0.9981 GB
Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.4684, allocations: 3.984 kB / 1.309 GB, free: 144 kB / 0.9981 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-05/0.4684, allocations: 10.12 kB / 1.309 GB, free: 128 kB / 0.9981 GB
Notification: Performance of setup shared object (initialization): time 0.0001884/0.4686, allocations: 310.8 kB / 1.309 GB, free: 15.81 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.23e-05/0.4686, allocations: 4 kB / 1.309 GB, free: 15.81 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.603e-06/0.4687, allocations: 3.938 kB / 1.309 GB, free: 15.8 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 3.335e-05/0.4687, allocations: 16.92 kB / 1.309 GB, free: 15.79 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4687, allocations: 0 / 1.309 GB, free: 15.79 MB / 1.014 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 5.31e-05/0.4687, allocations: 29.7 kB / 1.309 GB, free: 15.75 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.4688, allocations: 7.984 kB / 1.309 GB, free: 15.74 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.4688, allocations: 0 / 1.309 GB, free: 15.74 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.4688, allocations: 3.938 kB / 1.309 GB, free: 15.74 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.74e-05/0.4688, allocations: 4 kB / 1.309 GB, free: 15.73 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.4689, allocations: 0 / 1.309 GB, free: 15.73 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.078e-05/0.4689, allocations: 0 / 1.309 GB, free: 15.73 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-06/0.4689, allocations: 0 / 1.309 GB, free: 15.73 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): 1
 * 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 8.294e-05/0.469, allocations: 118.6 kB / 1.309 GB, free: 15.61 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-06/0.469, allocations: 0 / 1.309 GB, free: 15.61 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.055e-05/0.469, allocations: 10.94 kB / 1.309 GB, free: 15.6 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.469, allocations: 7.938 kB / 1.309 GB, free: 15.59 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.469, allocations: 0 / 1.309 GB, free: 15.59 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.469, allocations: 0 / 1.309 GB, free: 15.59 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.4691, allocations: 116.8 kB / 1.309 GB, free: 15.44 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.4691, allocations: 4 kB / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.356e-06/0.4691, allocations: 0 / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.4691, allocations: 0 / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.4691, allocations: 7.938 kB / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.4691, allocations: 0 / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.4691, allocations: 0 / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 7.187e-05/0.4692, allocations: 61.12 kB / 1.309 GB, free: 15.35 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.973e-06/0.4692, allocations: 4 kB / 1.309 GB, free: 15.34 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.4692, allocations: 3.938 kB / 1.309 GB, free: 15.34 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.043e-06/0.4692, allocations: 0 / 1.309 GB, free: 15.34 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.629e-05/0.4692, allocations: 11.97 kB / 1.309 GB, free: 15.33 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-06/0.4692, allocations: 0 / 1.309 GB, free: 15.33 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 3.797e-05/0.4693, allocations: 75.28 kB / 1.31 GB, free: 15.25 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7.1e-08/0.4693, allocations: 0 / 1.31 GB, free: 15.25 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0001982/0.4695, allocations: 3.938 kB / 1.31 GB, free: 15.25 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 (1):
 * Single equations (assignments): 1
 * 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.0001678/0.4696, allocations: 95.25 kB / 1.31 GB, free: 15.14 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 8.31e-05/0.4697, allocations: 7.984 kB / 1.31 GB, free: 15.14 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4697, allocations: 4 kB / 1.31 GB, free: 15.13 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 4.9e-06/0.4697, allocations: 4 kB / 1.31 GB, free: 15.13 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.4699, allocations: 8 kB / 1.31 GB, free: 15.12 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000302/0.4702, allocations: 78.8 kB / 1.31 GB, free: 15.02 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.4705, allocations: 0.669 MB / 1.31 GB, free: 14.32 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 1.334e-05/0.4705, allocations: 0 / 1.31 GB, free: 14.32 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.033e-05/0.4705, allocations: 7.438 kB / 1.31 GB, free: 14.31 MB / 1.014 GB
Notification: Performance of SimCode: time 3.31e-07/0.4705, allocations: 4 kB / 1.31 GB, free: 14.31 MB / 1.014 GB
Notification: Performance of Templates: time 0.002532/0.4731, allocations: 176.8 kB / 1.311 GB, free: 14.14 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.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.382216949947178]