Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.001763/0.001763, 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.001763/0.001763, allocations: 191.1 kB / 22.11 MB, free: 4.34 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.53/1.53, allocations: 225.6 MB / 250.8 MB, free: 2.906 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 3.193/3.193, allocations: 495.8 MB / 0.7831 GB, free: 12.25 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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant")
translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 72.12 kB / 1.137 GB, free: 12.2 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.392/1.394, allocations: 173.6 MB / 1.307 GB, free: 33.98 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001707/1.396, allocations: 0.5534 MB / 1.307 GB, free: 33.64 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 4.632e-05/1.396, allocations: 3.984 kB / 1.307 GB, free: 33.63 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.112e-05/1.396, allocations: 0 / 1.307 GB, free: 33.63 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 3.266e-05/1.396, allocations: 0 / 1.307 GB, free: 33.63 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 3.035e-05/1.396, allocations: 3.938 kB / 1.307 GB, free: 33.63 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 4.504e-05/1.396, allocations: 2.906 kB / 1.307 GB, free: 33.63 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 6.023e-05/1.396, allocations: 0 / 1.307 GB, free: 33.63 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 6.48e-05/1.396, allocations: 4 kB / 1.307 GB, free: 33.62 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.574e-05/1.396, allocations: 6.812 kB / 1.307 GB, free: 33.62 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 2.063e-05/1.396, allocations: 3.938 kB / 1.307 GB, free: 33.62 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 1.636e-05/1.396, allocations: 0 / 1.307 GB, free: 33.62 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 5.11e-06/1.396, allocations: 0 / 1.307 GB, free: 33.62 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 1.415e-05/1.396, allocations: 0 / 1.307 GB, free: 33.62 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 2.403e-05/1.396, allocations: 3.062 kB / 1.307 GB, free: 33.62 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 6.388e-05/1.397, allocations: 7.641 kB / 1.307 GB, free: 33.61 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/1.397, allocations: 0 / 1.307 GB, free: 33.61 MB / 1.061 GB
Notification: Performance of FrontEnd: time 2.034e-06/1.397, allocations: 0 / 1.307 GB, free: 33.61 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 6.241e-06/1.397, allocations: 0 / 1.307 GB, free: 33.61 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.0002566/1.397, allocations: 243.9 kB / 1.308 GB, free: 33.35 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/1.397, allocations: 15.11 kB / 1.308 GB, free: 33.35 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.001e-05/1.397, allocations: 0.9375 kB / 1.308 GB, free: 33.35 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 8.996e-05/1.397, allocations: 105 kB / 1.308 GB, free: 33.22 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/1.397, allocations: 4.312 kB / 1.308 GB, free: 33.22 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/1.397, allocations: 384 / 1.308 GB, free: 33.22 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/1.397, allocations: 29.08 kB / 1.308 GB, free: 33.19 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/1.397, allocations: 4.125 kB / 1.308 GB, free: 33.18 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/1.397, allocations: 7.938 kB / 1.308 GB, free: 33.18 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/1.397, allocations: 0 / 1.308 GB, free: 33.18 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.835e-05/1.397, allocations: 2.969 kB / 1.308 GB, free: 33.18 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002801/1.397, allocations: 348.6 kB / 1.308 GB, free: 32.8 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 5.748e-05/1.397, allocations: 169.1 kB / 1.308 GB, free: 32.62 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.385e-05/1.397, allocations: 92.08 kB / 1.308 GB, free: 32.53 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/1.397, allocations: 78.31 kB / 1.308 GB, free: 32.45 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/1.398, allocations: 105.8 kB / 1.308 GB, free: 32.34 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=0): time 8.92e-07/1.398, allocations: 0 / 1.308 GB, free: 32.34 MB / 1.061 GB
Notification: Performance of matching and sorting (n=0): time 6.822e-05/1.398, allocations: 28.89 kB / 1.309 GB, free: 32.31 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/1.398, allocations: 126.7 kB / 1.309 GB, free: 32.17 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.042e-05/1.398, allocations: 103.4 kB / 1.309 GB, free: 32.07 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 6.392e-06/1.398, allocations: 25.7 kB / 1.309 GB, free: 32.04 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 1.456e-05/1.398, allocations: 80.14 kB / 1.309 GB, free: 31.95 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 1.743e-06/1.398, allocations: 0 / 1.309 GB, free: 31.95 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 1.709e-05/1.398, allocations: 12.56 kB / 1.309 GB, free: 31.94 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 4.759e-05/1.398, allocations: 314 kB / 1.309 GB, free: 31.62 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.971e-06/1.398, allocations: 3.938 kB / 1.309 GB, free: 31.62 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.695e-06/1.398, allocations: 0 / 1.309 GB, free: 31.62 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 1.251e-05/1.398, allocations: 75.41 kB / 1.309 GB, free: 31.55 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/1.398, allocations: 79.28 kB / 1.309 GB, free: 31.47 MB / 1.061 GB
Notification: Performance of matching and sorting (n=0) (initialization): time 5.03e-05/1.398, allocations: 36.61 kB / 1.309 GB, free: 31.43 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/1.398, allocations: 81.22 kB / 1.309 GB, free: 31.36 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/1.398, allocations: 83.22 kB / 1.309 GB, free: 31.27 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 3.806e-05/1.398, allocations: 160.6 kB / 1.31 GB, free: 31.12 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.222e-05/1.398, allocations: 75.28 kB / 1.31 GB, free: 31.05 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.336e-05/1.398, allocations: 158.5 kB / 1.31 GB, free: 30.89 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.271e-05/1.398, allocations: 78.22 kB / 1.31 GB, free: 30.82 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/1.398, allocations: 79.22 kB / 1.31 GB, free: 30.74 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 6.783e-05/1.398, allocations: 264.3 kB / 1.31 GB, free: 30.47 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.267e-05/1.398, allocations: 115.5 kB / 1.31 GB, free: 30.36 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.364e-05/1.398, allocations: 108.1 kB / 1.31 GB, free: 30.24 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-05/1.398, allocations: 191 kB / 1.311 GB, free: 30.05 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-05/1.398, allocations: 176.3 kB / 1.311 GB, free: 29.87 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.61e-05/1.398, allocations: 180.2 kB / 1.311 GB, free: 29.69 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/1.398, allocations: 379.4 kB / 1.311 GB, free: 29.27 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-05/1.398, allocations: 101 kB / 1.311 GB, free: 29.17 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.979e-05/1.399, allocations: 115.2 kB / 1.312 GB, free: 29.05 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.561e-05/1.399, allocations: 176.3 kB / 1.312 GB, free: 28.88 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.596e-05/1.399, allocations: 184.2 kB / 1.312 GB, free: 28.69 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.856e-05/1.399, allocations: 179 kB / 1.312 GB, free: 28.51 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.022e-05/1.399, allocations: 183.5 kB / 1.312 GB, free: 28.32 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 9.563e-05/1.399, allocations: 307 kB / 1.313 GB, free: 28 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.867e-05/1.399, allocations: 120 kB / 1.313 GB, free: 27.88 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.495e-05/1.399, allocations: 179.5 kB / 1.313 GB, free: 27.7 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.01e-05/1.399, allocations: 107.9 kB / 1.313 GB, free: 27.59 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/1.399, allocations: 180.2 kB / 1.313 GB, free: 27.41 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/1.399, allocations: 105 kB / 1.313 GB, free: 27.3 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 2.578e-05/1.399, allocations: 81.41 kB / 1.313 GB, free: 27.23 MB / 1.061 GB
Notification: Performance of sort global known variables: time 6e-08/1.399, allocations: 0 / 1.313 GB, free: 27.23 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.0002506/1.399, allocations: 0 / 1.313 GB, free: 27.23 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.0001001/1.399, allocations: 175.8 kB / 1.313 GB, free: 27.06 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 5.709e-05/1.399, allocations: 3.938 kB / 1.313 GB, free: 27.05 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 2.906e-06/1.399, allocations: 4.094 kB / 1.313 GB, free: 27.05 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 1.112e-06/1.399, allocations: 0 / 1.313 GB, free: 27.05 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/1.4, allocations: 458.4 kB / 1.314 GB, free: 26.6 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002334/1.4, allocations: 153.3 kB / 1.314 GB, free: 26.43 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001676/1.4, allocations: 0.669 MB / 1.315 GB, free: 25.74 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 1.048e-05/1.4, allocations: 0 / 1.315 GB, free: 25.74 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.089e-05/1.4, allocations: 14.03 kB / 1.315 GB, free: 25.73 MB / 1.061 GB
Notification: Performance of SimCode: time 6.71e-07/1.4, allocations: 0 / 1.315 GB, free: 25.73 MB / 1.061 GB
Notification: Performance of Templates: time 0.002603/1.403, allocations: 168.2 kB / 1.315 GB, free: 25.67 MB / 1.061 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.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: 10.50774541683495]