Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001755/0.001755, allocations: 108.8 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.002239/0.002239, allocations: 186.3 kB / 22.22 MB, free: 5.164 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.558/1.558, allocations: 225.6 MB / 251 MB, free: 13.02 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.975/2.975, allocations: 476.7 MB / 0.7646 GB, free: 9.844 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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002633/0.002633, allocations: 67.89 kB / 1.11 GB, free: 6.285 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.206/1.209, allocations: 168.8 MB / 1.274 GB, free: 4.152 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.00231/1.211, allocations: 0.5459 MB / 1.275 GB, free: 3.609 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 4.331e-05/1.211, allocations: 0 / 1.275 GB, free: 3.609 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.13e-05/1.211, allocations: 0 / 1.275 GB, free: 3.609 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 2.809e-05/1.211, allocations: 0 / 1.275 GB, free: 3.609 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 2.96e-05/1.211, allocations: 0 / 1.275 GB, free: 3.609 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 3.016e-05/1.211, allocations: 0 / 1.275 GB, free: 3.609 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 6.8e-05/1.211, allocations: 8 kB / 1.275 GB, free: 3.602 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 7.581e-05/1.211, allocations: 11.98 kB / 1.275 GB, free: 3.59 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.437e-05/1.211, allocations: 0 / 1.275 GB, free: 3.59 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 1.912e-05/1.211, allocations: 0 / 1.275 GB, free: 3.59 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 1.286e-05/1.211, allocations: 0 / 1.275 GB, free: 3.59 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 4.208e-06/1.211, allocations: 0 / 1.275 GB, free: 3.59 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 1.692e-05/1.211, allocations: 3.984 kB / 1.275 GB, free: 3.586 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 2.896e-05/1.211, allocations: 7.938 kB / 1.275 GB, free: 3.578 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 6.895e-05/1.211, allocations: 0 / 1.275 GB, free: 3.578 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/1.211, allocations: 3.938 kB / 1.275 GB, free: 3.574 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.893e-06/1.211, allocations: 0 / 1.275 GB, free: 3.574 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 6.121e-06/1.211, allocations: 0 / 1.275 GB, free: 3.574 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.0003532/1.212, allocations: 249.1 kB / 1.275 GB, free: 3.301 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/1.212, allocations: 8.031 kB / 1.275 GB, free: 3.293 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.657e-05/1.212, allocations: 4.938 kB / 1.275 GB, free: 3.289 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/1.212, allocations: 102.5 kB / 1.275 GB, free: 3.164 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/1.212, allocations: 384 / 1.275 GB, free: 3.164 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-06/1.212, allocations: 384 / 1.275 GB, free: 3.164 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 9.525e-05/1.212, allocations: 30.27 kB / 1.275 GB, free: 3.129 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/1.212, allocations: 4.172 kB / 1.275 GB, free: 3.125 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/1.212, allocations: 7.938 kB / 1.275 GB, free: 3.117 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/1.212, allocations: 3.938 kB / 1.275 GB, free: 3.113 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.538e-05/1.212, allocations: 0 / 1.275 GB, free: 3.113 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003926/1.213, allocations: 354.5 kB / 1.276 GB, free: 2.723 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/1.213, allocations: 177.1 kB / 1.276 GB, free: 2.539 MB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.462e-05/1.213, allocations: 84.14 kB / 1.276 GB, free: 2.453 MB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 4.221e-05/1.213, allocations: 75.28 kB / 1.276 GB, free: 2.379 MB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.761e-05/1.213, allocations: 105.8 kB / 1.276 GB, free: 2.266 MB / 0.9669 GB
Notification: Performance of pre-optimization done (n=0): time 9.21e-07/1.213, allocations: 0 / 1.276 GB, free: 2.266 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=0): time 7.833e-05/1.213, allocations: 33.62 kB / 1.276 GB, free: 2.227 MB / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.964e-05/1.213, allocations: 126.7 kB / 1.276 GB, free: 2.09 MB / 0.9669 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.77e-05/1.213, allocations: 101.9 kB / 1.276 GB, free: 1.98 MB / 0.9669 GB
Notification: Performance of collectPreVariables (initialization): time 1.612e-05/1.213, allocations: 25.7 kB / 1.276 GB, free: 1.949 MB / 0.9669 GB
Notification: Performance of collectInitialEqns (initialization): time 4.35e-05/1.213, allocations: 80.14 kB / 1.276 GB, free: 1.867 MB / 0.9669 GB
Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/1.213, allocations: 4 kB / 1.276 GB, free: 1.863 MB / 0.9669 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.197e-05/1.213, allocations: 9.719 kB / 1.276 GB, free: 1.848 MB / 0.9669 GB
Notification: Performance of setup shared object (initialization): time 0.0002076/1.213, allocations: 314.8 kB / 1.277 GB, free: 1.531 MB / 0.9669 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.69e-06/1.213, allocations: 0 / 1.277 GB, free: 1.531 MB / 0.9669 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.685e-06/1.213, allocations: 0 / 1.277 GB, free: 1.531 MB / 0.9669 GB
Notification: Performance of analyzeInitialSystem (initialization): time 3.964e-05/1.213, allocations: 79.39 kB / 1.277 GB, free: 1.453 MB / 0.9669 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001119/1.214, allocations: 79.28 kB / 1.277 GB, free: 1.375 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=0) (initialization): time 6.76e-05/1.214, allocations: 41.61 kB / 1.277 GB, free: 1.328 MB / 0.9669 GB
Notification: Performance of prepare postOptimizeDAE: time 4.758e-05/1.214, allocations: 79.28 kB / 1.277 GB, free: 1.25 MB / 0.9669 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.523e-05/1.214, allocations: 87.27 kB / 1.277 GB, free: 1.164 MB / 0.9669 GB
Notification: Performance of postOpt tearingSystem (initialization): time 8.748e-05/1.214, allocations: 154.5 kB / 1.277 GB, free: 1.012 MB / 0.9669 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.796e-05/1.214, allocations: 75.28 kB / 1.277 GB, free: 0.9375 MB / 0.9669 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-05/1.214, allocations: 154.6 kB / 1.277 GB, free: 0.7852 MB / 0.9669 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.343e-05/1.214, allocations: 87.22 kB / 1.278 GB, free: 0.6992 MB / 0.9669 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.06e-05/1.214, allocations: 79.27 kB / 1.278 GB, free: 0.6211 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.0001972/1.214, allocations: 264.3 kB / 1.278 GB, free: 360 kB / 0.9669 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.796e-05/1.214, allocations: 104.9 kB / 1.278 GB, free: 248 kB / 0.9669 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.595e-05/1.214, allocations: 109.7 kB / 1.278 GB, free: 132 kB / 0.9669 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.507e-05/1.214, allocations: 180.3 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.479e-05/1.215, allocations: 184.2 kB / 1.278 GB, free: 15.76 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.071e-05/1.215, allocations: 176.3 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002718/1.215, allocations: 380.2 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-05/1.215, allocations: 105 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.779e-05/1.215, allocations: 105 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.934e-05/1.215, allocations: 184.2 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.02e-05/1.215, allocations: 180.3 kB / 1.279 GB, free: 14.57 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.507e-05/1.215, allocations: 184.2 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.348e-05/1.215, allocations: 180.3 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/1.216, allocations: 308.1 kB / 1.28 GB, free: 13.87 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.435e-05/1.216, allocations: 116.9 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.677e-05/1.216, allocations: 180.2 kB / 1.28 GB, free: 13.57 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/1.216, allocations: 109 kB / 1.281 GB, free: 13.45 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.137e-05/1.216, allocations: 184.2 kB / 1.281 GB, free: 13.27 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.981e-05/1.216, allocations: 105 kB / 1.281 GB, free: 13.16 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 4.569e-05/1.216, allocations: 79.28 kB / 1.281 GB, free: 13.08 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 8.1e-08/1.216, allocations: 0 / 1.281 GB, free: 13.08 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.000281/1.216, allocations: 4 kB / 1.281 GB, free: 13.07 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.0001541/1.216, allocations: 170.5 kB / 1.281 GB, free: 12.89 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 3.991e-05/1.216, allocations: 7.938 kB / 1.281 GB, free: 12.89 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.217, allocations: 96 / 1.281 GB, free: 12.89 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 3.065e-06/1.217, allocations: 7.938 kB / 1.281 GB, free: 12.88 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/1.217, allocations: 460.1 kB / 1.281 GB, free: 12.43 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002584/1.217, allocations: 156.2 kB / 1.282 GB, free: 12.25 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/1.218, allocations: 0.669 MB / 1.282 GB, free: 11.55 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 8.586e-06/1.218, allocations: 0 / 1.282 GB, free: 11.55 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.075e-05/1.218, allocations: 11.44 kB / 1.282 GB, free: 11.54 MB / 0.9825 GB
Notification: Performance of SimCode: time 2.5e-07/1.218, allocations: 0 / 1.282 GB, free: 11.54 MB / 0.9825 GB
Notification: Performance of Templates: time 0.002492/1.22, allocations: 164.9 kB / 1.282 GB, free: 11.38 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.644731793552637]