Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008122/0.008123, allocations: 104.4 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 196 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.981/2.981, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 63.91 kB / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.3885, allocations: 157.4 MB / 1.208 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002521/0.3911, allocations: 0.8644 MB / 1.209 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00206/0.3932, allocations: 1.295 MB / 1.21 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.3933, allocations: 4 kB / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000146/0.3935, allocations: 11.81 kB / 1.21 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.3936, allocations: 35.7 kB / 1.21 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009769/0.3946, allocations: 261.2 kB / 1.21 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006521/0.3953, allocations: 339.4 kB / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002351/0.3955, allocations: 69.41 kB / 1.211 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002951/0.3958, allocations: 131.7 kB / 1.211 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002664/0.3961, allocations: 103.6 kB / 1.211 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.06e-05/0.3962, allocations: 36 kB / 1.211 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.3963, allocations: 55.98 kB / 1.211 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.538e-05/0.3964, allocations: 43.83 kB / 1.211 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.3966, allocations: 123.4 kB / 1.211 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004754/0.3971, allocations: 342.9 kB / 1.211 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.3971, allocations: 4 kB / 1.211 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3971, allocations: 0 / 1.211 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.348e-05/0.3971, allocations: 0 / 1.211 GB, free: 5.957 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.00104/0.3982, allocations: 0.5448 MB / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.3982, allocations: 16.62 kB / 1.212 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.3984, allocations: 24.73 kB / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008038/0.3992, allocations: 304 kB / 1.212 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.3992, allocations: 12.38 kB / 1.212 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.321e-05/0.3993, allocations: 16.38 kB / 1.212 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/0.3995, allocations: 149.6 kB / 1.212 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.3996, allocations: 3.938 kB / 1.212 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.3996, allocations: 15.94 kB / 1.212 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.3996, allocations: 0 / 1.212 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.3997, allocations: 67.89 kB / 1.212 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009416/0.4007, allocations: 0.7623 MB / 1.213 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.4008, allocations: 61.17 kB / 1.213 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.017e-05/0.4008, allocations: 21.78 kB / 1.213 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.4009, allocations: 0 / 1.213 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001861/0.4011, allocations: 109 kB / 1.213 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.4011, allocations: 4 kB / 1.213 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0003245/0.4014, allocations: 133.4 kB / 1.214 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.4015, allocations: 77.11 kB / 1.214 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.4017, allocations: 215.6 kB / 1.214 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/0.4018, allocations: 37.7 kB / 1.214 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.4019, allocations: 140.2 kB / 1.214 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.4019, allocations: 19.78 kB / 1.214 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.402, allocations: 73.61 kB / 1.214 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.4022, allocations: 326.8 kB / 1.214 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.4024, allocations: 59.97 kB / 1.214 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000317/0.4027, allocations: 140.5 kB / 1.215 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002689/0.403, allocations: 194.2 kB / 1.215 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.403, allocations: 0 / 1.215 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004987/0.4035, allocations: 292.6 kB / 1.215 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001189/0.4036, allocations: 63.39 kB / 1.215 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.4036, allocations: 4 kB / 1.215 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.4036, allocations: 0 / 1.215 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.232e-05/0.4037, allocations: 16.12 kB / 1.215 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.4037, allocations: 7.984 kB / 1.215 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004216/0.4042, allocations: 71.78 kB / 1.215 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.765e-05/0.4042, allocations: 19.98 kB / 1.215 GB, free: 1.621 MB / 0.9669 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.0001646/0.4044, allocations: 145.8 kB / 1.215 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.4044, allocations: 19.8 kB / 1.215 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.158e-05/0.4045, allocations: 16.94 kB / 1.215 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.4045, allocations: 0 / 1.215 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.4045, allocations: 0 / 1.215 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.4045, allocations: 0 / 1.215 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.4047, allocations: 233.5 kB / 1.216 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4047, allocations: 0 / 1.216 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.147e-05/0.4047, allocations: 11.92 kB / 1.216 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.4048, allocations: 4 kB / 1.216 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.4048, allocations: 3.938 kB / 1.216 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.4048, allocations: 4 kB / 1.216 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4048, allocations: 0 / 1.216 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.405, allocations: 137.7 kB / 1.216 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.493e-05/0.405, allocations: 88.92 kB / 1.216 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.4051, allocations: 7.984 kB / 1.216 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.943e-05/0.4051, allocations: 0 / 1.216 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.213e-05/0.4052, allocations: 11.94 kB / 1.216 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.4052, allocations: 8 kB / 1.216 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001137/0.4053, allocations: 145.5 kB / 1.216 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4053, allocations: 4 kB / 1.216 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003031/0.4056, allocations: 47.84 kB / 1.216 GB, free: 0.6523 MB / 0.9669 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.0002144/0.4058, allocations: 112.2 kB / 1.216 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003809/0.4062, allocations: 250.9 kB / 1.216 GB, free: 268 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4062, allocations: 4.125 kB / 1.216 GB, free: 264 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.075e-05/0.4063, allocations: 36.67 kB / 1.216 GB, free: 228 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.4066, allocations: 31.92 kB / 1.216 GB, free: 196 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006229/0.4072, allocations: 300.8 kB / 1.217 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004951/0.4077, allocations: 0.728 MB / 1.217 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.026e-05/0.4078, allocations: 25.61 kB / 1.217 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/0.4079, allocations: 19.38 kB / 1.217 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of SimCode: time 5.01e-07/0.4079, allocations: 4 kB / 1.217 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of Templates: time 0.007132/0.415, allocations: 2.615 MB / 1.22 GB, free: 12.49 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches