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.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.001468/0.001468, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.001501/0.001501, allocations: 157.9 kB / 23.01 MB, free: 4.602 MB / 14.72 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 1.47/1.47, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.96/2.96, allocations: 394.2 MB / 0.6386 GB, free: 11.97 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002296/0.002296, allocations: 63.89 kB / 1.009 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.091/1.094, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002511/1.096, allocations: 0.8531 MB / 1.187 GB, free: 15.66 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002023/1.098, allocations: 1.304 MB / 1.189 GB, free: 14.72 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/1.098, allocations: 6.625 kB / 1.189 GB, free: 14.72 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001535/1.098, allocations: 24.52 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001429/1.098, allocations: 36.75 kB / 1.189 GB, free: 14.67 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009825/1.099, allocations: 260.1 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004651/1.1, allocations: 328.7 kB / 1.189 GB, free: 14.39 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/1.1, allocations: 36.08 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002556/1.1, allocations: 131.9 kB / 1.189 GB, free: 14.31 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002911/1.101, allocations: 102 kB / 1.19 GB, free: 14.26 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001002/1.101, allocations: 30.44 kB / 1.19 GB, free: 14.26 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/1.101, allocations: 49.97 kB / 1.19 GB, free: 14.25 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.823e-05/1.101, allocations: 50.67 kB / 1.19 GB, free: 14.23 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001696/1.101, allocations: 94.08 kB / 1.19 GB, free: 14.18 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005408/1.102, allocations: 351.4 kB / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/1.102, allocations: 5.125 kB / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.425e-06/1.102, allocations: 0 / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.465e-05/1.102, allocations: 0 / 1.19 GB, free: 14.05 MB / 1.076 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.0009003/1.103, allocations: 483.5 kB / 1.191 GB, free: 13.62 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/1.103, allocations: 9.672 kB / 1.191 GB, free: 13.62 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004599/1.103, allocations: 67.05 kB / 1.191 GB, free: 13.61 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007075/1.104, allocations: 234.4 kB / 1.191 GB, free: 13.43 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/1.104, allocations: 14.19 kB / 1.191 GB, free: 13.43 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.991e-05/1.104, allocations: 19.38 kB / 1.191 GB, free: 13.42 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/1.104, allocations: 159.3 kB / 1.191 GB, free: 13.32 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/1.104, allocations: 3.938 kB / 1.191 GB, free: 13.31 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/1.104, allocations: 6.141 kB / 1.191 GB, free: 13.31 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/1.104, allocations: 3.531 kB / 1.191 GB, free: 13.31 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/1.104, allocations: 63.89 kB / 1.191 GB, free: 13.29 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000727/1.105, allocations: 0.6472 MB / 1.192 GB, free: 12.74 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/1.105, allocations: 62.67 kB / 1.192 GB, free: 12.68 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.926e-05/1.105, allocations: 25.73 kB / 1.192 GB, free: 12.65 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/1.105, allocations: 1.312 kB / 1.192 GB, free: 12.65 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002242/1.105, allocations: 97.22 kB / 1.192 GB, free: 12.58 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/1.105, allocations: 0 / 1.192 GB, free: 12.58 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.0003358/1.106, allocations: 127.7 kB / 1.192 GB, free: 12.52 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/1.106, allocations: 80.36 kB / 1.192 GB, free: 12.42 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/1.106, allocations: 218.3 kB / 1.192 GB, free: 12.27 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.915e-05/1.106, allocations: 34.36 kB / 1.192 GB, free: 12.24 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/1.106, allocations: 144.7 kB / 1.193 GB, free: 12.11 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/1.106, allocations: 19.77 kB / 1.193 GB, free: 12.1 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/1.106, allocations: 66.61 kB / 1.193 GB, free: 12.07 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.59e-05/1.106, allocations: 328.3 kB / 1.193 GB, free: 11.75 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/1.107, allocations: 127 kB / 1.193 GB, free: 11.66 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002168/1.107, allocations: 242.9 kB / 1.193 GB, free: 11.42 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/1.107, allocations: 199 kB / 1.193 GB, free: 11.25 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/1.107, allocations: 0 / 1.193 GB, free: 11.25 MB / 1.076 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005307/1.108, allocations: 369 kB / 1.194 GB, free: 11 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.238e-05/1.108, allocations: 67.14 kB / 1.194 GB, free: 10.93 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/1.108, allocations: 2.25 kB / 1.194 GB, free: 10.93 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/1.108, allocations: 4.047 kB / 1.194 GB, free: 10.93 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.782e-05/1.108, allocations: 12.31 kB / 1.194 GB, free: 10.93 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/1.108, allocations: 3.281 kB / 1.194 GB, free: 10.93 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003782/1.108, allocations: 60.38 kB / 1.194 GB, free: 10.92 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.021e-05/1.108, allocations: 13.8 kB / 1.194 GB, free: 10.92 MB / 1.076 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.0001534/1.108, allocations: 155.9 kB / 1.194 GB, free: 10.78 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/1.108, allocations: 20.11 kB / 1.194 GB, free: 10.77 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.306e-05/1.108, allocations: 20.98 kB / 1.194 GB, free: 10.75 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/1.108, allocations: 1.094 kB / 1.194 GB, free: 10.75 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/1.108, allocations: 0.75 kB / 1.194 GB, free: 10.75 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/1.108, allocations: 1.516 kB / 1.194 GB, free: 10.75 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/1.109, allocations: 161.6 kB / 1.194 GB, free: 10.61 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/1.109, allocations: 4.875 kB / 1.194 GB, free: 10.61 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.799e-05/1.109, allocations: 5.125 kB / 1.194 GB, free: 10.61 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/1.109, allocations: 1.641 kB / 1.194 GB, free: 10.61 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/1.109, allocations: 6.625 kB / 1.194 GB, free: 10.6 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/1.109, allocations: 0 / 1.194 GB, free: 10.6 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.109, allocations: 5.719 kB / 1.194 GB, free: 10.6 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/1.109, allocations: 131.8 kB / 1.194 GB, free: 10.5 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.162e-05/1.109, allocations: 20.92 kB / 1.195 GB, free: 10.48 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/1.109, allocations: 2.953 kB / 1.195 GB, free: 10.48 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.104e-05/1.109, allocations: 1.688 kB / 1.195 GB, free: 10.48 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/1.109, allocations: 5.844 kB / 1.195 GB, free: 10.48 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/1.109, allocations: 8.688 kB / 1.195 GB, free: 10.48 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001339/1.109, allocations: 144.2 kB / 1.195 GB, free: 10.39 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.1e-08/1.109, allocations: 0 / 1.195 GB, free: 10.39 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000322/1.109, allocations: 47.34 kB / 1.195 GB, free: 10.38 MB / 1.076 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.0001492/1.11, allocations: 107 kB / 1.195 GB, free: 10.28 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000415/1.11, allocations: 301.7 kB / 1.195 GB, free: 10.04 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/1.11, allocations: 4.969 kB / 1.195 GB, free: 10.04 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 6.307e-05/1.11, allocations: 27.42 kB / 1.195 GB, free: 10.03 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/1.11, allocations: 55.72 kB / 1.195 GB, free: 9.996 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006341/1.111, allocations: 308.3 kB / 1.195 GB, free: 9.777 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/1.111, allocations: 112.4 kB / 1.196 GB, free: 9.707 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.256e-05/1.111, allocations: 24.3 kB / 1.196 GB, free: 9.703 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/1.111, allocations: 17.72 kB / 1.196 GB, free: 9.695 MB / 1.076 GB Notification: Performance of SimCode: time 8.12e-07/1.111, allocations: 0 / 1.196 GB, free: 9.695 MB / 1.076 GB Notification: Performance of Templates: time 0.008407/1.12, allocations: 2.676 MB / 1.198 GB, free: 9.34 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 300] (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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.378995183040388]