Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001648/0.001648, allocations: 109 kB / 18.93 MB, free: 2.945 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.002015/0.002015, allocations: 191.4 kB / 22.23 MB, free: 5.16 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.599/1.599, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.644/2.644, allocations: 443.4 MB / 0.7321 GB, free: 12.31 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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_10_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_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 63.88 kB / 1.061 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9625/0.9645, allocations: 160.8 MB / 1.218 GB, free: 3.699 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002524/0.9671, allocations: 0.885 MB / 1.219 GB, free: 3.023 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002048/0.9691, allocations: 1.304 MB / 1.221 GB, free: 1.973 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.748e-05/0.9692, allocations: 5.219 kB / 1.221 GB, free: 1.969 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.9693, allocations: 21.23 kB / 1.221 GB, free: 1.949 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.525e-05/0.9694, allocations: 33.34 kB / 1.221 GB, free: 1.922 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008064/0.9702, allocations: 266.3 kB / 1.221 GB, free: 1.738 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004154/0.9706, allocations: 332.5 kB / 1.221 GB, free: 1.539 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.9708, allocations: 42.81 kB / 1.221 GB, free: 1.512 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.971, allocations: 137.1 kB / 1.221 GB, free: 1.434 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.9712, allocations: 109.6 kB / 1.222 GB, free: 1.352 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.605e-05/0.9712, allocations: 30.19 kB / 1.222 GB, free: 1.352 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.9714, allocations: 52.62 kB / 1.222 GB, free: 1.34 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.866e-05/0.9714, allocations: 50.19 kB / 1.222 GB, free: 1.305 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001673/0.9716, allocations: 113.5 kB / 1.222 GB, free: 1.223 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004548/0.9721, allocations: 352.3 kB / 1.222 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.9721, allocations: 0 / 1.222 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.162e-06/0.9721, allocations: 0 / 1.222 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.9721, allocations: 4.812 kB / 1.222 GB, free: 0.957 MB / 0.92 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.0008524/0.9729, allocations: 0.5543 MB / 1.223 GB, free: 416 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.973, allocations: 9.625 kB / 1.223 GB, free: 416 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.605e-05/0.9731, allocations: 27.27 kB / 1.223 GB, free: 404 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006958/0.9738, allocations: 298.4 kB / 1.223 GB, free: 116 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.9738, allocations: 17.12 kB / 1.223 GB, free: 108 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.52e-05/0.9738, allocations: 18.53 kB / 1.223 GB, free: 104 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002973/0.9741, allocations: 153.2 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.9741, allocations: 3.938 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.9742, allocations: 5.312 kB / 1.223 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.9742, allocations: 3.406 kB / 1.223 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.9743, allocations: 62 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.9754, allocations: 0.7569 MB / 1.224 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.9755, allocations: 59.03 kB / 1.224 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.308e-05/0.9756, allocations: 24.11 kB / 1.224 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.9756, allocations: 1.062 kB / 1.224 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000393/0.976, allocations: 109.2 kB / 1.224 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.894e-06/0.976, allocations: 0 / 1.224 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0004923/0.9765, allocations: 126.1 kB / 1.224 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.9766, allocations: 83.36 kB / 1.224 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003686/0.977, allocations: 216.6 kB / 1.225 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.812e-05/0.977, allocations: 30.05 kB / 1.225 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/0.9772, allocations: 145.5 kB / 1.225 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.002e-05/0.9773, allocations: 23.11 kB / 1.225 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.9775, allocations: 65.92 kB / 1.225 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002701/0.9777, allocations: 326.2 kB / 1.225 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/0.9779, allocations: 68.23 kB / 1.225 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.9782, allocations: 134.1 kB / 1.225 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003321/0.9785, allocations: 201.7 kB / 1.225 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.9785, allocations: 1.094 kB / 1.225 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006373/0.9792, allocations: 301.7 kB / 1.226 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.818e-05/0.9792, allocations: 60.78 kB / 1.226 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.9792, allocations: 2.031 kB / 1.226 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.632e-05/0.9793, allocations: 6.531 kB / 1.226 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.993e-05/0.9794, allocations: 12.05 kB / 1.226 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.9794, allocations: 6.156 kB / 1.226 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005014/0.9799, allocations: 68.91 kB / 1.226 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.666e-05/0.9799, allocations: 18.89 kB / 1.226 GB, free: 13.49 MB / 0.9356 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.0002321/0.9802, allocations: 154.5 kB / 1.226 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.635e-05/0.9802, allocations: 19.25 kB / 1.226 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.059e-05/0.9803, allocations: 18.23 kB / 1.226 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.9803, allocations: 0.875 kB / 1.226 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.9803, allocations: 0.75 kB / 1.226 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.9803, allocations: 0.7188 kB / 1.226 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003224/0.9806, allocations: 233.2 kB / 1.226 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.9806, allocations: 1.062 kB / 1.226 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.205e-05/0.9806, allocations: 8.25 kB / 1.226 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.9806, allocations: 1.125 kB / 1.226 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.9806, allocations: 5.125 kB / 1.226 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.9806, allocations: 1.062 kB / 1.226 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.9806, allocations: 1.219 kB / 1.226 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/0.9809, allocations: 136 kB / 1.226 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.938e-05/0.981, allocations: 97.53 kB / 1.227 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.981, allocations: 5.438 kB / 1.227 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.285e-05/0.981, allocations: 1.281 kB / 1.227 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.9811, allocations: 11.33 kB / 1.227 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.9811, allocations: 7.531 kB / 1.227 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001799/0.9813, allocations: 147.8 kB / 1.227 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.9813, allocations: 1.406 kB / 1.227 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003267/0.9816, allocations: 48.58 kB / 1.227 GB, free: 12.71 MB / 0.9356 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.0002375/0.9818, allocations: 108.4 kB / 1.227 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004315/0.9823, allocations: 239.3 kB / 1.227 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.9823, allocations: 0 / 1.227 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.334e-05/0.9823, allocations: 27.98 kB / 1.227 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.9826, allocations: 40.94 kB / 1.227 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006292/0.9833, allocations: 308.8 kB / 1.227 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/0.9837, allocations: 0.7232 MB / 1.228 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.709e-05/0.9837, allocations: 17.98 kB / 1.228 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.9838, allocations: 23.86 kB / 1.228 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of SimCode: time 4e-07/0.9838, allocations: 0 / 1.228 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of Templates: time 0.007325/0.9911, allocations: 2.577 MB / 1.231 GB, free: 10.13 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.408722281455994]