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.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.001535/0.001535, allocations: 110 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.002456/0.002456, allocations: 187.3 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.595/1.595, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.388/3.388, allocations: 0.4893 GB / 0.7884 GB, free: 33.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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_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: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 68.3 kB / 1.145 GB, free: 30.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4577/0.4598, allocations: 174.9 MB / 1.316 GB, free: 9.73 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002589/0.4624, allocations: 0.8827 MB / 1.317 GB, free: 8.848 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002214/0.4646, allocations: 1.299 MB / 1.318 GB, free: 7.535 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.4648, allocations: 0 / 1.318 GB, free: 7.535 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001323/0.4649, allocations: 23.8 kB / 1.318 GB, free: 7.512 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.465, allocations: 31.72 kB / 1.318 GB, free: 7.48 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000998/0.466, allocations: 266.3 kB / 1.318 GB, free: 7.223 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005361/0.4665, allocations: 331.4 kB / 1.319 GB, free: 6.898 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.4667, allocations: 37.66 kB / 1.319 GB, free: 6.855 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000245/0.467, allocations: 131.7 kB / 1.319 GB, free: 6.727 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002453/0.4672, allocations: 115.6 kB / 1.319 GB, free: 6.613 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.025e-05/0.4673, allocations: 28 kB / 1.319 GB, free: 6.586 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.4674, allocations: 51.92 kB / 1.319 GB, free: 6.535 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.298e-05/0.4675, allocations: 55.77 kB / 1.319 GB, free: 6.48 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001813/0.4677, allocations: 115.5 kB / 1.319 GB, free: 6.367 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005159/0.4682, allocations: 350.8 kB / 1.32 GB, free: 6.023 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4682, allocations: 3.938 kB / 1.32 GB, free: 6.02 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4682, allocations: 0 / 1.32 GB, free: 6.02 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.4682, allocations: 0 / 1.32 GB, free: 6.02 MB / 1.014 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.0009173/0.4691, allocations: 480.8 kB / 1.32 GB, free: 5.504 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.4692, allocations: 12.03 kB / 1.32 GB, free: 5.492 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.4693, allocations: 32.8 kB / 1.32 GB, free: 5.461 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007299/0.47, allocations: 242 kB / 1.32 GB, free: 5.199 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.398e-05/0.4701, allocations: 16.36 kB / 1.32 GB, free: 5.184 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.782e-05/0.4701, allocations: 24.36 kB / 1.32 GB, free: 5.16 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000293/0.4704, allocations: 156.1 kB / 1.321 GB, free: 4.992 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.4704, allocations: 7.938 kB / 1.321 GB, free: 4.984 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.4704, allocations: 4 kB / 1.321 GB, free: 4.98 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.4705, allocations: 4 kB / 1.321 GB, free: 4.977 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.4706, allocations: 63.89 kB / 1.321 GB, free: 4.914 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000992/0.4716, allocations: 0.7265 MB / 1.321 GB, free: 4.133 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.4717, allocations: 53.14 kB / 1.321 GB, free: 4.062 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.061e-05/0.4717, allocations: 25.78 kB / 1.321 GB, free: 4.031 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.4718, allocations: 0 / 1.321 GB, free: 4.031 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002045/0.472, allocations: 101 kB / 1.322 GB, free: 3.914 MB / 1.014 GB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/0.472, allocations: 3.938 kB / 1.322 GB, free: 3.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.00035/0.4723, allocations: 129.5 kB / 1.322 GB, free: 3.777 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.879e-05/0.4724, allocations: 81.11 kB / 1.322 GB, free: 3.68 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.4727, allocations: 215.8 kB / 1.322 GB, free: 3.457 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.489e-05/0.4727, allocations: 33.7 kB / 1.322 GB, free: 3.418 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.4728, allocations: 136.3 kB / 1.322 GB, free: 3.281 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.4729, allocations: 23.81 kB / 1.322 GB, free: 3.258 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.473, allocations: 69.67 kB / 1.322 GB, free: 3.184 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.4732, allocations: 322.8 kB / 1.322 GB, free: 2.859 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.4733, allocations: 67.97 kB / 1.323 GB, free: 2.793 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.4736, allocations: 135.6 kB / 1.323 GB, free: 2.633 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/0.4739, allocations: 206.1 kB / 1.323 GB, free: 2.395 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.4739, allocations: 0 / 1.323 GB, free: 2.395 MB / 1.014 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005542/0.4744, allocations: 292.8 kB / 1.323 GB, free: 2.09 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.476e-05/0.4745, allocations: 63.39 kB / 1.323 GB, free: 2.016 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.4745, allocations: 4 kB / 1.323 GB, free: 2.012 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.896e-05/0.4745, allocations: 8.125 kB / 1.323 GB, free: 2.004 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.245e-05/0.4746, allocations: 19.94 kB / 1.323 GB, free: 1.984 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.4746, allocations: 4 kB / 1.323 GB, free: 1.98 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004482/0.4751, allocations: 71 kB / 1.323 GB, free: 1.914 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.633e-05/0.4751, allocations: 15.98 kB / 1.323 GB, free: 1.898 MB / 1.014 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.0001821/0.4753, allocations: 159 kB / 1.323 GB, free: 1.734 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.4753, allocations: 15.91 kB / 1.323 GB, free: 1.719 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.392e-05/0.4753, allocations: 17.02 kB / 1.324 GB, free: 1.699 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.4753, allocations: 0 / 1.324 GB, free: 1.699 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4754, allocations: 0 / 1.324 GB, free: 1.699 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.4754, allocations: 4 kB / 1.324 GB, free: 1.695 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.4756, allocations: 204.6 kB / 1.324 GB, free: 1.453 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4756, allocations: 0 / 1.324 GB, free: 1.453 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.843e-05/0.4756, allocations: 4.469 kB / 1.324 GB, free: 1.449 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.4756, allocations: 0 / 1.324 GB, free: 1.449 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.4756, allocations: 0 / 1.324 GB, free: 1.449 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.006e-05/0.4756, allocations: 19.91 kB / 1.324 GB, free: 1.43 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.4756, allocations: 0 / 1.324 GB, free: 1.43 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/0.4759, allocations: 145.7 kB / 1.324 GB, free: 1.266 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.671e-05/0.4759, allocations: 11.91 kB / 1.324 GB, free: 1.254 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.4759, allocations: 0 / 1.324 GB, free: 1.254 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.155e-05/0.476, allocations: 0 / 1.324 GB, free: 1.254 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/0.476, allocations: 15.98 kB / 1.324 GB, free: 1.238 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.476, allocations: 4 kB / 1.324 GB, free: 1.234 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001519/0.4762, allocations: 152.1 kB / 1.324 GB, free: 1.086 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4762, allocations: 0 / 1.324 GB, free: 1.086 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003305/0.4765, allocations: 43.89 kB / 1.324 GB, free: 1.043 MB / 1.014 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.0001847/0.4767, allocations: 103.8 kB / 1.324 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000437/0.4771, allocations: 234.9 kB / 1.324 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4771, allocations: 8.125 kB / 1.324 GB, free: 0.668 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 6.152e-05/0.4772, allocations: 23.98 kB / 1.324 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.4775, allocations: 35.86 kB / 1.324 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006287/0.4781, allocations: 308.6 kB / 1.325 GB, free: 284 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004306/0.4786, allocations: 0.7281 MB / 1.325 GB, free: 15.52 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.357e-05/0.4786, allocations: 29.47 kB / 1.326 GB, free: 15.5 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.271e-05/0.4787, allocations: 15.44 kB / 1.326 GB, free: 15.48 MB / 1.029 GB Notification: Performance of SimCode: time 3.9e-07/0.4787, allocations: 4 kB / 1.326 GB, free: 15.48 MB / 1.029 GB Notification: Performance of Templates: time 0.006896/0.4856, allocations: 2.574 MB / 1.328 GB, free: 12.94 MB / 1.029 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=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: 9.663074720650911]