Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001083/0.001083, allocations: 92.16 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.001482/0.001482, allocations: 182.6 kB / 16.92 MB, free: 6.926 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.389/1.389, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.54/2.54, allocations: 390.9 MB / 0.667 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003925/0.0003928, allocations: 15.98 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7161/0.7165, allocations: 142.4 MB / 0.9557 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.0009702/0.7176, allocations: 0.5762 MB / 0.9563 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00142/0.719, allocations: 1.32 MB / 0.9576 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.041e-05/0.7191, allocations: 2.375 kB / 0.9576 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.827e-05/0.7192, allocations: 9.281 kB / 0.9576 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.358e-05/0.7192, allocations: 26.12 kB / 0.9576 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005813/0.7198, allocations: 244.6 kB / 0.9578 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002355/0.7201, allocations: 285 kB / 0.9581 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.7202, allocations: 65.72 kB / 0.9582 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.7203, allocations: 100 kB / 0.9583 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.7205, allocations: 103.3 kB / 0.9584 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.253e-05/0.7206, allocations: 11 kB / 0.9584 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.52e-05/0.7206, allocations: 24.48 kB / 0.9584 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.694e-05/0.7207, allocations: 37.53 kB / 0.9584 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.7208, allocations: 120.7 kB / 0.9586 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.721, allocations: 245.4 kB / 0.9588 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.721, allocations: 4 kB / 0.9588 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.503e-06/0.721, allocations: 0 / 0.9588 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.721, allocations: 0 / 0.9588 GB, free: 5.516 MB / 0.7169 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.0004297/0.7215, allocations: 0.4947 MB / 0.9593 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.7215, allocations: 8.812 kB / 0.9593 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.594e-05/0.7216, allocations: 23.56 kB / 0.9593 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005808/0.7222, allocations: 302 kB / 0.9596 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.7222, allocations: 12.78 kB / 0.9596 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.97e-05/0.7222, allocations: 22.38 kB / 0.9596 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.7225, allocations: 160.7 kB / 0.9598 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.7225, allocations: 5.203 kB / 0.9598 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.7225, allocations: 1.125 kB / 0.9598 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.7225, allocations: 3.438 kB / 0.9598 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.7226, allocations: 65.66 kB / 0.9599 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005991/0.7232, allocations: 0.7567 MB / 0.9606 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.766e-05/0.7233, allocations: 59.83 kB / 0.9607 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.212e-05/0.7233, allocations: 29.55 kB / 0.9607 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.7234, allocations: 3.938 kB / 0.9607 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001391/0.7235, allocations: 101.8 kB / 0.9608 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.7235, allocations: 0.8438 kB / 0.9608 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0002496/0.7238, allocations: 125.2 kB / 0.9609 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.7238, allocations: 82.47 kB / 0.961 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.724, allocations: 213.5 kB / 0.9612 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.724, allocations: 29.83 kB / 0.9612 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.166e-05/0.7241, allocations: 141.5 kB / 0.9613 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.509e-05/0.7241, allocations: 22.5 kB / 0.9614 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.207e-05/0.7242, allocations: 34.08 kB / 0.9614 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.616e-05/0.7242, allocations: 326.9 kB / 0.9617 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.7244, allocations: 72.89 kB / 0.9618 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.7245, allocations: 112 kB / 0.9619 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.7247, allocations: 194.7 kB / 0.9621 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.7247, allocations: 0 / 0.9621 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004377/0.7251, allocations: 295.8 kB / 0.9624 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.072e-05/0.7252, allocations: 68.45 kB / 0.9624 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.7252, allocations: 2.031 kB / 0.9624 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.7252, allocations: 3 kB / 0.9624 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.081e-05/0.7253, allocations: 11.78 kB / 0.9624 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.7253, allocations: 2.312 kB / 0.9624 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000361/0.7257, allocations: 77.66 kB / 0.9625 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.162e-05/0.7257, allocations: 18.55 kB / 0.9625 GB, free: 2.133 MB / 0.7169 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.00012/0.7258, allocations: 157.7 kB / 0.9627 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.7259, allocations: 14.25 kB / 0.9627 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.68e-05/0.7259, allocations: 18.52 kB / 0.9627 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.7259, allocations: 0.9688 kB / 0.9627 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.7259, allocations: 0.9688 kB / 0.9627 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.7259, allocations: 1 kB / 0.9627 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.7261, allocations: 237.3 kB / 0.9629 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.7261, allocations: 0 / 0.9629 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.299e-05/0.7261, allocations: 4 kB / 0.9629 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.7261, allocations: 5.5 kB / 0.9629 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.7262, allocations: 6.141 kB / 0.963 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.7262, allocations: 1.156 kB / 0.963 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7262, allocations: 0 / 0.963 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001568/0.7263, allocations: 137.2 kB / 0.9631 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.118e-05/0.7264, allocations: 92.66 kB / 0.9632 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.7264, allocations: 2.219 kB / 0.9632 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.186e-05/0.7264, allocations: 8.984 kB / 0.9632 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.7265, allocations: 6.906 kB / 0.9632 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.7265, allocations: 3.625 kB / 0.9632 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001016/0.7266, allocations: 149.5 kB / 0.9633 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7266, allocations: 0 / 0.9633 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002666/0.7269, allocations: 46 kB / 0.9634 GB, free: 1.367 MB / 0.7169 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.0001295/0.727, allocations: 105.1 kB / 0.9635 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003183/0.7273, allocations: 267.5 kB / 0.9637 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.7273, allocations: 1.094 kB / 0.9637 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.29e-05/0.7274, allocations: 31.27 kB / 0.9638 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.7277, allocations: 40.69 kB / 0.9638 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004592/0.7282, allocations: 396.8 kB / 0.9642 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001573/0.7284, allocations: 0.7273 MB / 0.9649 GB, free: 16 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.619e-05/0.7284, allocations: 15.31 kB / 0.9649 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of SimCode: time 3.21e-07/0.7284, allocations: 0 / 0.9649 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of Templates: time 0.004501/0.7329, allocations: 2.449 MB / 0.9673 GB, free: 14.74 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches