Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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.002035/0.002035, 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.002273/0.002273, allocations: 181.7 kB / 22.22 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.576/1.576, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.427/3.427, allocations: 496 MB / 0.7835 GB, free: 33.61 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-maint.12.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.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndInt.u.1.|extIndInt.u.2.|extIndInt.u.3.|extIndInt.u.4.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndInt.u.1.|extIndInt.u.2.|extIndInt.u.3.|extIndInt.u.4.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 69.98 kB / 1.138 GB, free: 33.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4472/0.4493, allocations: 173.6 MB / 1.307 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.00368/0.453, allocations: 1.166 MB / 1.308 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003552/0.4565, allocations: 1.525 MB / 1.31 GB, free: 15.14 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.4567, allocations: 4 kB / 1.31 GB, free: 15.13 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002146/0.4569, allocations: 31.61 kB / 1.31 GB, free: 15.1 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002252/0.4571, allocations: 67.44 kB / 1.31 GB, free: 15.04 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002351/0.4595, allocations: 496.3 kB / 1.31 GB, free: 14.56 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001192/0.4607, allocations: 0.5816 MB / 1.311 GB, free: 13.98 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004236/0.4611, allocations: 104.9 kB / 1.311 GB, free: 13.88 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004556/0.4615, allocations: 235.4 kB / 1.311 GB, free: 13.64 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005435/0.4621, allocations: 223.2 kB / 1.312 GB, free: 13.43 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001696/0.4622, allocations: 60 kB / 1.312 GB, free: 13.37 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002591/0.4625, allocations: 75.98 kB / 1.312 GB, free: 13.29 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.4627, allocations: 75.7 kB / 1.312 GB, free: 13.22 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004128/0.4631, allocations: 223.1 kB / 1.312 GB, free: 13 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00122/0.4643, allocations: 0.6305 MB / 1.313 GB, free: 12.37 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.4643, allocations: 0 / 1.313 GB, free: 12.37 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.796e-06/0.4643, allocations: 0 / 1.313 GB, free: 12.37 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.254e-05/0.4643, allocations: 0 / 1.313 GB, free: 12.37 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001689/0.466, allocations: 0.6756 MB / 1.313 GB, free: 11.63 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/0.4661, allocations: 12.92 kB / 1.313 GB, free: 11.62 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002167/0.4663, allocations: 48.7 kB / 1.313 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001769/0.4681, allocations: 337.8 kB / 1.314 GB, free: 11.22 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.724e-05/0.4681, allocations: 24.81 kB / 1.314 GB, free: 11.2 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.4682, allocations: 32.38 kB / 1.314 GB, free: 11.17 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008379/0.4691, allocations: 255.8 kB / 1.314 GB, free: 10.91 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.4691, allocations: 3.938 kB / 1.314 GB, free: 10.91 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.137e-05/0.4691, allocations: 15.98 kB / 1.314 GB, free: 10.89 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.4692, allocations: 4 kB / 1.314 GB, free: 10.89 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004915/0.4696, allocations: 149.7 kB / 1.314 GB, free: 10.74 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002387/0.472, allocations: 0.8285 MB / 1.315 GB, free: 9.867 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006557/0.4727, allocations: 212.4 kB / 1.315 GB, free: 9.652 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004603/0.4732, allocations: 188.8 kB / 1.315 GB, free: 9.465 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.4732, allocations: 0 / 1.315 GB, free: 9.465 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007515/0.4739, allocations: 252.5 kB / 1.316 GB, free: 9.195 MB / 1.014 GB Notification: Performance of pre-optimization done (n=28): time 3.056e-06/0.4739, allocations: 0 / 1.316 GB, free: 9.195 MB / 1.014 GB Notification: Performance of matching and sorting (n=28): time 0.001399/0.4753, allocations: 435.8 kB / 1.316 GB, free: 8.766 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001829/0.4755, allocations: 110.8 kB / 1.316 GB, free: 8.633 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006048/0.4761, allocations: 332.3 kB / 1.316 GB, free: 8.305 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001833/0.4763, allocations: 37.7 kB / 1.316 GB, free: 8.262 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002705/0.4766, allocations: 188.7 kB / 1.317 GB, free: 8.07 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.4767, allocations: 67.58 kB / 1.317 GB, free: 8.004 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004061/0.4771, allocations: 142 kB / 1.317 GB, free: 7.855 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002699/0.4773, allocations: 338.8 kB / 1.317 GB, free: 7.516 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007336/0.4781, allocations: 212.7 kB / 1.317 GB, free: 7.309 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008848/0.479, allocations: 332.9 kB / 1.318 GB, free: 6.938 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.4803, allocations: 0.5272 MB / 1.318 GB, free: 6.34 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.4803, allocations: 0 / 1.318 GB, free: 6.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.002236/0.4825, allocations: 0.7443 MB / 1.319 GB, free: 5.566 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.000177/0.4827, allocations: 126.8 kB / 1.319 GB, free: 5.418 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.4827, allocations: 4.406 kB / 1.319 GB, free: 5.414 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.336e-05/0.4828, allocations: 8 kB / 1.319 GB, free: 5.406 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003947/0.4831, allocations: 59.91 kB / 1.319 GB, free: 5.348 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.587e-05/0.4832, allocations: 11.88 kB / 1.319 GB, free: 5.336 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.4844, allocations: 131.6 kB / 1.319 GB, free: 5.207 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002044/0.4846, allocations: 67.86 kB / 1.319 GB, free: 5.141 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,conInt3.y,conInt2.y,extIndInt.u[4],extIndInt.u[1],extIndInt1.u[4],extIndInt2.u[4],extIndInt3.u[4],extIndInt4.u[4],extIndInt1.u[1],extIndInt2.u[1],extIndInt3.u[1],extIndInt4.u[1],intPul3.booPul.y,$PRE.intPul3.booPul.y,intPul3.y,intPul2.booPul.y,$PRE.intPul2.booPul.y,intPul2.y,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul.booPul.y,$PRE.intPul.booPul.y,extIndInt4.y,extIndInt4.u[3],extIndInt4.u[2],extIndInt3.y,extIndInt3.u[3],extIndInt3.u[2],extIndInt2.y,extIndInt2.u[3],extIndInt2.u[2],extIndInt1.y,extIndInt1.u[3],extIndInt1.u[2],extIndInt.u[3],extIndInt.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.0004269/0.4851, allocations: 194.4 kB / 1.319 GB, free: 4.941 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.74e-05/0.4852, allocations: 35.81 kB / 1.32 GB, free: 4.906 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/0.4862, allocations: 370 kB / 1.32 GB, free: 4.539 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.4862, allocations: 0 / 1.32 GB, free: 4.539 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.4862, allocations: 7.938 kB / 1.32 GB, free: 4.531 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.4862, allocations: 0 / 1.32 GB, free: 4.531 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/0.4881, allocations: 0.7164 MB / 1.321 GB, free: 3.766 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.4881, allocations: 4 kB / 1.321 GB, free: 3.762 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000265/0.4883, allocations: 43.84 kB / 1.321 GB, free: 3.719 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.4883, allocations: 0 / 1.321 GB, free: 3.719 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/0.4884, allocations: 8 kB / 1.321 GB, free: 3.711 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.4884, allocations: 0 / 1.321 GB, free: 3.711 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4884, allocations: 0 / 1.321 GB, free: 3.711 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009549/0.4893, allocations: 436.1 kB / 1.321 GB, free: 3.266 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.857e-05/0.4894, allocations: 35.64 kB / 1.321 GB, free: 3.23 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8e-05/0.4895, allocations: 15.98 kB / 1.321 GB, free: 3.215 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/0.4897, allocations: 8 kB / 1.321 GB, free: 3.207 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.4899, allocations: 27.94 kB / 1.321 GB, free: 3.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.533e-05/0.4899, allocations: 12 kB / 1.321 GB, free: 3.168 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004634/0.4904, allocations: 211.1 kB / 1.321 GB, free: 2.961 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4904, allocations: 0 / 1.321 GB, free: 2.961 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001038/0.4914, allocations: 103.9 kB / 1.321 GB, free: 2.859 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (extIndInt.u[2],extIndInt.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt1.u[2],extIndInt1.u[3],extIndInt1.y,extIndInt2.u[2],extIndInt2.u[3],extIndInt2.y,extIndInt3.u[2],extIndInt3.u[3],extIndInt3.y,extIndInt4.u[2],extIndInt4.u[3],extIndInt4.y,intPul.booPul.y,intPul1.booPul.y,intPul2.y,intPul2.booPul.y,intPul3.y,intPul3.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004984/0.4919, allocations: 122 kB / 1.322 GB, free: 2.727 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00192/0.4938, allocations: 0.6183 MB / 1.322 GB, free: 2.059 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.4938, allocations: 0 / 1.322 GB, free: 2.059 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003569/0.4942, allocations: 123.9 kB / 1.322 GB, free: 1.938 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009775/0.4952, allocations: 80.14 kB / 1.322 GB, free: 1.863 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.497, allocations: 0.5827 MB / 1.323 GB, free: 1.254 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008116/0.4979, allocations: 0.7769 MB / 1.324 GB, free: 464 kB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003424/0.4982, allocations: 71.22 kB / 1.324 GB, free: 396 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.4983, allocations: 43.38 kB / 1.324 GB, free: 352 kB / 1.014 GB Notification: Performance of SimCode: time 1.262e-06/0.4983, allocations: 0 / 1.324 GB, free: 352 kB / 1.014 GB Notification: Performance of Templates: time 0.0233/0.5216, allocations: 5.658 MB / 1.329 GB, free: 10.75 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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.054871814325452]