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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001558/0.001558, allocations: 111.8 kB / 16.37 MB, free: 5.539 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.001796/0.001796, allocations: 192.2 kB / 17.3 MB, free: 5.18 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.609/2.609, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001229, allocations: 67.33 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3559, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002406/0.3583, allocations: 0.8708 MB / 1.028 GB, free: 1.188 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002099/0.3604, allocations: 1.3 MB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.3606, allocations: 4 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.3608, allocations: 19.75 kB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.31e-05/0.3609, allocations: 31.72 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008271/0.3617, allocations: 265.8 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004372/0.3621, allocations: 339.4 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.3623, allocations: 65.45 kB / 1.03 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.3626, allocations: 131.7 kB / 1.03 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.3628, allocations: 111.6 kB / 1.03 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.931e-05/0.3628, allocations: 28 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.363, allocations: 47.98 kB / 1.03 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.815e-05/0.3631, allocations: 51.78 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.3632, allocations: 119.5 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003991/0.3636, allocations: 354.8 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3636, allocations: 0 / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.913e-06/0.3637, allocations: 0 / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.386e-05/0.3637, allocations: 4 kB / 1.03 GB, free: 14.33 MB / 0.8106 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.000778/0.3645, allocations: 0.541 MB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.3645, allocations: 8.031 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.911e-05/0.3646, allocations: 28.66 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006836/0.3653, allocations: 292 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.3653, allocations: 20.3 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.496e-05/0.3654, allocations: 20.38 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.3656, allocations: 147.6 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3657, allocations: 3.938 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.3657, allocations: 0 / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3657, allocations: 4 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.3658, allocations: 71.89 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008471/0.3667, allocations: 0.7468 MB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.3668, allocations: 65.17 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.103e-05/0.3668, allocations: 25.78 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.3669, allocations: 0 / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001909/0.367, allocations: 108.9 kB / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.3671, allocations: 0 / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0003123/0.3674, allocations: 125.4 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/0.3674, allocations: 89.11 kB / 1.033 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.3676, allocations: 215.6 kB / 1.033 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/0.3677, allocations: 29.7 kB / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.3678, allocations: 140.2 kB / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.3678, allocations: 19.8 kB / 1.033 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.368, allocations: 65.67 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3681, allocations: 326.8 kB / 1.033 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.3683, allocations: 71.97 kB / 1.033 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.3685, allocations: 136.5 kB / 1.034 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000246/0.3688, allocations: 194.2 kB / 1.034 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.3688, allocations: 0 / 1.034 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000498/0.3693, allocations: 300.6 kB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.46e-05/0.3693, allocations: 69.92 kB / 1.034 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3694, allocations: 0 / 1.034 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.3694, allocations: 4 kB / 1.034 GB, free: 10.13 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.736e-05/0.3695, allocations: 11.94 kB / 1.034 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.3695, allocations: 4 kB / 1.034 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004008/0.3699, allocations: 71.77 kB / 1.034 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.455e-05/0.3699, allocations: 19.92 kB / 1.034 GB, free: 10.03 MB / 0.8106 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.0001555/0.3701, allocations: 146.2 kB / 1.034 GB, free: 9.875 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.3701, allocations: 15.91 kB / 1.034 GB, free: 9.859 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.151e-05/0.3702, allocations: 16.92 kB / 1.034 GB, free: 9.844 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.3702, allocations: 7.984 kB / 1.034 GB, free: 9.836 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.3702, allocations: 0 / 1.034 GB, free: 9.836 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3702, allocations: 0 / 1.034 GB, free: 9.836 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.3704, allocations: 237.4 kB / 1.035 GB, free: 9.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3704, allocations: 0 / 1.035 GB, free: 9.555 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.86e-05/0.3705, allocations: 11.94 kB / 1.035 GB, free: 9.543 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.3705, allocations: 4 kB / 1.035 GB, free: 9.539 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.3705, allocations: 7.984 kB / 1.035 GB, free: 9.531 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3705, allocations: 0 / 1.035 GB, free: 9.531 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3705, allocations: 0 / 1.035 GB, free: 9.531 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.3707, allocations: 129.7 kB / 1.035 GB, free: 9.383 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/0.3707, allocations: 89.02 kB / 1.035 GB, free: 9.277 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.3708, allocations: 8 kB / 1.035 GB, free: 9.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.223e-05/0.3708, allocations: 4 kB / 1.035 GB, free: 9.266 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.3708, allocations: 11.92 kB / 1.035 GB, free: 9.254 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.3709, allocations: 4 kB / 1.035 GB, free: 9.25 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001114/0.371, allocations: 145.5 kB / 1.035 GB, free: 9.109 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.371, allocations: 0 / 1.035 GB, free: 9.109 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002895/0.3713, allocations: 59.83 kB / 1.035 GB, free: 9.051 MB / 0.8106 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.0001741/0.3715, allocations: 106.2 kB / 1.035 GB, free: 8.941 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003778/0.3718, allocations: 262.7 kB / 1.035 GB, free: 8.66 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3719, allocations: 0 / 1.035 GB, free: 8.66 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.916e-05/0.3719, allocations: 35.92 kB / 1.035 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.3722, allocations: 36.22 kB / 1.035 GB, free: 8.59 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005177/0.3727, allocations: 300.9 kB / 1.036 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.373, allocations: 0.7241 MB / 1.036 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.052e-05/0.3731, allocations: 25.53 kB / 1.036 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/0.3731, allocations: 19.38 kB / 1.037 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of SimCode: time 1.704e-06/0.3731, allocations: 0 / 1.037 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of Templates: time 0.005932/0.3791, allocations: 2.533 MB / 1.039 GB, free: 4.98 MB / 0.8106 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 -s gbode -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/jenkins1/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