Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001782/0.001782, allocations: 117.8 kB / 17.13 MB, free: 6.004 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.002236/0.002236, allocations: 217.8 kB / 20.1 MB, free: 3.051 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.519/1.519, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.927/2.927, allocations: 0.49 GB / 0.7923 GB, free: 1.254 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002084/0.002084, allocations: 71.88 kB / 1.15 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9922/0.9943, allocations: 176.1 MB / 1.322 GB, free: 25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002515/0.9968, allocations: 0.8767 MB / 1.323 GB, free: 24.43 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002269/0.9991, allocations: 1.332 MB / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.9992, allocations: 3.031 kB / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001809/0.9994, allocations: 19.12 kB / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.9995, allocations: 29.17 kB / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008696/1, allocations: 271.3 kB / 1.324 GB, free: 23.28 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003604/1.001, allocations: 320.2 kB / 1.325 GB, free: 23.14 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/1.001, allocations: 54.7 kB / 1.325 GB, free: 23.11 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/1.001, allocations: 128 kB / 1.325 GB, free: 23.05 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/1.001, allocations: 114.5 kB / 1.325 GB, free: 23 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.425e-05/1.001, allocations: 27.84 kB / 1.325 GB, free: 23 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/1.001, allocations: 51.86 kB / 1.325 GB, free: 23 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.592e-05/1.002, allocations: 48.31 kB / 1.325 GB, free: 22.97 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000137/1.002, allocations: 116.8 kB / 1.325 GB, free: 22.9 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003901/1.002, allocations: 347.9 kB / 1.326 GB, free: 22.78 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/1.002, allocations: 4 kB / 1.326 GB, free: 22.78 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.104e-06/1.002, allocations: 0 / 1.326 GB, free: 22.78 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.524e-06/1.002, allocations: 3.938 kB / 1.326 GB, free: 22.77 MB / 1.061 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.0006957/1.003, allocations: 0.5568 MB / 1.326 GB, free: 22.25 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/1.003, allocations: 12.36 kB / 1.326 GB, free: 22.24 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003857/1.003, allocations: 57.11 kB / 1.326 GB, free: 22.23 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005788/1.004, allocations: 302.1 kB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/1.004, allocations: 16.38 kB / 1.326 GB, free: 21.97 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.892e-05/1.004, allocations: 20.5 kB / 1.327 GB, free: 21.97 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/1.004, allocations: 145.5 kB / 1.327 GB, free: 21.88 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/1.004, allocations: 3.938 kB / 1.327 GB, free: 21.87 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/1.004, allocations: 4 kB / 1.327 GB, free: 21.87 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/1.004, allocations: 9.406 kB / 1.327 GB, free: 21.86 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/1.004, allocations: 65.47 kB / 1.327 GB, free: 21.84 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007548/1.005, allocations: 0.7545 MB / 1.327 GB, free: 21.21 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/1.005, allocations: 65.73 kB / 1.328 GB, free: 21.14 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.176e-05/1.005, allocations: 19.81 kB / 1.328 GB, free: 21.12 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/1.005, allocations: 0.9375 kB / 1.328 GB, free: 21.12 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002466/1.005, allocations: 106.3 kB / 1.328 GB, free: 21.04 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/1.005, allocations: 4 kB / 1.328 GB, free: 21.04 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.00033/1.006, allocations: 127.6 kB / 1.328 GB, free: 20.97 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/1.006, allocations: 77.64 kB / 1.328 GB, free: 20.88 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/1.006, allocations: 211.7 kB / 1.328 GB, free: 20.73 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/1.006, allocations: 34.23 kB / 1.328 GB, free: 20.7 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/1.006, allocations: 141.2 kB / 1.328 GB, free: 20.58 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/1.006, allocations: 18.77 kB / 1.328 GB, free: 20.56 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/1.006, allocations: 70.03 kB / 1.328 GB, free: 20.53 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.702e-05/1.006, allocations: 329.8 kB / 1.329 GB, free: 20.21 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/1.006, allocations: 63.3 kB / 1.329 GB, free: 20.18 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/1.007, allocations: 127.7 kB / 1.329 GB, free: 20.08 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002532/1.007, allocations: 201.1 kB / 1.329 GB, free: 19.9 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/1.007, allocations: 0.5 kB / 1.329 GB, free: 19.9 MB / 1.061 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005363/1.007, allocations: 304.4 kB / 1.329 GB, free: 19.73 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.295e-05/1.007, allocations: 64.89 kB / 1.329 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/1.008, allocations: 1.438 kB / 1.329 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/1.008, allocations: 2.312 kB / 1.329 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.47e-05/1.008, allocations: 15.56 kB / 1.329 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/1.008, allocations: 6.562 kB / 1.329 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003642/1.008, allocations: 53.86 kB / 1.329 GB, free: 19.65 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/1.008, allocations: 14.48 kB / 1.329 GB, free: 19.65 MB / 1.061 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.0001438/1.008, allocations: 157.5 kB / 1.33 GB, free: 19.52 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/1.008, allocations: 18.61 kB / 1.33 GB, free: 19.5 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.382e-05/1.008, allocations: 18.44 kB / 1.33 GB, free: 19.49 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/1.008, allocations: 0.5938 kB / 1.33 GB, free: 19.49 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.008, allocations: 4.953 kB / 1.33 GB, free: 19.49 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/1.008, allocations: 0 / 1.33 GB, free: 19.49 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/1.008, allocations: 233.6 kB / 1.33 GB, free: 19.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/1.008, allocations: 0.5312 kB / 1.33 GB, free: 19.27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.784e-05/1.008, allocations: 4.375 kB / 1.33 GB, free: 19.27 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/1.008, allocations: 4.562 kB / 1.33 GB, free: 19.27 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/1.008, allocations: 1.688 kB / 1.33 GB, free: 19.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/1.008, allocations: 5.156 kB / 1.33 GB, free: 19.27 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.009, allocations: 0.6875 kB / 1.33 GB, free: 19.27 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001994/1.009, allocations: 143.1 kB / 1.33 GB, free: 19.16 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.426e-05/1.009, allocations: 89.52 kB / 1.33 GB, free: 19.05 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/1.009, allocations: 5.062 kB / 1.33 GB, free: 19.05 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.229e-05/1.009, allocations: 4.672 kB / 1.33 GB, free: 19.05 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/1.009, allocations: 7.844 kB / 1.33 GB, free: 19.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/1.009, allocations: 2.75 kB / 1.33 GB, free: 19.05 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001307/1.009, allocations: 150.7 kB / 1.33 GB, free: 18.95 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.009, allocations: 0 / 1.33 GB, free: 18.95 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003039/1.009, allocations: 47.02 kB / 1.33 GB, free: 18.94 MB / 1.061 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.0001822/1.009, allocations: 112.7 kB / 1.33 GB, free: 18.84 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004104/1.01, allocations: 227.6 kB / 1.331 GB, free: 18.68 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.01, allocations: 0 / 1.331 GB, free: 18.68 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.979e-05/1.01, allocations: 33.69 kB / 1.331 GB, free: 18.66 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/1.01, allocations: 43.77 kB / 1.331 GB, free: 18.64 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006177/1.011, allocations: 336.4 kB / 1.331 GB, free: 18.4 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/1.011, allocations: 0.7274 MB / 1.332 GB, free: 17.7 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.405e-05/1.011, allocations: 16.28 kB / 1.332 GB, free: 17.7 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/1.011, allocations: 7.938 kB / 1.332 GB, free: 17.69 MB / 1.061 GB Notification: Performance of Templates: time 0.006595/1.018, allocations: 2.504 MB / 1.334 GB, free: 17.44 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.944491811998887]