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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00077/0.00077, allocations: 80.53 kB / 19.93 MB, free: 4.609 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 181.2 kB / 23.21 MB, free: 1.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8577/0.8577, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.701/1.701, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 3.126e-06/3.126e-06, allocations: 0 / 0.9517 GB, free: 3 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.701e-05, allocations: 5.375 kB / 0.9517 GB, free: 2.996 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001375/0.001402, allocations: 0.8445 MB / 0.9526 GB, free: 2.145 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.002705, allocations: 1.323 MB / 0.9538 GB, free: 0.8086 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.99e-05/0.002765, allocations: 3.938 kB / 0.9538 GB, free: 0.8047 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.002875, allocations: 19.8 kB / 0.9539 GB, free: 0.7852 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.702e-05/0.002942, allocations: 35.72 kB / 0.9539 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005494/0.003491, allocations: 262.5 kB / 0.9541 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002646/0.003756, allocations: 335.3 kB / 0.9545 GB, free: 176 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.003896, allocations: 33.66 kB / 0.9545 GB, free: 136 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.004065, allocations: 187.7 kB / 0.9547 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.004199, allocations: 87.75 kB / 0.9548 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.385e-05/0.004232, allocations: 28 kB / 0.9548 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 8.194e-05/0.004314, allocations: 47.98 kB / 0.9548 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 6.196e-05/0.004376, allocations: 51.83 kB / 0.9549 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 7.766e-05/0.004454, allocations: 83.81 kB / 0.955 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003101/0.004764, allocations: 386.9 kB / 0.9553 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.004766, allocations: 3.938 kB / 0.9553 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.41e-07/0.004767, allocations: 3.938 kB / 0.9553 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.004775, allocations: 0 / 0.9553 GB, free: 15.27 MB / 0.9167 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.0005468/0.005322, allocations: 484.7 kB / 0.9558 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.005363, allocations: 12.03 kB / 0.9558 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002462/0.005609, allocations: 68.75 kB / 0.9559 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003852/0.005994, allocations: 243.3 kB / 0.9561 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.006016, allocations: 16.38 kB / 0.9561 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.006044, allocations: 16.38 kB / 0.9561 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.00622, allocations: 153.5 kB / 0.9563 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.006229, allocations: 192 / 0.9563 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.006243, allocations: 8.375 kB / 0.9563 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.006249, allocations: 4.125 kB / 0.9563 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.298e-05/0.006332, allocations: 67.91 kB / 0.9564 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006591/0.006991, allocations: 0.6413 MB / 0.957 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.217e-05/0.007063, allocations: 53.2 kB / 0.957 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.584e-05/0.007089, allocations: 21.78 kB / 0.9571 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/0.007099, allocations: 0 / 0.9571 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/0.007239, allocations: 112.9 kB / 0.9572 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.00724, allocations: 3.938 kB / 0.9572 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0002189/0.007459, allocations: 125.5 kB / 0.9573 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.007502, allocations: 89.11 kB / 0.9574 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.007641, allocations: 215.7 kB / 0.9576 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.007664, allocations: 29.7 kB / 0.9576 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.166e-05/0.007746, allocations: 140.2 kB / 0.9577 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.469e-05/0.00776, allocations: 23.88 kB / 0.9578 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-05/0.007828, allocations: 61.69 kB / 0.9578 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.829e-05/0.007907, allocations: 330.8 kB / 0.9581 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.008025, allocations: 127.4 kB / 0.9583 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.008169, allocations: 243.3 kB / 0.9585 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.008316, allocations: 198.2 kB / 0.9587 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.008318, allocations: 0 / 0.9587 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003098/0.008628, allocations: 356.2 kB / 0.959 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.02e-05/0.008668, allocations: 75.33 kB / 0.9591 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.008674, allocations: 4.172 kB / 0.9591 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.00869, allocations: 8 kB / 0.9591 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.98e-05/0.00874, allocations: 11.94 kB / 0.9591 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.008745, allocations: 3.984 kB / 0.9591 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.008914, allocations: 67.83 kB / 0.9592 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.008931, allocations: 8 kB / 0.9592 GB, free: 10.94 MB / 0.9167 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 9.67e-05/0.009028, allocations: 155.7 kB / 0.9593 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.634e-05/0.009045, allocations: 23.83 kB / 0.9594 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.94e-05/0.009074, allocations: 13.03 kB / 0.9594 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.009077, allocations: 4 kB / 0.9594 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.009082, allocations: 0 / 0.9594 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.009085, allocations: 480 / 0.9594 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.009188, allocations: 165.2 kB / 0.9595 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.009189, allocations: 0 / 0.9595 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.392e-05/0.009203, allocations: 7.984 kB / 0.9596 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.009204, allocations: 0 / 0.9596 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.009213, allocations: 7.938 kB / 0.9596 GB, free: 10.53 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.009215, allocations: 11.94 kB / 0.9596 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.009216, allocations: 0 / 0.9596 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.009328, allocations: 133.8 kB / 0.9597 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.367e-05/0.009341, allocations: 11.91 kB / 0.9597 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.009357, allocations: 11.92 kB / 0.9597 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.833e-05/0.009375, allocations: 4 kB / 0.9597 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.578e-05/0.009401, allocations: 4 kB / 0.9597 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.009408, allocations: 7.984 kB / 0.9597 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 7.648e-05/0.009485, allocations: 145.5 kB / 0.9599 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.009485, allocations: 0 / 0.9599 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001797/0.009665, allocations: 47.89 kB / 0.9599 GB, free: 10.14 MB / 0.9167 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.0001167/0.009781, allocations: 111.2 kB / 0.96 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002715/0.01005, allocations: 298 kB / 0.9603 GB, free: 9.691 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01005, allocations: 0 / 0.9603 GB, free: 9.691 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.804e-05/0.01009, allocations: 28 kB / 0.9603 GB, free: 9.664 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.01028, allocations: 40.28 kB / 0.9604 GB, free: 9.625 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003941/0.01067, allocations: 332.9 kB / 0.9607 GB, free: 9.266 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.316e-05/0.01075, allocations: 119.6 kB / 0.9608 GB, free: 9.129 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.276e-05/0.01077, allocations: 16.5 kB / 0.9608 GB, free: 9.113 MB / 0.9167 GB Notification: Performance of SimCode: time 5.71e-07/0.01077, allocations: 0 / 0.9608 GB, free: 9.113 MB / 0.9167 GB Notification: Performance of Templates: time 0.002922/0.01369, allocations: 2.546 MB / 0.9633 GB, free: 6.594 MB / 0.9167 GB " [Timeout remaining time 300] 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: 6.473459782078862]