Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.001599/0.001599, allocations: 112.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.001493/0.001493, allocations: 190.8 kB / 22.22 MB, free: 5.105 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.587/1.587, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.839/2.839, allocations: 476.7 MB / 0.7646 GB, free: 9.895 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant")
translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 67.84 kB / 1.11 GB, free: 6.273 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.072/1.074, allocations: 168.8 MB / 1.274 GB, free: 4.156 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001945/1.076, allocations: 0.5926 MB / 1.275 GB, free: 3.566 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 4.69e-05/1.076, allocations: 0 / 1.275 GB, free: 3.566 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.354e-05/1.076, allocations: 0 / 1.275 GB, free: 3.566 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 2.789e-05/1.076, allocations: 0 / 1.275 GB, free: 3.566 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 3.499e-05/1.076, allocations: 0 / 1.275 GB, free: 3.566 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 3.106e-05/1.076, allocations: 0 / 1.275 GB, free: 3.566 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 6.995e-05/1.076, allocations: 11.92 kB / 1.275 GB, free: 3.555 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 6.697e-05/1.076, allocations: 4 kB / 1.275 GB, free: 3.551 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.822e-05/1.076, allocations: 4 kB / 1.275 GB, free: 3.547 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 2.255e-05/1.077, allocations: 4 kB / 1.275 GB, free: 3.543 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 1.573e-05/1.077, allocations: 7.984 kB / 1.275 GB, free: 3.535 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 4.128e-06/1.077, allocations: 0 / 1.275 GB, free: 3.535 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 1.632e-05/1.077, allocations: 0 / 1.275 GB, free: 3.535 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 2.152e-05/1.077, allocations: 0 / 1.275 GB, free: 3.535 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 6.036e-05/1.077, allocations: 0 / 1.275 GB, free: 3.535 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/1.077, allocations: 3.938 kB / 1.275 GB, free: 3.531 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.623e-06/1.077, allocations: 3.938 kB / 1.275 GB, free: 3.527 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 7.184e-06/1.077, allocations: 0 / 1.275 GB, free: 3.527 MB / 0.9669 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.0003769/1.077, allocations: 245.1 kB / 1.275 GB, free: 3.258 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/1.077, allocations: 16.03 kB / 1.275 GB, free: 3.242 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.101e-05/1.077, allocations: 0.9375 kB / 1.275 GB, free: 3.242 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/1.077, allocations: 102.5 kB / 1.275 GB, free: 3.117 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/1.077, allocations: 384 / 1.275 GB, free: 3.117 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/1.077, allocations: 4.375 kB / 1.275 GB, free: 3.113 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/1.077, allocations: 26.27 kB / 1.275 GB, free: 3.082 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/1.077, allocations: 192 / 1.275 GB, free: 3.082 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/1.077, allocations: 3.938 kB / 1.275 GB, free: 3.078 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/1.077, allocations: 0 / 1.275 GB, free: 3.078 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.794e-05/1.077, allocations: 4 kB / 1.275 GB, free: 3.074 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004578/1.078, allocations: 358.6 kB / 1.276 GB, free: 2.68 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/1.078, allocations: 173.1 kB / 1.276 GB, free: 2.5 MB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 6.827e-05/1.078, allocations: 84.08 kB / 1.276 GB, free: 2.414 MB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 5.322e-05/1.078, allocations: 75.28 kB / 1.276 GB, free: 2.34 MB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.013e-05/1.078, allocations: 113.8 kB / 1.276 GB, free: 2.219 MB / 0.9669 GB
Notification: Performance of pre-optimization done (n=0): time 1.262e-06/1.078, allocations: 0 / 1.276 GB, free: 2.219 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=0): time 0.0001031/1.078, allocations: 33.64 kB / 1.276 GB, free: 2.18 MB / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.097e-05/1.078, allocations: 126.7 kB / 1.276 GB, free: 2.043 MB / 0.9669 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/1.079, allocations: 93.86 kB / 1.276 GB, free: 1.941 MB / 0.9669 GB
Notification: Performance of collectPreVariables (initialization): time 1.905e-05/1.079, allocations: 29.7 kB / 1.276 GB, free: 1.906 MB / 0.9669 GB
Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/1.079, allocations: 84.27 kB / 1.276 GB, free: 1.82 MB / 0.9669 GB
Notification: Performance of collectInitialBindings (initialization): time 1.473e-06/1.079, allocations: 0 / 1.276 GB, free: 1.82 MB / 0.9669 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.318e-05/1.079, allocations: 9.719 kB / 1.276 GB, free: 1.805 MB / 0.9669 GB
Notification: Performance of setup shared object (initialization): time 0.0001861/1.079, allocations: 314.8 kB / 1.277 GB, free: 1.488 MB / 0.9669 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.73e-06/1.079, allocations: 0 / 1.277 GB, free: 1.488 MB / 0.9669 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.066e-06/1.079, allocations: 0 / 1.277 GB, free: 1.488 MB / 0.9669 GB
Notification: Performance of analyzeInitialSystem (initialization): time 4.076e-05/1.079, allocations: 79.28 kB / 1.277 GB, free: 1.41 MB / 0.9669 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.926e-05/1.079, allocations: 75.28 kB / 1.277 GB, free: 1.336 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=0) (initialization): time 6.374e-05/1.079, allocations: 37.61 kB / 1.277 GB, free: 1.293 MB / 0.9669 GB
Notification: Performance of prepare postOptimizeDAE: time 5.975e-05/1.079, allocations: 87.28 kB / 1.277 GB, free: 1.207 MB / 0.9669 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-05/1.079, allocations: 75.28 kB / 1.277 GB, free: 1.133 MB / 0.9669 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001017/1.079, allocations: 158.5 kB / 1.277 GB, free: 0.9766 MB / 0.9669 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.589e-05/1.079, allocations: 79.22 kB / 1.277 GB, free: 0.8984 MB / 0.9669 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.611e-05/1.079, allocations: 158.5 kB / 1.278 GB, free: 0.7422 MB / 0.9669 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.204e-05/1.079, allocations: 79.22 kB / 1.278 GB, free: 0.6641 MB / 0.9669 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-05/1.079, allocations: 83.28 kB / 1.278 GB, free: 0.582 MB / 0.9669 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.0001715/1.08, allocations: 260.3 kB / 1.278 GB, free: 324 kB / 0.9669 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.406e-05/1.08, allocations: 112.9 kB / 1.278 GB, free: 204 kB / 0.9669 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.561e-05/1.08, allocations: 105.7 kB / 1.278 GB, free: 92 kB / 0.9669 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001143/1.08, allocations: 180.2 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001123/1.08, allocations: 188.2 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.752e-05/1.08, allocations: 176.3 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002792/1.08, allocations: 380.2 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.397e-05/1.08, allocations: 105 kB / 1.279 GB, free: 15 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.555e-05/1.08, allocations: 101 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001012/1.081, allocations: 184.2 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.737e-05/1.081, allocations: 180.3 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001001/1.081, allocations: 184.2 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.78e-05/1.081, allocations: 184.2 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/1.081, allocations: 304.1 kB / 1.28 GB, free: 13.83 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.218e-05/1.081, allocations: 112.9 kB / 1.28 GB, free: 13.71 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/1.081, allocations: 184.2 kB / 1.28 GB, free: 13.53 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/1.081, allocations: 109 kB / 1.281 GB, free: 13.41 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.111e-05/1.081, allocations: 176.3 kB / 1.281 GB, free: 13.23 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.627e-05/1.081, allocations: 108.9 kB / 1.281 GB, free: 13.12 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 5.495e-05/1.081, allocations: 83.28 kB / 1.281 GB, free: 13.04 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 8e-08/1.081, allocations: 0 / 1.281 GB, free: 13.04 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0002695/1.082, allocations: 0 / 1.281 GB, free: 13.04 MB / 0.9825 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.0002108/1.082, allocations: 178.5 kB / 1.281 GB, free: 12.85 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 5.301e-05/1.082, allocations: 0 / 1.281 GB, free: 12.85 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.082, allocations: 0 / 1.281 GB, free: 12.85 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 4.278e-06/1.082, allocations: 3.938 kB / 1.281 GB, free: 12.85 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004684/1.082, allocations: 463.7 kB / 1.282 GB, free: 12.39 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002716/1.083, allocations: 152.2 kB / 1.282 GB, free: 12.21 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/1.083, allocations: 0.6767 MB / 1.282 GB, free: 11.51 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 8.066e-06/1.083, allocations: 0 / 1.282 GB, free: 11.51 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.76e-05/1.083, allocations: 7.438 kB / 1.282 GB, free: 11.51 MB / 0.9825 GB
Notification: Performance of SimCode: time 5.21e-07/1.083, allocations: 3.938 kB / 1.282 GB, free: 11.5 MB / 0.9825 GB
Notification: Performance of Templates: time 0.002458/1.086, allocations: 167.3 kB / 1.283 GB, free: 11.34 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.36529438290745]