Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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=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_10_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_10_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.001/0.001, allocations: 99.19 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008748/0.000875, allocations: 186.8 kB / 16.92 MB, free: 6.75 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.359/1.359, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.708/2.708, allocations: 437.8 MB / 0.7128 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004028/0.000403, allocations: 8 kB / 0.8735 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7165/0.7169, allocations: 153.8 MB / 1.024 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.00112/0.718, allocations: 0.5854 MB / 1.024 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001873/0.7199, allocations: 1.319 MB / 1.026 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.169e-05/0.72, allocations: 0 / 1.026 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.939e-05/0.7202, allocations: 11.88 kB / 1.026 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.517e-05/0.7202, allocations: 19.86 kB / 1.026 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007598/0.721, allocations: 242.8 kB / 1.026 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003593/0.7214, allocations: 283.4 kB / 1.026 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.7216, allocations: 61.44 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.7218, allocations: 107.7 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002823/0.7221, allocations: 107.5 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.073e-05/0.7221, allocations: 16 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.241e-05/0.7222, allocations: 23.97 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.272e-05/0.7223, allocations: 35.91 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.7224, allocations: 121.2 kB / 1.027 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002665/0.7227, allocations: 241.4 kB / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.7227, allocations: 0 / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7227, allocations: 0 / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.7227, allocations: 0 / 1.027 GB, free: 12.66 MB / 0.7794 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.0006412/0.7234, allocations: 0.502 MB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.7234, allocations: 12.03 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.053e-05/0.7235, allocations: 24.75 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007169/0.7243, allocations: 303.9 kB / 1.028 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.641e-05/0.7243, allocations: 12.38 kB / 1.028 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.37e-05/0.7244, allocations: 16.38 kB / 1.028 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.7246, allocations: 157 kB / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.7247, allocations: 3.938 kB / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.7247, allocations: 4 kB / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.7247, allocations: 4 kB / 1.028 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.7248, allocations: 67.91 kB / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008199/0.7257, allocations: 0.7506 MB / 1.029 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.7258, allocations: 69.17 kB / 1.029 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.925e-05/0.7258, allocations: 21.78 kB / 1.029 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.7258, allocations: 0 / 1.029 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.726, allocations: 97.02 kB / 1.029 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.726, allocations: 4 kB / 1.029 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0003104/0.7263, allocations: 133.7 kB / 1.029 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.7264, allocations: 81.11 kB / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.7266, allocations: 208.7 kB / 1.029 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.09e-05/0.7267, allocations: 33.7 kB / 1.029 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.7268, allocations: 135.8 kB / 1.029 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.7268, allocations: 23.72 kB / 1.029 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.752e-05/0.7269, allocations: 33.7 kB / 1.029 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.727, allocations: 330.8 kB / 1.03 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.7271, allocations: 71.89 kB / 1.03 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.7273, allocations: 114.8 kB / 1.03 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002451/0.7276, allocations: 194.1 kB / 1.03 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.7276, allocations: 0 / 1.03 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004974/0.7281, allocations: 300.8 kB / 1.03 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.336e-05/0.7282, allocations: 73.27 kB / 1.03 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.7282, allocations: 7.938 kB / 1.03 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.7282, allocations: 0 / 1.03 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.106e-05/0.7283, allocations: 8 kB / 1.03 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.7283, allocations: 7.984 kB / 1.03 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003766/0.7286, allocations: 71.84 kB / 1.031 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/0.7287, allocations: 15.98 kB / 1.031 GB, free: 8.445 MB / 0.7794 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.0001566/0.7289, allocations: 154.2 kB / 1.031 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.7289, allocations: 19.81 kB / 1.031 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.44e-05/0.7289, allocations: 20.92 kB / 1.031 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.7289, allocations: 0 / 1.031 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.729, allocations: 0 / 1.031 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.729, allocations: 4 kB / 1.031 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.7292, allocations: 229.5 kB / 1.031 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.7292, allocations: 0 / 1.031 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.69e-05/0.7292, allocations: 4 kB / 1.031 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.7292, allocations: 0 / 1.031 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.7293, allocations: 7.984 kB / 1.031 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.7293, allocations: 4 kB / 1.031 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.7293, allocations: 7.938 kB / 1.031 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.7295, allocations: 133.7 kB / 1.031 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.588e-05/0.7295, allocations: 88.92 kB / 1.031 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.7295, allocations: 4 kB / 1.031 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.213e-05/0.7296, allocations: 0 / 1.031 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.883e-05/0.7296, allocations: 7.984 kB / 1.031 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.7296, allocations: 8 kB / 1.031 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001198/0.7298, allocations: 152.5 kB / 1.031 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7298, allocations: 0 / 1.031 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002843/0.73, allocations: 43.84 kB / 1.031 GB, free: 7.48 MB / 0.7794 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.0001491/0.7302, allocations: 111.1 kB / 1.031 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003705/0.7306, allocations: 250.7 kB / 1.032 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.7306, allocations: 4.375 kB / 1.032 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.143e-05/0.7307, allocations: 39.92 kB / 1.032 GB, free: 7.051 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.731, allocations: 38.2 kB / 1.032 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006177/0.7317, allocations: 387.1 kB / 1.032 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.732, allocations: 0.7244 MB / 1.033 GB, free: 5.855 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3e-05/0.732, allocations: 19.44 kB / 1.033 GB, free: 5.836 MB / 0.7794 GB Notification: Performance of SimCode: time 4.31e-07/0.732, allocations: 0 / 1.033 GB, free: 5.836 MB / 0.7794 GB Notification: Performance of Templates: time 0.005026/0.7371, allocations: 2.442 MB / 1.035 GB, free: 3.414 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches