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.001111/0.001111, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0014/0.002512, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0008007/0.0008007, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001076/0.001876, allocations: 475.6 kB / 11.8 MB, free: 2.375 MB / 13.93 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.034/1.034, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1371/1.171, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.434/2.434, allocations: 447.1 MB / 0.675 GB, free: 5.926 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2463/2.68, allocations: 146 MB / 0.8176 GB, free: 3.852 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.[0-9,]+.|extIntSig.y.[0-9,]+.|extIntSig1.y.[0-9,]+.",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.[0-9,]+.|extIntSig.y.[0-9,]+.|extIntSig1.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.053e-06/2.053e-06, allocations: 0 / 0.8189 GB, free: 2.527 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.278e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.523 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002045/0.002068, allocations: 0.9167 MB / 0.8198 GB, free: 1.602 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001372/0.003439, allocations: 1.357 MB / 0.8211 GB, free: 236 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.798e-05/0.003507, allocations: 0 / 0.8211 GB, free: 236 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.937e-05/0.003587, allocations: 15.81 kB / 0.8212 GB, free: 220 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 7.899e-05/0.003666, allocations: 39.66 kB / 0.8212 GB, free: 180 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005645/0.00423, allocations: 255.4 kB / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003167/0.004547, allocations: 327.4 kB / 0.8218 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.00467, allocations: 50.25 kB / 0.8218 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002481/0.004919, allocations: 207.7 kB / 0.822 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.005077, allocations: 71.83 kB / 0.8221 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.927e-05/0.005116, allocations: 24 kB / 0.8221 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.005251, allocations: 43.97 kB / 0.8221 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.568e-05/0.005317, allocations: 39.86 kB / 0.8222 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.582e-05/0.005392, allocations: 59.88 kB / 0.8222 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.005638, allocations: 191.2 kB / 0.8224 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.105e-05/0.005649, allocations: 4 kB / 0.8224 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.813e-06/0.005651, allocations: 0 / 0.8224 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.523e-05/0.005666, allocations: 0 / 0.8224 GB, free: 14.93 MB / 0.8073 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.0006053/0.006272, allocations: 494.9 kB / 0.8229 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.006305, allocations: 8.031 kB / 0.8229 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002472/0.006552, allocations: 126 kB / 0.823 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.006772, allocations: 189.4 kB / 0.8232 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.006792, allocations: 12.38 kB / 0.8232 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.006821, allocations: 20.38 kB / 0.8232 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.006953, allocations: 124.4 kB / 0.8233 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.006961, allocations: 8.125 kB / 0.8233 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.006973, allocations: 8.375 kB / 0.8234 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.00698, allocations: 4.375 kB / 0.8234 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.68e-05/0.007017, allocations: 27.86 kB / 0.8234 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004417/0.007459, allocations: 0.5267 MB / 0.8239 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.741e-05/0.007526, allocations: 45.2 kB / 0.8239 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.182e-05/0.007548, allocations: 17.77 kB / 0.824 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.324e-06/0.007555, allocations: 4 kB / 0.824 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001251/0.00768, allocations: 108.9 kB / 0.8241 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.007682, allocations: 0 / 0.8241 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001518/0.007834, allocations: 89.52 kB / 0.8242 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.007872, allocations: 77.11 kB / 0.8242 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.007997, allocations: 199.4 kB / 0.8244 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.008025, allocations: 33.7 kB / 0.8245 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.062e-05/0.008095, allocations: 132.2 kB / 0.8246 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.326e-05/0.008109, allocations: 15.83 kB / 0.8246 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.026e-05/0.008179, allocations: 61.66 kB / 0.8247 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.235e-05/0.008271, allocations: 334.8 kB / 0.825 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.812e-05/0.008349, allocations: 99.38 kB / 0.8251 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.008467, allocations: 227.2 kB / 0.8253 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.008602, allocations: 188.9 kB / 0.8255 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.008604, allocations: 0 / 0.8255 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002064/0.008811, allocations: 288.3 kB / 0.8257 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.765e-05/0.008858, allocations: 67.39 kB / 0.8258 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.008863, allocations: 0 / 0.8258 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.008874, allocations: 11.88 kB / 0.8258 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.67e-05/0.008921, allocations: 15.98 kB / 0.8258 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.008925, allocations: 4 kB / 0.8258 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004149/0.00934, allocations: 40.11 kB / 0.8259 GB, free: 11 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.009357, allocations: 15.98 kB / 0.8259 GB, free: 10.98 MB / 0.8073 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],conInt2.y,conInt3.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 8.17e-05/0.009439, allocations: 132.5 kB / 0.826 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.009453, allocations: 11.98 kB / 0.826 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.974e-05/0.009483, allocations: 17.02 kB / 0.826 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.009487, allocations: 7.938 kB / 0.826 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.009489, allocations: 0 / 0.826 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.009493, allocations: 0 / 0.826 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.304e-05/0.009586, allocations: 101.8 kB / 0.8261 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.009587, allocations: 0 / 0.8261 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.739e-05/0.009604, allocations: 12 kB / 0.8262 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.343e-05/0.009617, allocations: 15.89 kB / 0.8262 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.00962, allocations: 7.938 kB / 0.8262 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/0.009625, allocations: 4 kB / 0.8262 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.009626, allocations: 0 / 0.8262 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.009628, allocations: 3.938 kB / 0.8262 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.84e-05/0.009706, allocations: 105.9 kB / 0.8263 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.009717, allocations: 4 kB / 0.8263 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.595e-05/0.009733, allocations: 0 / 0.8263 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.388e-05/0.009757, allocations: 11.92 kB / 0.8263 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.00976, allocations: 4 kB / 0.8263 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.008e-05/0.0098, allocations: 51.11 kB / 0.8264 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.1e-08/0.0098, allocations: 4 kB / 0.8264 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001484/0.009948, allocations: 47.88 kB / 0.8264 GB, free: 10.39 MB / 0.8073 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.000115/0.01006, allocations: 85.66 kB / 0.8265 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000203/0.01027, allocations: 283.3 kB / 0.8268 GB, free: 9.984 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.01027, allocations: 0.5625 kB / 0.8268 GB, free: 9.984 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.75e-05/0.0103, allocations: 25.22 kB / 0.8268 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.01052, allocations: 276.4 kB / 0.827 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005537/0.01107, allocations: 296.9 kB / 0.8273 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.428e-05/0.01111, allocations: 71.98 kB / 0.8274 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.317e-05/0.01116, allocations: 21.48 kB / 0.8274 GB, free: 9.211 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.01128, allocations: 91.33 kB / 0.8275 GB, free: 9.121 MB / 0.8073 GB Notification: Performance of SimCode: time 1.353e-06/0.01128, allocations: 0 / 0.8275 GB, free: 9.121 MB / 0.8073 GB Notification: Performance of Templates: time 0.004449/0.01573, allocations: 2.934 MB / 0.8304 GB, free: 6.254 MB / 0.8073 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.425154656171799]