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.001858/0.001858, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002394/0.002394, allocations: 215.4 kB / 22.25 MB, free: 5.262 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.572/1.572, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.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 3.559/3.559, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 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.002092/0.002092, allocations: 72.69 kB / 1.186 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4788/0.4809, allocations: 181.9 MB / 1.364 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002488/0.4834, allocations: 0.8544 MB / 1.365 GB, free: 12.78 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002236/0.4856, allocations: 1.312 MB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.877e-05/0.4857, allocations: 3.938 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.4859, allocations: 15.8 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.486, allocations: 35.72 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008746/0.4868, allocations: 265.4 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005085/0.4874, allocations: 331.4 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/0.4876, allocations: 33.67 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002037/0.4878, allocations: 135.7 kB / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.488, allocations: 87.64 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.868e-05/0.488, allocations: 32 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.4881, allocations: 47.97 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.67e-05/0.4882, allocations: 51.78 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001418/0.4884, allocations: 103.6 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004913/0.4889, allocations: 350.8 kB / 1.367 GB, free: 9.988 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.4889, allocations: 4 kB / 1.367 GB, free: 9.984 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.313e-06/0.4889, allocations: 3.938 kB / 1.367 GB, free: 9.98 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.341e-05/0.4889, allocations: 0 / 1.367 GB, free: 9.98 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.0008387/0.4897, allocations: 480.7 kB / 1.368 GB, free: 9.465 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.4898, allocations: 12.03 kB / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003631/0.4901, allocations: 60.75 kB / 1.368 GB, free: 9.395 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006781/0.4908, allocations: 238 kB / 1.368 GB, free: 9.137 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.182e-05/0.4908, allocations: 12.38 kB / 1.368 GB, free: 9.125 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.956e-05/0.4909, allocations: 28.36 kB / 1.368 GB, free: 9.098 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002731/0.4912, allocations: 148.8 kB / 1.368 GB, free: 8.938 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.4912, allocations: 11.88 kB / 1.368 GB, free: 8.926 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.4912, allocations: 4 kB / 1.368 GB, free: 8.922 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.4912, allocations: 4 kB / 1.368 GB, free: 8.918 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.4914, allocations: 63.89 kB / 1.368 GB, free: 8.855 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000856/0.4922, allocations: 0.6413 MB / 1.369 GB, free: 8.172 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.4923, allocations: 53.2 kB / 1.369 GB, free: 8.102 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.155e-05/0.4924, allocations: 29.7 kB / 1.369 GB, free: 8.066 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.4924, allocations: 4 kB / 1.369 GB, free: 8.062 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002514/0.4926, allocations: 101 kB / 1.369 GB, free: 7.945 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/0.4926, allocations: 0 / 1.369 GB, free: 7.945 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0003356/0.493, allocations: 129.8 kB / 1.369 GB, free: 7.812 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.001e-05/0.493, allocations: 89.09 kB / 1.369 GB, free: 7.707 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002329/0.4933, allocations: 207.8 kB / 1.37 GB, free: 7.488 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/0.4933, allocations: 29.7 kB / 1.37 GB, free: 7.453 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.4935, allocations: 148.3 kB / 1.37 GB, free: 7.305 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.4935, allocations: 23.84 kB / 1.37 GB, free: 7.281 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.4936, allocations: 65.67 kB / 1.37 GB, free: 7.211 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.4938, allocations: 326.8 kB / 1.37 GB, free: 6.883 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.494, allocations: 127.4 kB / 1.37 GB, free: 6.746 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003163/0.4943, allocations: 243.3 kB / 1.371 GB, free: 6.453 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.4946, allocations: 194.2 kB / 1.371 GB, free: 6.227 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4946, allocations: 4.031 kB / 1.371 GB, free: 6.223 MB / 1.061 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005571/0.4951, allocations: 368.1 kB / 1.371 GB, free: 5.832 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.817e-05/0.4952, allocations: 67.39 kB / 1.371 GB, free: 5.754 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.4952, allocations: 4.141 kB / 1.371 GB, free: 5.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.4952, allocations: 0 / 1.371 GB, free: 5.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-05/0.4953, allocations: 19.91 kB / 1.371 GB, free: 5.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.4953, allocations: 4 kB / 1.371 GB, free: 5.727 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003196/0.4956, allocations: 60.08 kB / 1.371 GB, free: 5.668 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/0.4957, allocations: 12 kB / 1.371 GB, free: 5.656 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.0001873/0.4959, allocations: 155 kB / 1.371 GB, free: 5.496 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.4959, allocations: 11.91 kB / 1.371 GB, free: 5.484 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.353e-05/0.4959, allocations: 20.97 kB / 1.371 GB, free: 5.461 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.4959, allocations: 0 / 1.371 GB, free: 5.461 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.4959, allocations: 7.938 kB / 1.371 GB, free: 5.453 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.4959, allocations: 3.984 kB / 1.371 GB, free: 5.449 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.4961, allocations: 161.3 kB / 1.372 GB, free: 5.262 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.4961, allocations: 3.938 kB / 1.372 GB, free: 5.258 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.655e-05/0.4962, allocations: 7.984 kB / 1.372 GB, free: 5.25 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4962, allocations: 0 / 1.372 GB, free: 5.25 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.4962, allocations: 8 kB / 1.372 GB, free: 5.242 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4962, allocations: 0 / 1.372 GB, free: 5.242 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4962, allocations: 3.938 kB / 1.372 GB, free: 5.238 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.4964, allocations: 125.9 kB / 1.372 GB, free: 5.094 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.161e-05/0.4964, allocations: 23.84 kB / 1.372 GB, free: 5.07 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.4965, allocations: 11.92 kB / 1.372 GB, free: 5.059 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.874e-05/0.4965, allocations: 0 / 1.372 GB, free: 5.059 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.4965, allocations: 7.984 kB / 1.372 GB, free: 5.051 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.4966, allocations: 8 kB / 1.372 GB, free: 5.043 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001423/0.4967, allocations: 144.2 kB / 1.372 GB, free: 4.902 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4967, allocations: 0 / 1.372 GB, free: 4.902 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002745/0.497, allocations: 47.89 kB / 1.372 GB, free: 4.855 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.0001863/0.4972, allocations: 99.23 kB / 1.372 GB, free: 4.746 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004896/0.4976, allocations: 306 kB / 1.372 GB, free: 4.41 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4977, allocations: 0 / 1.372 GB, free: 4.41 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.619e-05/0.4977, allocations: 23.98 kB / 1.372 GB, free: 4.387 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.498, allocations: 45.53 kB / 1.372 GB, free: 4.344 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006243/0.4987, allocations: 312.5 kB / 1.373 GB, free: 4.008 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.4988, allocations: 120 kB / 1.373 GB, free: 3.875 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.04e-05/0.4989, allocations: 21.47 kB / 1.373 GB, free: 3.852 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.53e-05/0.4989, allocations: 19.81 kB / 1.373 GB, free: 3.836 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.4989, allocations: 0 / 1.373 GB, free: 3.836 MB / 1.061 GB Notification: Performance of Templates: time 0.006856/0.5058, allocations: 2.778 MB / 1.376 GB, free: 1.129 MB / 1.061 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 -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/jenkins/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: 10.035520903766155]