Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002229/0.002229, allocations: 110 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.002334/0.002334, allocations: 192.4 kB / 22.23 MB, free: 5.156 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.535/1.535, 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 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.9/2.9, allocations: 476.7 MB / 0.7646 GB, free: 9.863 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.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_11_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_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 59.91 kB / 1.11 GB, free: 6.348 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9784/0.9804, allocations: 168.8 MB / 1.274 GB, free: 4.23 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002609/0.983, allocations: 0.869 MB / 1.275 GB, free: 3.363 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.002087/0.9851, allocations: 1.308 MB / 1.276 GB, free: 2.043 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 8.176e-05/0.9852, allocations: 4 kB / 1.276 GB, free: 2.039 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001342/0.9853, allocations: 15.8 kB / 1.276 GB, free: 2.023 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 9.917e-05/0.9854, allocations: 39.72 kB / 1.277 GB, free: 1.984 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0008383/0.9863, allocations: 271.3 kB / 1.277 GB, free: 1.727 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0004757/0.9868, allocations: 319.5 kB / 1.277 GB, free: 1.414 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.9869, allocations: 57.23 kB / 1.277 GB, free: 1.359 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.9871, allocations: 127.7 kB / 1.277 GB, free: 1.234 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002165/0.9874, allocations: 111.6 kB / 1.277 GB, free: 1.125 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 7.925e-05/0.9874, allocations: 32 kB / 1.277 GB, free: 1.094 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.9876, allocations: 55.92 kB / 1.277 GB, free: 1.039 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 9.559e-05/0.9877, allocations: 51.77 kB / 1.278 GB, free: 0.9883 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 0.000163/0.9878, allocations: 119.5 kB / 1.278 GB, free: 0.8711 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004871/0.9883, allocations: 357.4 kB / 1.278 GB, free: 0.5273 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.9883, allocations: 0 / 1.278 GB, free: 0.5273 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.623e-06/0.9883, allocations: 0 / 1.278 GB, free: 0.5273 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 6.483e-06/0.9883, allocations: 0 / 1.278 GB, free: 0.5273 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: 26
 * Number of variables: 26
