Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001777/0.001777, 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.001999/0.001999, allocations: 191.8 kB / 22.1 MB, free: 4.227 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.617/1.617, allocations: 225.6 MB / 250.8 MB, free: 2.883 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.975/2.975, allocations: 495.8 MB / 0.783 GB, free: 12.28 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.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 75.89 kB / 1.137 GB, free: 12.15 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.122/1.124, allocations: 173.6 MB / 1.307 GB, free: 33.75 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001686/1.126, allocations: 0.5924 MB / 1.307 GB, free: 33.38 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 4.216e-05/1.126, allocations: 0 / 1.307 GB, free: 33.38 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.188e-05/1.126, allocations: 2.969 kB / 1.307 GB, free: 33.38 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 3.325e-05/1.126, allocations: 7.875 kB / 1.307 GB, free: 33.37 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 2.697e-05/1.126, allocations: 0 / 1.307 GB, free: 33.37 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 3.578e-05/1.126, allocations: 0 / 1.307 GB, free: 33.37 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 6.192e-05/1.126, allocations: 3.984 kB / 1.307 GB, free: 33.37 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 6.163e-05/1.126, allocations: 2.906 kB / 1.307 GB, free: 33.37 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.502e-05/1.126, allocations: 7.938 kB / 1.307 GB, free: 33.36 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 2.22e-05/1.126, allocations: 7.375 kB / 1.307 GB, free: 33.36 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 1.719e-05/1.126, allocations: 0 / 1.307 GB, free: 33.36 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 4.989e-06/1.126, allocations: 2.562 kB / 1.307 GB, free: 33.36 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 1.281e-05/1.126, allocations: 0 / 1.307 GB, free: 33.36 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 1.923e-05/1.126, allocations: 0 / 1.307 GB, free: 33.36 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 6.375e-05/1.126, allocations: 0 / 1.307 GB, free: 33.36 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.126, allocations: 2.531 kB / 1.307 GB, free: 33.36 MB / 1.061 GB
Notification: Performance of FrontEnd: time 1.653e-06/1.126, allocations: 0 / 1.307 GB, free: 33.36 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 5.41e-06/1.126, allocations: 0 / 1.307 GB, free: 33.36 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: 1
 * Number of variables: 1
