Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.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.001706/0.001706, allocations: 113.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.001997/0.001997, allocations: 191.2 kB / 22.23 MB, free: 5.102 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.525/1.525, 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.873/2.873, allocations: 476.7 MB / 0.7646 GB, free: 9.871 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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant")
translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 67.89 kB / 1.11 GB, free: 6.305 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.988/0.9901, allocations: 168.8 MB / 1.274 GB, free: 4.195 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002191/0.9923, allocations: 0.546 MB / 1.275 GB, free: 3.652 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 4.935e-05/0.9923, allocations: 3.984 kB / 1.275 GB, free: 3.648 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.085e-05/0.9923, allocations: 0 / 1.275 GB, free: 3.648 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 3.232e-05/0.9924, allocations: 3.938 kB / 1.275 GB, free: 3.645 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 2.992e-05/0.9924, allocations: 0 / 1.275 GB, free: 3.645 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 3.902e-05/0.9924, allocations: 0 / 1.275 GB, free: 3.645 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 6.506e-05/0.9925, allocations: 8 kB / 1.275 GB, free: 3.637 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 6.919e-05/0.9926, allocations: 8 kB / 1.275 GB, free: 3.629 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.364e-05/0.9926, allocations: 3.938 kB / 1.275 GB, free: 3.625 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 2.218e-05/0.9926, allocations: 0 / 1.275 GB, free: 3.625 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.9926, allocations: 0 / 1.275 GB, free: 3.625 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 3.587e-06/0.9926, allocations: 4 kB / 1.275 GB, free: 3.621 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.9926, allocations: 3.984 kB / 1.275 GB, free: 3.617 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 2.167e-05/0.9927, allocations: 0 / 1.275 GB, free: 3.617 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 6.628e-05/0.9927, allocations: 0 / 1.275 GB, free: 3.617 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.9927, allocations: 0 / 1.275 GB, free: 3.617 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 2.184e-06/0.9927, allocations: 0 / 1.275 GB, free: 3.617 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 7.084e-06/0.9927, allocations: 3.938 kB / 1.275 GB, free: 3.613 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.0003641/0.9931, allocations: 250.1 kB / 1.275 GB, free: 3.34 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 6.255e-05/0.9932, allocations: 12.03 kB / 1.275 GB, free: 3.328 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.888e-05/0.9932, allocations: 0.9375 kB / 1.275 GB, free: 3.328 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.9933, allocations: 102.5 kB / 1.275 GB, free: 3.203 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.9933, allocations: 4.359 kB / 1.275 GB, free: 3.199 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.9934, allocations: 384 / 1.275 GB, free: 3.199 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 9.341e-05/0.9934, allocations: 38.19 kB / 1.275 GB, free: 3.156 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.9935, allocations: 192 / 1.275 GB, free: 3.156 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.9935, allocations: 11.88 kB / 1.275 GB, free: 3.145 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.9935, allocations: 0 / 1.275 GB, free: 3.145 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.928e-05/0.9935, allocations: 8 kB / 1.275 GB, free: 3.137 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003602/0.9938, allocations: 338.6 kB / 1.276 GB, free: 2.762 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.9939, allocations: 185 kB / 1.276 GB, free: 2.57 MB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.045e-05/0.994, allocations: 84.14 kB / 1.276 GB, free: 2.484 MB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.562e-05/0.994, allocations: 75.28 kB / 1.276 GB, free: 2.41 MB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.666e-05/0.9941, allocations: 105.8 kB / 1.276 GB, free: 2.297 MB / 0.9669 GB
Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.9941, allocations: 0 / 1.276 GB, free: 2.297 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=0): time 7.082e-05/0.9942, allocations: 25.7 kB / 1.276 GB, free: 2.266 MB / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.831e-05/0.9942, allocations: 130.7 kB / 1.276 GB, free: 2.125 MB / 0.9669 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.9943, allocations: 101.8 kB / 1.276 GB, free: 2.016 MB / 0.9669 GB
Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.9944, allocations: 29.7 kB / 1.276 GB, free: 1.98 MB / 0.9669 GB
Notification: Performance of collectInitialEqns (initialization): time 4.114e-05/0.9944, allocations: 80.14 kB / 1.276 GB, free: 1.898 MB / 0.9669 GB
Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.9944, allocations: 0 / 1.276 GB, free: 1.898 MB / 0.9669 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.338e-05/0.9944, allocations: 13.7 kB / 1.276 GB, free: 1.879 MB / 0.9669 GB
Notification: Performance of setup shared object (initialization): time 0.0001366/0.9946, allocations: 310.8 kB / 1.277 GB, free: 1.566 MB / 0.9669 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.851e-06/0.9946, allocations: 0 / 1.277 GB, free: 1.566 MB / 0.9669 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.427e-06/0.9946, allocations: 0 / 1.277 GB, free: 1.566 MB / 0.9669 GB
Notification: Performance of analyzeInitialSystem (initialization): time 3.483e-05/0.9946, allocations: 79.41 kB / 1.277 GB, free: 1.488 MB / 0.9669 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-05/0.9946, allocations: 79.28 kB / 1.277 GB, free: 1.41 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=0) (initialization): time 6.313e-05/0.9947, allocations: 37.67 kB / 1.277 GB, free: 1.367 MB / 0.9669 GB
Notification: Performance of prepare postOptimizeDAE: time 5.684e-05/0.9948, allocations: 83.28 kB / 1.277 GB, free: 1.285 MB / 0.9669 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.022e-05/0.9948, allocations: 79.22 kB / 1.277 GB, free: 1.207 MB / 0.9669 GB
Notification: Performance of postOpt tearingSystem (initialization): time 8.43e-05/0.9949, allocations: 150.6 kB / 1.277 GB, free: 1.059 MB / 0.9669 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.985e-05/0.9949, allocations: 83.2 kB / 1.277 GB, free: 0.9766 MB / 0.9669 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.256e-05/0.995, allocations: 158.6 kB / 1.277 GB, free: 0.8203 MB / 0.9669 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.057e-05/0.9951, allocations: 79.22 kB / 1.278 GB, free: 0.7422 MB / 0.9669 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/0.9951, allocations: 79.22 kB / 1.278 GB, free: 0.6641 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.000152/0.9953, allocations: 264.3 kB / 1.278 GB, free: 404 kB / 0.9669 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.017e-05/0.9953, allocations: 105 kB / 1.278 GB, free: 292 kB / 0.9669 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.041e-05/0.9954, allocations: 113.7 kB / 1.278 GB, free: 172 kB / 0.9669 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000104/0.9955, allocations: 180.3 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-05/0.9956, allocations: 176.3 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.934e-05/0.9957, allocations: 184.2 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.9959, allocations: 376.2 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-05/0.996, allocations: 108.9 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.518e-05/0.996, allocations: 109 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.032e-05/0.9961, allocations: 176.3 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/0.9962, allocations: 188.2 kB / 1.28 GB, free: 14.6 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.899e-05/0.9963, allocations: 180.2 kB / 1.28 GB, free: 14.42 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.206e-05/0.9964, allocations: 184.2 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.9965, allocations: 312.1 kB / 1.28 GB, free: 13.9 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.582e-05/0.9966, allocations: 112.9 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.669e-05/0.9967, allocations: 176.3 kB / 1.28 GB, free: 13.61 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.018e-05/0.9968, allocations: 113 kB / 1.281 GB, free: 13.49 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.818e-05/0.9969, allocations: 176.3 kB / 1.281 GB, free: 13.31 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.382e-05/0.9969, allocations: 105 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 4.766e-05/0.997, allocations: 87.22 kB / 1.281 GB, free: 13.11 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 7e-08/0.997, allocations: 0 / 1.281 GB, free: 13.11 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0002781/0.9972, allocations: 0 / 1.281 GB, free: 13.11 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.0001596/0.9974, allocations: 174.5 kB / 1.281 GB, free: 12.93 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 5.072e-05/0.9974, allocations: 0 / 1.281 GB, free: 12.93 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.9974, allocations: 96 / 1.281 GB, free: 12.93 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.9975, allocations: 4 kB / 1.281 GB, free: 12.93 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.9979, allocations: 461.3 kB / 1.281 GB, free: 12.47 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002461/0.9981, allocations: 152.2 kB / 1.282 GB, free: 12.3 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.9984, allocations: 0.6729 MB / 1.282 GB, free: 11.6 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 7.865e-06/0.9984, allocations: 3.938 kB / 1.282 GB, free: 11.59 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.801e-05/0.9984, allocations: 11.44 kB / 1.282 GB, free: 11.58 MB / 0.9825 GB
Notification: Performance of SimCode: time 3.1e-07/0.9984, allocations: 0 / 1.282 GB, free: 11.58 MB / 0.9825 GB
Notification: Performance of Templates: time 0.002501/1.001, allocations: 164.9 kB / 1.282 GB, free: 11.42 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.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.358484230004251]