Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002021/0.002021, allocations: 110 kB / 18.94 MB, free: 2.953 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.002064/0.002064, allocations: 187.4 kB / 22.23 MB, free: 5.137 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.531/1.531, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.406/3.406, allocations: 0.4893 GB / 0.7884 GB, free: 33.21 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-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 63.36 kB / 1.145 GB, free: 30.79 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.5073/0.5093, allocations: 174.9 MB / 1.316 GB, free: 9.715 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002527/0.5119, allocations: 0.5439 MB / 1.317 GB, free: 9.172 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 5.75e-05/0.5119, allocations: 4 kB / 1.317 GB, free: 9.168 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.145e-05/0.512, allocations: 0 / 1.317 GB, free: 9.168 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 3.43e-05/0.512, allocations: 0 / 1.317 GB, free: 9.168 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 3.815e-05/0.512, allocations: 0 / 1.317 GB, free: 9.168 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 4.534e-05/0.5121, allocations: 4 kB / 1.317 GB, free: 9.164 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 8.931e-05/0.5122, allocations: 7.875 kB / 1.317 GB, free: 9.156 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 7.94e-05/0.5123, allocations: 4 kB / 1.317 GB, free: 9.152 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.979e-05/0.5123, allocations: 3.984 kB / 1.317 GB, free: 9.148 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 2.511e-05/0.5123, allocations: 0 / 1.317 GB, free: 9.148 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.5123, allocations: 0 / 1.317 GB, free: 9.148 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 7.073e-06/0.5123, allocations: 4 kB / 1.317 GB, free: 9.145 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 2.06e-05/0.5123, allocations: 0 / 1.317 GB, free: 9.145 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 3.071e-05/0.5124, allocations: 0 / 1.317 GB, free: 9.145 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 9.919e-05/0.5125, allocations: 11.92 kB / 1.317 GB, free: 9.133 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 1.154e-05/0.5125, allocations: 4 kB / 1.317 GB, free: 9.129 MB / 1.014 GB
Notification: Performance of FrontEnd: time 3.887e-06/0.5125, allocations: 0 / 1.317 GB, free: 9.129 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.037e-05/0.5125, allocations: 0 / 1.317 GB, free: 9.129 MB / 1.014 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.000495/0.513, allocations: 234.4 kB / 1.317 GB, free: 8.867 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.5131, allocations: 8.031 kB / 1.317 GB, free: 8.859 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.5131, allocations: 4.875 kB / 1.317 GB, free: 8.855 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.5134, allocations: 110.5 kB / 1.317 GB, free: 8.723 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.5134, allocations: 384 / 1.317 GB, free: 8.723 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.5134, allocations: 4.359 kB / 1.317 GB, free: 8.719 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.5135, allocations: 30.27 kB / 1.317 GB, free: 8.684 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.5135, allocations: 192 / 1.317 GB, free: 8.684 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.5136, allocations: 15.86 kB / 1.317 GB, free: 8.668 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.5136, allocations: 0 / 1.317 GB, free: 8.668 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.85e-05/0.5136, allocations: 0 / 1.317 GB, free: 8.668 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005859/0.5142, allocations: 354.6 kB / 1.317 GB, free: 8.277 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/0.5144, allocations: 169.5 kB / 1.317 GB, free: 8.102 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 6.206e-05/0.5145, allocations: 84.08 kB / 1.318 GB, free: 8.016 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 4.776e-05/0.5145, allocations: 75.28 kB / 1.318 GB, free: 7.941 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002035/0.5147, allocations: 113.9 kB / 1.318 GB, free: 7.82 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.5147, allocations: 0 / 1.318 GB, free: 7.82 MB / 1.014 GB
Notification: Performance of matching and sorting (n=0): time 0.0001003/0.5148, allocations: 29.7 kB / 1.318 GB, free: 7.785 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.56e-05/0.5149, allocations: 126.7 kB / 1.318 GB, free: 7.648 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.5151, allocations: 101.8 kB / 1.318 GB, free: 7.539 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.5151, allocations: 25.7 kB / 1.318 GB, free: 7.508 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 6.282e-05/0.5151, allocations: 80.14 kB / 1.318 GB, free: 7.426 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.126e-06/0.5151, allocations: 0 / 1.318 GB, free: 7.426 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.683e-05/0.5152, allocations: 17.84 kB / 1.318 GB, free: 7.402 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.000186/0.5154, allocations: 310.8 kB / 1.318 GB, free: 7.09 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.961e-06/0.5154, allocations: 0 / 1.318 GB, free: 7.09 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.588e-06/0.5154, allocations: 3.938 kB / 1.318 GB, free: 7.086 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 5.12e-05/0.5154, allocations: 79.28 kB / 1.318 GB, free: 7.008 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.136e-05/0.5155, allocations: 75.28 kB / 1.319 GB, free: 6.934 MB / 1.014 GB
Notification: Performance of matching and sorting (n=0) (initialization): time 7.587e-05/0.5155, allocations: 33.64 kB / 1.319 GB, free: 6.895 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 5.773e-05/0.5156, allocations: 79.28 kB / 1.319 GB, free: 6.816 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-05/0.5156, allocations: 83.28 kB / 1.319 GB, free: 6.734 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001228/0.5158, allocations: 166.4 kB / 1.319 GB, free: 6.57 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.551e-05/0.5158, allocations: 75.28 kB / 1.319 GB, free: 6.496 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.395e-05/0.5159, allocations: 154.5 kB / 1.319 GB, free: 6.344 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.857e-05/0.516, allocations: 75.28 kB / 1.319 GB, free: 6.27 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.815e-05/0.5161, allocations: 75.28 kB / 1.319 GB, free: 6.195 MB / 1.014 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.0002096/0.5163, allocations: 276.8 kB / 1.32 GB, free: 5.914 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.753e-05/0.5164, allocations: 104.9 kB / 1.32 GB, free: 5.805 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.819e-05/0.5165, allocations: 108.1 kB / 1.32 GB, free: 5.688 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001204/0.5166, allocations: 184.2 kB / 1.32 GB, free: 5.5 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001294/0.5167, allocations: 176.3 kB / 1.32 GB, free: 5.32 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001093/0.5168, allocations: 188.2 kB / 1.32 GB, free: 5.129 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/0.5171, allocations: 376.2 kB / 1.321 GB, free: 4.711 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.155e-05/0.5172, allocations: 108.9 kB / 1.321 GB, free: 4.598 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.484e-05/0.5173, allocations: 104.9 kB / 1.321 GB, free: 4.488 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 9.335e-05/0.5174, allocations: 180.3 kB / 1.321 GB, free: 4.305 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000151/0.5175, allocations: 192.2 kB / 1.321 GB, free: 4.109 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001315/0.5177, allocations: 176.6 kB / 1.321 GB, free: 3.93 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001598/0.5178, allocations: 176.3 kB / 1.322 GB, free: 3.75 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003871/0.5182, allocations: 311.7 kB / 1.322 GB, free: 3.422 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.74e-05/0.5183, allocations: 112.9 kB / 1.322 GB, free: 3.305 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002463/0.5185, allocations: 180.3 kB / 1.322 GB, free: 3.121 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.5187, allocations: 101 kB / 1.322 GB, free: 3.016 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.5188, allocations: 180.2 kB / 1.322 GB, free: 2.832 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.374e-05/0.5189, allocations: 109 kB / 1.322 GB, free: 2.719 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 5.223e-05/0.519, allocations: 79.27 kB / 1.323 GB, free: 2.641 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.519, allocations: 0 / 1.323 GB, free: 2.641 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0003221/0.5193, allocations: 4.094 kB / 1.323 GB, free: 2.637 MB / 1.014 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.0002547/0.5195, allocations: 170.5 kB / 1.323 GB, free: 2.457 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 5.533e-05/0.5196, allocations: 3.938 kB / 1.323 GB, free: 2.453 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5196, allocations: 0 / 1.323 GB, free: 2.453 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.5196, allocations: 0 / 1.323 GB, free: 2.453 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005302/0.5201, allocations: 464.9 kB / 1.323 GB, free: 1.996 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002712/0.5204, allocations: 160.2 kB / 1.323 GB, free: 1.812 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.5207, allocations: 0.6768 MB / 1.324 GB, free: 1.109 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 1.005e-05/0.5207, allocations: 0 / 1.324 GB, free: 1.109 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.961e-05/0.5208, allocations: 11.38 kB / 1.324 GB, free: 1.098 MB / 1.014 GB
Notification: Performance of SimCode: time 3.2e-07/0.5208, allocations: 0 / 1.324 GB, free: 1.098 MB / 1.014 GB
Notification: Performance of Templates: time 0.002524/0.5233, allocations: 168.7 kB / 1.324 GB, free: 0.9336 MB / 1.014 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.927890149876475]