Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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=5000,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_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008075/0.0008075, allocations: 91.45 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 178.6 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 223.3 MB / 241 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.538/2.538, allocations: 390.9 MB / 0.667 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003935/0.0003937, allocations: 8 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7347/0.7351, allocations: 142.4 MB / 0.9557 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.001578/0.7368, allocations: 0.8525 MB / 0.9566 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002139/0.7389, allocations: 1.546 MB / 0.9581 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.865e-05/0.739, allocations: 3.312 kB / 0.9581 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.7392, allocations: 23.73 kB / 0.9581 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.7393, allocations: 49.31 kB / 0.9581 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.7403, allocations: 457.8 kB / 0.9586 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004865/0.7408, allocations: 0.5188 MB / 0.9591 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002988/0.7411, allocations: 132.5 kB / 0.9592 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.7413, allocations: 180.2 kB / 0.9594 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001812/0.7415, allocations: 148.4 kB / 0.9595 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.273e-05/0.7416, allocations: 21 kB / 0.9595 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.7417, allocations: 30.11 kB / 0.9596 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.166e-05/0.7418, allocations: 54.97 kB / 0.9596 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001884/0.742, allocations: 202.4 kB / 0.9598 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003765/0.7423, allocations: 467.7 kB / 0.9603 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.7424, allocations: 0 / 0.9603 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7424, allocations: 0 / 0.9603 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.7424, allocations: 0 / 0.9603 GB, free: 4.441 MB / 0.7169 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.0007286/0.7431, allocations: 0.6573 MB / 0.9609 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.7432, allocations: 8.25 kB / 0.9609 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.7433, allocations: 48 kB / 0.961 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.7443, allocations: 411.8 kB / 0.9613 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.673e-05/0.7444, allocations: 28.42 kB / 0.9614 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.902e-05/0.7445, allocations: 36.44 kB / 0.9614 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004492/0.7449, allocations: 255.6 kB / 0.9617 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.745, allocations: 0 / 0.9617 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.906e-05/0.745, allocations: 11.16 kB / 0.9617 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.745, allocations: 4.656 kB / 0.9617 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002782/0.7453, allocations: 163.2 kB / 0.9618 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.7466, allocations: 0.8567 MB / 0.9627 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003645/0.747, allocations: 217.4 kB / 0.9629 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002969/0.7473, allocations: 206.8 kB / 0.9631 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.7473, allocations: 2.344 kB / 0.9631 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003215/0.7476, allocations: 257.3 kB / 0.9633 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=28): time 1.332e-06/0.7476, allocations: 0 / 0.9633 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28): time 0.000854/0.7485, allocations: 433.8 kB / 0.9637 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.243e-05/0.7486, allocations: 115.8 kB / 0.9638 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004181/0.749, allocations: 329.5 kB / 0.9641 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.931e-05/0.7491, allocations: 40.73 kB / 0.9642 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.7492, allocations: 181.9 kB / 0.9644 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.803e-05/0.7493, allocations: 58.7 kB / 0.9644 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.7494, allocations: 70.89 kB / 0.9645 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.7496, allocations: 342.6 kB / 0.9648 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004607/0.75, allocations: 208.8 kB / 0.965 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00052/0.7506, allocations: 321.5 kB / 0.9653 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007418/0.7513, allocations: 0.5339 MB / 0.9658 GB, free: 184 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.7513, allocations: 0.9688 kB / 0.9658 GB, free: 184 kB / 0.7169 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001607/0.7529, allocations: 0.7333 MB / 0.9666 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001512/0.7531, allocations: 127.4 kB / 0.9667 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.7531, allocations: 3.281 kB / 0.9667 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.331e-05/0.7532, allocations: 9.781 kB / 0.9667 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.7534, allocations: 54.66 kB / 0.9667 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.805e-05/0.7535, allocations: 8.438 kB / 0.9668 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009045/0.7544, allocations: 175.8 kB / 0.9669 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001692/0.7546, allocations: 64.55 kB / 0.967 GB, free: 15.51 MB / 0.7325 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.0003564/0.7549, allocations: 193.5 kB / 0.9672 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.039e-05/0.755, allocations: 30.84 kB / 0.9672 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008503/0.7559, allocations: 367.2 kB / 0.9675 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.7559, allocations: 3.25 kB / 0.9675 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.7559, allocations: 4.719 kB / 0.9676 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.7559, allocations: 7.984 kB / 0.9676 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/0.7574, allocations: 0.7565 MB / 0.9683 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.7574, allocations: 1.188 kB / 0.9683 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.7576, allocations: 35.36 kB / 0.9683 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.7576, allocations: 5.25 kB / 0.9683 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/0.7576, allocations: 11.55 kB / 0.9683 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.7576, allocations: 1.031 kB / 0.9683 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.7576, allocations: 0 / 0.9683 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007431/0.7584, allocations: 433.8 kB / 0.9688 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.7585, allocations: 110 kB / 0.9689 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.961e-05/0.7586, allocations: 6.719 kB / 0.9689 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.7588, allocations: 22.89 kB / 0.9689 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.07e-05/0.7588, allocations: 22.41 kB / 0.9689 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-05/0.7589, allocations: 7.531 kB / 0.9689 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003172/0.7592, allocations: 213.6 kB / 0.9691 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7592, allocations: 0 / 0.9691 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008139/0.76, allocations: 97.39 kB / 0.9692 GB, free: 13.97 MB / 0.7325 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.0002877/0.7603, allocations: 137.4 kB / 0.9694 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001187/0.7615, allocations: 0.671 MB / 0.97 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7615, allocations: 1.094 kB / 0.97 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002641/0.7618, allocations: 145.8 kB / 0.9701 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005641/0.7624, allocations: 77.83 kB / 0.9702 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.7635, allocations: 0.6827 MB / 0.9709 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/0.7639, allocations: 0.7768 MB / 0.9716 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.87e-05/0.764, allocations: 44.64 kB / 0.9717 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of SimCode: time 7.92e-07/0.764, allocations: 0 / 0.9717 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of Templates: time 0.009518/0.7736, allocations: 4.923 MB / 0.9765 GB, free: 9.5 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches