Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.00169/0.00169, allocations: 113.9 kB / 18.84 MB, free: 2.73 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.002142/0.002142, allocations: 189.5 kB / 22.11 MB, free: 4.762 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.58/1.58, allocations: 225.6 MB / 250.8 MB, free: 13.05 MB / 206.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.274/3.274, allocations: 495.8 MB / 0.783 GB, free: 33.67 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.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal")
translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 62.81 kB / 1.137 GB, free: 33.77 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.485/0.4872, allocations: 173.6 MB / 1.307 GB, free: 1.832 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002334/0.4895, allocations: 0.8781 MB / 1.308 GB, free: 0.9531 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001983/0.4915, allocations: 1.303 MB / 1.309 GB, free: 15.64 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 8.115e-05/0.4916, allocations: 7.938 kB / 1.309 GB, free: 15.63 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.4917, allocations: 11.81 kB / 1.309 GB, free: 15.62 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 9.195e-05/0.4918, allocations: 39.7 kB / 1.309 GB, free: 15.58 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000836/0.4926, allocations: 265.8 kB / 1.309 GB, free: 15.32 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0004786/0.4931, allocations: 327.4 kB / 1.309 GB, free: 15 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.4933, allocations: 37.62 kB / 1.31 GB, free: 14.96 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.4934, allocations: 147.6 kB / 1.31 GB, free: 14.82 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.4937, allocations: 103.6 kB / 1.31 GB, free: 14.71 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 6.789e-05/0.4937, allocations: 32 kB / 1.31 GB, free: 14.68 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.4939, allocations: 51.98 kB / 1.31 GB, free: 14.63 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 8.941e-05/0.4939, allocations: 39.84 kB / 1.31 GB, free: 14.59 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.4941, allocations: 131.4 kB / 1.31 GB, free: 14.46 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004793/0.4946, allocations: 346.8 kB / 1.31 GB, free: 14.12 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.4946, allocations: 0 / 1.31 GB, free: 14.12 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.573e-06/0.4946, allocations: 4 kB / 1.31 GB, free: 14.12 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 6.994e-06/0.4946, allocations: 0 / 1.31 GB, free: 14.12 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: 26
 * Number of variables: 26