Notification: Performance of Generate backend data structure: time 0.0008369/0.9892, allocations: 488.7 kB / 1.278 GB, free: 4 kB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 6.118e-05/0.9892, allocations: 8.078 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.744e-05/0.9893, allocations: 24.8 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007776/0.9901, allocations: 234.2 kB / 1.279 GB, free: 15.72 MB / 0.9825 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.9901, allocations: 16.38 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.444e-05/0.9902, allocations: 16.38 kB / 1.279 GB, free: 15.69 MB / 0.9825 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/0.9905, allocations: 155.7 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.9905, allocations: 7.922 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.9905, allocations: 4 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.9905, allocations: 11.94 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.9907, allocations: 67.91 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.9918, allocations: 0.7187 MB / 1.28 GB, free: 14.66 MB / 0.9825 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.9919, allocations: 61.16 kB / 1.28 GB, free: 14.58 MB / 0.9825 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.471e-05/0.9919, allocations: 21.77 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.992, allocations: 3.938 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000264/0.9922, allocations: 105.1 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB
Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.9922, allocations: 0 / 1.28 GB, free: 14.43 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=8): time 0.000377/0.9926, allocations: 125.5 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.592e-05/0.9927, allocations: 77.11 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/0.993, allocations: 211.8 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB
Notification: Performance of collectPreVariables (initialization): time 5.134e-05/0.993, allocations: 33.7 kB / 1.28 GB, free: 13.95 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.9932, allocations: 148.2 kB / 1.28 GB, free: 13.8 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.9932, allocations: 19.89 kB / 1.28 GB, free: 13.78 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.9933, allocations: 69.67 kB / 1.28 GB, free: 13.7 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0001876/0.9935, allocations: 330.8 kB / 1.281 GB, free: 13.37 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.9937, allocations: 59.97 kB / 1.281 GB, free: 13.31 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.9939, allocations: 132.5 kB / 1.281 GB, free: 13.15 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003029/0.9942, allocations: 198.1 kB / 1.281 GB, free: 12.92 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.9942, allocations: 0 / 1.281 GB, free: 12.92 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005783/0.9948, allocations: 300.8 kB / 1.281 GB, free: 12.61 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 8.009e-05/0.9949, allocations: 67.41 kB / 1.282 GB, free: 12.53 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.9949, allocations: 0 / 1.282 GB, free: 12.53 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/0.9949, allocations: 7.938 kB / 1.282 GB, free: 12.52 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.979e-05/0.995, allocations: 15.92 kB / 1.282 GB, free: 12.51 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.995, allocations: 0 / 1.282 GB, free: 12.51 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005705/0.9956, allocations: 80 kB / 1.282 GB, free: 12.43 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/0.9956, allocations: 11.98 kB / 1.282 GB, free: 12.42 MB / 0.9825 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.0001991/0.9958, allocations: 149.7 kB / 1.282 GB, free: 12.26 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.9959, allocations: 15.91 kB / 1.282 GB, free: 12.25 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.977e-05/0.9959, allocations: 21.02 kB / 1.282 GB, free: 12.22 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.9959, allocations: 4 kB / 1.282 GB, free: 12.22 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.9959, allocations: 7.938 kB / 1.282 GB, free: 12.21 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.9959, allocations: 0 / 1.282 GB, free: 12.21 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.9962, allocations: 200.6 kB / 1.282 GB, free: 11.97 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.9962, allocations: 0 / 1.282 GB, free: 11.97 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.737e-05/0.9962, allocations: 4 kB / 1.282 GB, free: 11.97 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.9962, allocations: 0 / 1.282 GB, free: 11.97 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.9962, allocations: 8 kB / 1.282 GB, free: 11.96 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.9962, allocations: 0 / 1.282 GB, free: 11.96 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.9962, allocations: 0 / 1.282 GB, free: 11.96 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.9965, allocations: 146.2 kB / 1.282 GB, free: 11.8 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.71e-05/0.9966, allocations: 15.89 kB / 1.282 GB, free: 11.78 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.9966, allocations: 8 kB / 1.282 GB, free: 11.77 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.149e-05/0.9966, allocations: 3.984 kB / 1.282 GB, free: 11.77 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.9967, allocations: 7.984 kB / 1.282 GB, free: 11.76 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.9967, allocations: 0 / 1.282 GB, free: 11.76 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 0.0001479/0.9968, allocations: 144.2 kB / 1.282 GB, free: 11.62 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 7e-08/0.9968, allocations: 0 / 1.282 GB, free: 11.62 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0002948/0.9971, allocations: 51.89 kB / 1.282 GB, free: 11.57 MB / 0.9825 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.0002659/0.9974, allocations: 110.9 kB / 1.282 GB, free: 11.45 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0004898/0.9979, allocations: 230.6 kB / 1.283 GB, free: 11.2 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.9979, allocations: 0 / 1.283 GB, free: 11.2 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 6.165e-05/0.9979, allocations: 27.98 kB / 1.283 GB, free: 11.18 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.9982, allocations: 48.22 kB / 1.283 GB, free: 11.13 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007552/0.999, allocations: 312.5 kB / 1.283 GB, free: 10.8 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.9994, allocations: 0.7281 MB / 1.284 GB, free: 10.04 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 7.652e-05/0.9995, allocations: 17.48 kB / 1.284 GB, free: 10.02 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.742e-05/0.9995, allocations: 19.42 kB / 1.284 GB, free: 10 MB / 0.9825 GB
Notification: Performance of SimCode: time 3.01e-07/0.9995, allocations: 0 / 1.284 GB, free: 10 MB / 0.9825 GB
Notification: Performance of Templates: time 0.007727/1.007, allocations: 2.581 MB / 1.286 GB, free: 7.461 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.628293416462839]