Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001821/0.001821, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.002204/0.002204, allocations: 189.5 kB / 22.23 MB, free: 5.133 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.639/1.639, 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.315/3.315, allocations: 0.4893 GB / 0.7884 GB, free: 33.11 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.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_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 66.08 kB / 1.145 GB, free: 30.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4272/0.4292, allocations: 174.9 MB / 1.316 GB, free: 9.688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002737/0.432, allocations: 1.159 MB / 1.317 GB, free: 8.527 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002663/0.4346, allocations: 1.529 MB / 1.319 GB, free: 6.984 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.4347, allocations: 4 kB / 1.319 GB, free: 6.98 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001543/0.4349, allocations: 35.53 kB / 1.319 GB, free: 6.945 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002577/0.4351, allocations: 63.5 kB / 1.319 GB, free: 6.883 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001367/0.4365, allocations: 496.7 kB / 1.319 GB, free: 6.406 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006859/0.4372, allocations: 0.5777 MB / 1.32 GB, free: 5.824 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000311/0.4375, allocations: 112.9 kB / 1.32 GB, free: 5.711 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003827/0.4379, allocations: 223.5 kB / 1.32 GB, free: 5.492 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003201/0.4382, allocations: 219.2 kB / 1.32 GB, free: 5.277 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.715e-05/0.4383, allocations: 60 kB / 1.32 GB, free: 5.219 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001511/0.4385, allocations: 75.98 kB / 1.32 GB, free: 5.145 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.4386, allocations: 79.69 kB / 1.321 GB, free: 5.066 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003053/0.4389, allocations: 223.1 kB / 1.321 GB, free: 4.848 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007541/0.4396, allocations: 0.6306 MB / 1.321 GB, free: 4.215 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4396, allocations: 0 / 1.321 GB, free: 4.215 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4396, allocations: 0 / 1.321 GB, free: 4.215 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.335e-05/0.4396, allocations: 0 / 1.321 GB, free: 4.215 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.001228/0.4409, allocations: 0.6717 MB / 1.322 GB, free: 3.484 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.4409, allocations: 12.03 kB / 1.322 GB, free: 3.473 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.441, allocations: 48.7 kB / 1.322 GB, free: 3.426 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.4422, allocations: 337.8 kB / 1.322 GB, free: 3.074 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.652e-05/0.4422, allocations: 24.81 kB / 1.322 GB, free: 3.051 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-05/0.4423, allocations: 40.36 kB / 1.322 GB, free: 3.012 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005533/0.4429, allocations: 255.7 kB / 1.323 GB, free: 2.758 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.4429, allocations: 3.938 kB / 1.323 GB, free: 2.754 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/0.4429, allocations: 12 kB / 1.323 GB, free: 2.742 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.4429, allocations: 7.938 kB / 1.323 GB, free: 2.734 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002863/0.4432, allocations: 149.7 kB / 1.323 GB, free: 2.586 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.4449, allocations: 0.8208 MB / 1.324 GB, free: 1.719 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003934/0.4453, allocations: 210.7 kB / 1.324 GB, free: 1.504 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.4456, allocations: 188.8 kB / 1.324 GB, free: 1.316 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.4456, allocations: 3.984 kB / 1.324 GB, free: 1.312 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004488/0.446, allocations: 253.2 kB / 1.324 GB, free: 1.043 MB / 1.014 GB Notification: Performance of pre-optimization done (n=28): time 2.064e-06/0.446, allocations: 4 kB / 1.324 GB, free: 1.039 MB / 1.014 GB Notification: Performance of matching and sorting (n=28): time 0.000803/0.4468, allocations: 432.7 kB / 1.325 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.4469, allocations: 114.8 kB / 1.325 GB, free: 488 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003635/0.4473, allocations: 328.3 kB / 1.325 GB, free: 156 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.911e-05/0.4474, allocations: 41.7 kB / 1.325 GB, free: 108 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.4476, allocations: 176.8 kB / 1.325 GB, free: 15.93 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.895e-05/0.4476, allocations: 67.58 kB / 1.325 GB, free: 15.86 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002603/0.4479, allocations: 146 kB / 1.326 GB, free: 15.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002168/0.4481, allocations: 342.8 kB / 1.326 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004746/0.4486, allocations: 208.7 kB / 1.326 GB, free: 15.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000517/0.4491, allocations: 328.9 kB / 1.326 GB, free: 14.8 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007262/0.4498, allocations: 0.5272 MB / 1.327 GB, free: 14.2 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.4498, allocations: 0 / 1.327 GB, free: 14.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001234/0.4511, allocations: 0.7405 MB / 1.328 GB, free: 13.43 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001265/0.4512, allocations: 124.5 kB / 1.328 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.4512, allocations: 8.344 kB / 1.328 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/0.4512, allocations: 8 kB / 1.328 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/0.4515, allocations: 67.84 kB / 1.328 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.704e-05/0.4515, allocations: 7.938 kB / 1.328 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007616/0.4523, allocations: 127.6 kB / 1.328 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.4524, allocations: 71.92 kB / 1.328 GB, free: 13 MB / 1.029 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.0002729/0.4527, allocations: 190.2 kB / 1.328 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.677e-05/0.4527, allocations: 35.81 kB / 1.328 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006578/0.4534, allocations: 365.6 kB / 1.329 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.4534, allocations: 4 kB / 1.329 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.4534, allocations: 3.938 kB / 1.329 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.4534, allocations: 3.984 kB / 1.329 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.4546, allocations: 0.7202 MB / 1.329 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4546, allocations: 4 kB / 1.329 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.4548, allocations: 39.92 kB / 1.329 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.4548, allocations: 0 / 1.329 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.4548, allocations: 8 kB / 1.329 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.4548, allocations: 0 / 1.329 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4548, allocations: 3.938 kB / 1.329 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005492/0.4553, allocations: 436.6 kB / 1.33 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.485e-05/0.4554, allocations: 35.67 kB / 1.33 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.998e-05/0.4554, allocations: 12 kB / 1.33 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.4556, allocations: 8 kB / 1.33 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.9e-05/0.4556, allocations: 23.95 kB / 1.33 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.4557, allocations: 12 kB / 1.33 GB, free: 11.04 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002883/0.4559, allocations: 215 kB / 1.33 GB, free: 10.82 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4559, allocations: 0 / 1.33 GB, free: 10.82 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004727/0.4564, allocations: 99.89 kB / 1.33 GB, free: 10.73 MB / 1.029 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.0002119/0.4566, allocations: 125.2 kB / 1.33 GB, free: 10.59 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009315/0.4576, allocations: 0.6145 MB / 1.331 GB, free: 9.926 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.4576, allocations: 0 / 1.331 GB, free: 9.926 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.4578, allocations: 127.8 kB / 1.331 GB, free: 9.801 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000542/0.4583, allocations: 89.72 kB / 1.331 GB, free: 9.715 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.4594, allocations: 0.5902 MB / 1.332 GB, free: 9.102 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005296/0.4599, allocations: 0.7808 MB / 1.332 GB, free: 8.293 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001622/0.4601, allocations: 71.17 kB / 1.332 GB, free: 8.227 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.941e-05/0.4601, allocations: 43.42 kB / 1.333 GB, free: 8.184 MB / 1.029 GB Notification: Performance of SimCode: time 6.21e-07/0.4601, allocations: 0 / 1.333 GB, free: 8.184 MB / 1.029 GB Notification: Performance of Templates: time 0.01234/0.4725, allocations: 5.646 MB / 1.338 GB, free: 2.602 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.915893294848502]