Notification: Performance of Generate backend data structure: time 0.000855/0.4955, allocations: 484.6 kB / 1.311 GB, free: 13.6 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.4955, allocations: 12.03 kB / 1.311 GB, free: 13.59 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.586e-05/0.4956, allocations: 24.8 kB / 1.311 GB, free: 13.57 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006963/0.4963, allocations: 238 kB / 1.311 GB, free: 13.31 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.4963, allocations: 20.36 kB / 1.311 GB, free: 13.29 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.483e-05/0.4964, allocations: 24.36 kB / 1.311 GB, free: 13.27 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002928/0.4967, allocations: 151.2 kB / 1.311 GB, free: 13.1 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.4967, allocations: 3.938 kB / 1.311 GB, free: 13.1 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.4967, allocations: 4 kB / 1.311 GB, free: 13.09 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.4967, allocations: 4 kB / 1.311 GB, free: 13.09 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.4968, allocations: 67.89 kB / 1.311 GB, free: 13.02 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009608/0.4978, allocations: 0.7264 MB / 1.312 GB, free: 12.24 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.4979, allocations: 61.17 kB / 1.312 GB, free: 12.16 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.363e-05/0.498, allocations: 25.78 kB / 1.312 GB, free: 12.13 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.498, allocations: 0 / 1.312 GB, free: 12.13 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001958/0.4982, allocations: 97.02 kB / 1.312 GB, free: 12.02 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.4982, allocations: 0 / 1.312 GB, free: 12.02 MB / 1.014 GB
Notification: Performance of matching and sorting (n=8): time 0.0003432/0.4985, allocations: 133.5 kB / 1.312 GB, free: 11.88 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.66e-05/0.4986, allocations: 81.11 kB / 1.312 GB, free: 11.79 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.4988, allocations: 211.7 kB / 1.313 GB, free: 11.57 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 4.572e-05/0.4989, allocations: 33.7 kB / 1.313 GB, free: 11.53 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.499, allocations: 148.2 kB / 1.313 GB, free: 11.38 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.499, allocations: 19.83 kB / 1.313 GB, free: 11.36 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.4992, allocations: 65.67 kB / 1.313 GB, free: 11.29 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001743/0.4994, allocations: 326.8 kB / 1.313 GB, free: 10.96 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.4995, allocations: 67.97 kB / 1.313 GB, free: 10.89 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.4997, allocations: 128.5 kB / 1.313 GB, free: 10.74 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002895/0.5, allocations: 202.1 kB / 1.314 GB, free: 10.5 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5, allocations: 7.875 kB / 1.314 GB, free: 10.5 MB / 1.014 GB
Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005649/0.5006, allocations: 296.9 kB / 1.314 GB, free: 10.19 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 8.029e-05/0.5007, allocations: 71.39 kB / 1.314 GB, free: 10.11 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.5007, allocations: 4 kB / 1.314 GB, free: 10.1 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-05/0.5007, allocations: 4 kB / 1.314 GB, free: 10.1 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.054e-05/0.5008, allocations: 4 kB / 1.314 GB, free: 10.09 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.5008, allocations: 7.938 kB / 1.314 GB, free: 10.09 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004351/0.5012, allocations: 67.88 kB / 1.314 GB, free: 10.02 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.676e-05/0.5013, allocations: 19.98 kB / 1.314 GB, free: 10 MB / 1.014 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 8
 * Number of states: 0 ()
 * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (12):
 * Single equations (assignments): 10
 * Array equations: 0
 * Algorithm blocks: 2
 * 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.000181/0.5014, allocations: 149.7 kB / 1.314 GB, free: 9.844 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.262e-05/0.5015, allocations: 19.91 kB / 1.314 GB, free: 9.824 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.31e-05/0.5015, allocations: 17.02 kB / 1.314 GB, free: 9.809 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.5015, allocations: 0 / 1.314 GB, free: 9.809 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.5015, allocations: 0 / 1.314 GB, free: 9.809 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.5015, allocations: 4 kB / 1.314 GB, free: 9.805 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.5018, allocations: 208.6 kB / 1.314 GB, free: 9.559 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.5018, allocations: 4 kB / 1.314 GB, free: 9.555 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.703e-05/0.5018, allocations: 4.469 kB / 1.314 GB, free: 9.551 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.5018, allocations: 0 / 1.314 GB, free: 9.551 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.5018, allocations: 3.938 kB / 1.314 GB, free: 9.547 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.5018, allocations: 7.984 kB / 1.314 GB, free: 9.539 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.5018, allocations: 0 / 1.314 GB, free: 9.539 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.502, allocations: 137.8 kB / 1.315 GB, free: 9.383 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.659e-05/0.5021, allocations: 15.91 kB / 1.315 GB, free: 9.367 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.5021, allocations: 4 kB / 1.315 GB, free: 9.363 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.294e-05/0.5021, allocations: 4 kB / 1.315 GB, free: 9.359 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.5022, allocations: 3.984 kB / 1.315 GB, free: 9.355 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.361e-06/0.5022, allocations: 4 kB / 1.315 GB, free: 9.352 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001481/0.5023, allocations: 153.5 kB / 1.315 GB, free: 9.203 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.5023, allocations: 0 / 1.315 GB, free: 9.203 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002859/0.5026, allocations: 47.89 kB / 1.315 GB, free: 9.156 MB / 1.014 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (8):
 * Single equations (assignments): 6
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 2
 * 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.0001785/0.5028, allocations: 113.1 kB / 1.315 GB, free: 9.035 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0004182/0.5032, allocations: 230.7 kB / 1.315 GB, free: 8.785 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5032, allocations: 0 / 1.315 GB, free: 8.785 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 7.064e-05/0.5033, allocations: 35.86 kB / 1.315 GB, free: 8.75 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.5036, allocations: 40.23 kB / 1.315 GB, free: 8.711 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005939/0.5042, allocations: 308.6 kB / 1.315 GB, free: 8.379 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.5046, allocations: 0.7242 MB / 1.316 GB, free: 7.629 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 7.055e-05/0.5047, allocations: 25.47 kB / 1.316 GB, free: 7.605 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.33e-05/0.5047, allocations: 15.44 kB / 1.316 GB, free: 7.59 MB / 1.014 GB
Notification: Performance of SimCode: time 4.61e-07/0.5047, allocations: 0 / 1.316 GB, free: 7.59 MB / 1.014 GB
Notification: Performance of Templates: time 0.006822/0.5115, allocations: 2.591 MB / 1.319 GB, free: 5.043 MB / 1.014 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.77906860690564]