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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 111.5 kB / 18.88 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002328/0.002328, allocations: 191.8 kB / 22.17 MB, free: 5.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.771/2.771, allocations: 476.7 MB / 0.7645 GB, free: 10.13 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002075/0.002075, allocations: 63.91 kB / 1.109 GB, free: 6.602 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8455/0.8476, allocations: 168.7 MB / 1.274 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002185/0.8498, allocations: 0.8729 MB / 1.275 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001909/0.8517, allocations: 1.312 MB / 1.276 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.597e-05/0.8517, allocations: 0 / 1.276 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.8519, allocations: 15.81 kB / 1.276 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.329e-05/0.8519, allocations: 35.72 kB / 1.276 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000801/0.8527, allocations: 269.5 kB / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004268/0.8532, allocations: 323.4 kB / 1.277 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.8533, allocations: 57.05 kB / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.8535, allocations: 131.7 kB / 1.277 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.8537, allocations: 99.69 kB / 1.277 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.415e-05/0.8537, allocations: 32 kB / 1.277 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.8539, allocations: 59.91 kB / 1.277 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.981e-05/0.8539, allocations: 43.86 kB / 1.277 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000142/0.8541, allocations: 119.4 kB / 1.277 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004451/0.8545, allocations: 353.8 kB / 1.278 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.8545, allocations: 0 / 1.278 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.963e-06/0.8545, allocations: 0 / 1.278 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.8545, allocations: 0 / 1.278 GB, free: 0.9141 MB / 0.9669 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.0009168/0.8555, allocations: 0.5564 MB / 1.278 GB, free: 300 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.8555, allocations: 12.03 kB / 1.278 GB, free: 288 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.675e-05/0.8556, allocations: 24.8 kB / 1.278 GB, free: 264 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007576/0.8563, allocations: 304 kB / 1.279 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.921e-05/0.8564, allocations: 12.38 kB / 1.279 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.284e-05/0.8564, allocations: 20.38 kB / 1.279 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/0.8567, allocations: 152.2 kB / 1.279 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.8567, allocations: 3.938 kB / 1.279 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.8567, allocations: 8 kB / 1.279 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.8567, allocations: 4 kB / 1.279 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.8569, allocations: 59.91 kB / 1.279 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009458/0.8578, allocations: 0.7548 MB / 1.28 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.8579, allocations: 57.14 kB / 1.28 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.515e-05/0.858, allocations: 25.77 kB / 1.28 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.858, allocations: 7.938 kB / 1.28 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001894/0.8582, allocations: 101.1 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.492e-06/0.8582, allocations: 0 / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0003212/0.8585, allocations: 125.5 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/0.8586, allocations: 81.11 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.8588, allocations: 215.7 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.204e-05/0.8588, allocations: 33.7 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.859, allocations: 148.2 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.859, allocations: 11.84 kB / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/0.8591, allocations: 73.61 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.8593, allocations: 326.8 kB / 1.281 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.8594, allocations: 63.95 kB / 1.281 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.8597, allocations: 139.2 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/0.8599, allocations: 202.1 kB / 1.281 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.8599, allocations: 4 kB / 1.281 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005223/0.8604, allocations: 296.8 kB / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.276e-05/0.8605, allocations: 63.41 kB / 1.281 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.8605, allocations: 8.188 kB / 1.281 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.8605, allocations: 480 / 1.281 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/0.8606, allocations: 15.92 kB / 1.281 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.8606, allocations: 4 kB / 1.281 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004357/0.861, allocations: 67.88 kB / 1.281 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.8611, allocations: 15.98 kB / 1.282 GB, free: 12.59 MB / 0.9825 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.0001689/0.8612, allocations: 157.6 kB / 1.282 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.8613, allocations: 15.89 kB / 1.282 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.417e-05/0.8613, allocations: 16.94 kB / 1.282 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.8613, allocations: 3.984 kB / 1.282 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.8613, allocations: 0 / 1.282 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.8613, allocations: 0 / 1.282 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.8616, allocations: 233.5 kB / 1.282 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.8616, allocations: 4 kB / 1.282 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.559e-05/0.8616, allocations: 4 kB / 1.282 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.8616, allocations: 4 kB / 1.282 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.8616, allocations: 0 / 1.282 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.8616, allocations: 0 / 1.282 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.8616, allocations: 4 kB / 1.282 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.8618, allocations: 133.8 kB / 1.282 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.869e-05/0.8619, allocations: 93 kB / 1.282 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.8619, allocations: 4 kB / 1.282 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.544e-05/0.862, allocations: 12 kB / 1.282 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.862, allocations: 7.984 kB / 1.282 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.862, allocations: 4 kB / 1.282 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001338/0.8621, allocations: 149.5 kB / 1.282 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8621, allocations: 0 / 1.282 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002907/0.8624, allocations: 43.89 kB / 1.282 GB, free: 11.62 MB / 0.9825 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.0001997/0.8626, allocations: 116.7 kB / 1.282 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004448/0.8631, allocations: 238.6 kB / 1.283 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.8631, allocations: 0 / 1.283 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.841e-05/0.8631, allocations: 23.98 kB / 1.283 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.8634, allocations: 38.09 kB / 1.283 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005747/0.864, allocations: 312.8 kB / 1.283 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.8644, allocations: 0.7319 MB / 1.284 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.913e-05/0.8644, allocations: 21.55 kB / 1.284 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.834e-05/0.8645, allocations: 15.44 kB / 1.284 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.8645, allocations: 0 / 1.284 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of Templates: time 0.006456/0.8709, allocations: 2.548 MB / 1.286 GB, free: 7.543 MB / 0.9825 GB " [Timeout remaining time 299] 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.737381377257407]