Notification: Performance of Generate backend data structure: time 0.00028/1.126, allocations: 243 kB / 1.308 GB, free: 33.09 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/1.126, allocations: 10.47 kB / 1.308 GB, free: 33.09 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.705e-05/1.126, allocations: 8.875 kB / 1.308 GB, free: 33.09 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 7.673e-05/1.126, allocations: 105.1 kB / 1.308 GB, free: 32.96 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/1.126, allocations: 384 / 1.308 GB, free: 32.96 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/1.126, allocations: 4.312 kB / 1.308 GB, free: 32.96 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 8.371e-05/1.127, allocations: 28.92 kB / 1.308 GB, free: 32.93 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/1.127, allocations: 192 / 1.308 GB, free: 32.93 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/1.127, allocations: 3.938 kB / 1.308 GB, free: 32.92 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/1.127, allocations: 3.328 kB / 1.308 GB, free: 32.92 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.678e-05/1.127, allocations: 10.83 kB / 1.308 GB, free: 32.91 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002402/1.127, allocations: 348.4 kB / 1.308 GB, free: 32.54 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 5.214e-05/1.127, allocations: 173 kB / 1.308 GB, free: 32.36 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.309e-05/1.127, allocations: 83.14 kB / 1.308 GB, free: 32.27 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/1.127, allocations: 83.28 kB / 1.308 GB, free: 32.19 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/1.127, allocations: 105.8 kB / 1.309 GB, free: 32.08 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=0): time 8.62e-07/1.127, allocations: 0 / 1.309 GB, free: 32.08 MB / 1.061 GB
Notification: Performance of matching and sorting (n=0): time 6.206e-05/1.127, allocations: 28.23 kB / 1.309 GB, free: 32.05 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/1.127, allocations: 130.6 kB / 1.309 GB, free: 31.91 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.801e-05/1.127, allocations: 96.39 kB / 1.309 GB, free: 31.81 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 5.25e-06/1.127, allocations: 25.83 kB / 1.309 GB, free: 31.78 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 1.644e-05/1.127, allocations: 88.14 kB / 1.309 GB, free: 31.69 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 1.513e-06/1.127, allocations: 0 / 1.309 GB, free: 31.69 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 1.709e-05/1.127, allocations: 12.41 kB / 1.309 GB, free: 31.67 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 3.821e-05/1.127, allocations: 310.8 kB / 1.309 GB, free: 31.36 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.498e-06/1.127, allocations: 0 / 1.309 GB, free: 31.36 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.936e-06/1.127, allocations: 0 / 1.309 GB, free: 31.36 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 1.251e-05/1.127, allocations: 79.22 kB / 1.309 GB, free: 31.28 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/1.127, allocations: 78.16 kB / 1.309 GB, free: 31.21 MB / 1.061 GB
Notification: Performance of matching and sorting (n=0) (initialization): time 4.514e-05/1.127, allocations: 37.67 kB / 1.309 GB, free: 31.16 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/1.127, allocations: 84.27 kB / 1.309 GB, free: 31.09 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/1.127, allocations: 85.69 kB / 1.31 GB, free: 31.01 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 3.086e-05/1.127, allocations: 150.6 kB / 1.31 GB, free: 30.86 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.09e-05/1.127, allocations: 83.22 kB / 1.31 GB, free: 30.78 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.223e-05/1.127, allocations: 153.5 kB / 1.31 GB, free: 30.63 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.414e-05/1.127, allocations: 79.28 kB / 1.31 GB, free: 30.55 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/1.127, allocations: 79.22 kB / 1.31 GB, free: 30.47 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: 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 5.483e-05/1.127, allocations: 270.1 kB / 1.31 GB, free: 30.2 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/1.128, allocations: 104.9 kB / 1.31 GB, free: 30.09 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.314e-05/1.128, allocations: 114.5 kB / 1.311 GB, free: 29.98 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-05/1.128, allocations: 180.3 kB / 1.311 GB, free: 29.79 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.617e-05/1.128, allocations: 182.3 kB / 1.311 GB, free: 29.61 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.363e-05/1.128, allocations: 180.2 kB / 1.311 GB, free: 29.43 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/1.128, allocations: 379.4 kB / 1.311 GB, free: 29.02 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/1.128, allocations: 104.9 kB / 1.312 GB, free: 28.91 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.622e-05/1.128, allocations: 101 kB / 1.312 GB, free: 28.8 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-05/1.128, allocations: 183.4 kB / 1.312 GB, free: 28.62 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.877e-05/1.128, allocations: 184.2 kB / 1.312 GB, free: 28.43 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.437e-05/1.128, allocations: 179.6 kB / 1.312 GB, free: 28.25 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.178e-05/1.128, allocations: 182.7 kB / 1.312 GB, free: 28.07 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 6.269e-05/1.128, allocations: 314.2 kB / 1.313 GB, free: 27.74 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.205e-05/1.128, allocations: 111.5 kB / 1.313 GB, free: 27.63 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/1.128, allocations: 180.3 kB / 1.313 GB, free: 27.45 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.32e-05/1.128, allocations: 111.5 kB / 1.313 GB, free: 27.33 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.952e-05/1.128, allocations: 179.7 kB / 1.313 GB, free: 27.15 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/1.128, allocations: 107.6 kB / 1.313 GB, free: 27.04 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 1.833e-05/1.128, allocations: 79.28 kB / 1.313 GB, free: 26.96 MB / 1.061 GB
Notification: Performance of sort global known variables: time 6.1e-08/1.128, allocations: 0 / 1.313 GB, free: 26.96 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.0002636/1.128, allocations: 2.438 kB / 1.313 GB, free: 26.96 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: 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.0001217/1.128, allocations: 167.7 kB / 1.314 GB, free: 26.8 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 4.462e-05/1.129, allocations: 6.531 kB / 1.314 GB, free: 26.8 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.129, allocations: 0 / 1.314 GB, free: 26.8 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 1.182e-06/1.129, allocations: 0 / 1.314 GB, free: 26.8 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/1.129, allocations: 466 kB / 1.314 GB, free: 26.34 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001877/1.129, allocations: 150 kB / 1.314 GB, free: 26.18 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 9.359e-05/1.129, allocations: 0.669 MB / 1.315 GB, free: 25.48 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 7.173e-06/1.129, allocations: 0 / 1.315 GB, free: 25.48 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.436e-05/1.129, allocations: 7.438 kB / 1.315 GB, free: 25.48 MB / 1.061 GB
Notification: Performance of SimCode: time 3.81e-07/1.129, allocations: 6.5 kB / 1.315 GB, free: 25.47 MB / 1.061 GB
Notification: Performance of Templates: time 0.002264/1.131, allocations: 176.1 kB / 1.315 GB, free: 25.41 MB / 1.061 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.864042860455811]