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.001559/0.001559, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002039/0.002039, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 223.3 MB / 240 MB, free: 5.426 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.544/2.544, allocations: 390.9 MB / 0.666 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003576, allocations: 8 kB / 0.8154 GB, free: 13.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8101/0.8105, allocations: 142.4 MB / 0.9544 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.001376/0.8119, allocations: 0.8017 MB / 0.9552 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001936/0.8139, allocations: 1.49 MB / 0.9567 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.371e-05/0.814, allocations: 11.19 kB / 0.9567 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.8141, allocations: 17.05 kB / 0.9567 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.8142, allocations: 40.11 kB / 0.9568 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009908/0.8152, allocations: 412.6 kB / 0.9571 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004191/0.8157, allocations: 481.2 kB / 0.9576 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002492/0.8159, allocations: 121.8 kB / 0.9577 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.8161, allocations: 167.6 kB / 0.9579 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.8163, allocations: 148.8 kB / 0.958 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.203e-05/0.8164, allocations: 20.62 kB / 0.958 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.8165, allocations: 30.11 kB / 0.9581 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.125e-05/0.8166, allocations: 57.58 kB / 0.9581 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.8167, allocations: 81.2 kB / 0.9582 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004226/0.8171, allocations: 475.8 kB / 0.9587 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.8171, allocations: 0 / 0.9587 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.415e-06/0.8172, allocations: 0 / 0.9587 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.8172, allocations: 0 / 0.9587 GB, free: 4.605 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.0008083/0.818, allocations: 0.646 MB / 0.9593 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.818, allocations: 8.688 kB / 0.9593 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.8182, allocations: 49.55 kB / 0.9593 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009454/0.8191, allocations: 408.5 kB / 0.9597 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.344e-05/0.8192, allocations: 28.11 kB / 0.9598 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.846e-05/0.8193, allocations: 39.97 kB / 0.9598 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004005/0.8197, allocations: 250.6 kB / 0.96 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.8197, allocations: 0 / 0.96 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.8197, allocations: 6.75 kB / 0.96 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.8197, allocations: 13.45 kB / 0.9601 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000236/0.82, allocations: 157.7 kB / 0.9602 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/0.8214, allocations: 0.8529 MB / 0.961 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/0.8218, allocations: 217.2 kB / 0.9612 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003083/0.8221, allocations: 209.5 kB / 0.9614 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.8221, allocations: 6.375 kB / 0.9615 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003387/0.8225, allocations: 239.8 kB / 0.9617 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=28): time 1.482e-06/0.8225, allocations: 0 / 0.9617 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28): time 0.0007387/0.8232, allocations: 435.5 kB / 0.9621 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/0.8233, allocations: 118.8 kB / 0.9622 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/0.8236, allocations: 329.3 kB / 0.9625 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.924e-05/0.8237, allocations: 39.17 kB / 0.9626 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.8238, allocations: 177.9 kB / 0.9627 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.071e-05/0.8239, allocations: 58.09 kB / 0.9628 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.527e-05/0.8239, allocations: 16.09 kB / 0.9628 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.824, allocations: 342.8 kB / 0.9631 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003832/0.8244, allocations: 211.2 kB / 0.9633 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004161/0.8249, allocations: 320 kB / 0.9636 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003707/0.8252, allocations: 340 kB / 0.964 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.8253, allocations: 4 kB / 0.964 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001046/0.8263, allocations: 0.7294 MB / 0.9647 GB, free: 164 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.727e-05/0.8264, allocations: 129.5 kB / 0.9648 GB, free: 24 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.8264, allocations: 3.281 kB / 0.9648 GB, free: 24 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.539e-05/0.8264, allocations: 7.031 kB / 0.9648 GB, free: 24 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.8266, allocations: 61.5 kB / 0.9649 GB, free: 4 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.8267, allocations: 9.078 kB / 0.9649 GB, free: 0 / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007382/0.8274, allocations: 175.9 kB / 0.965 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/0.8276, allocations: 68.95 kB / 0.9651 GB, free: 15.9 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],extIndInt.u[2],extIndInt.u[3],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,$PRE.intPul.booPul.y,intPul.booPul.y,$PRE.intPul1.booPul.y,intPul1.booPul.y,intPul2.y,$PRE.intPul2.booPul.y,intPul2.booPul.y,intPul3.y,$PRE.intPul3.booPul.y,intPul3.booPul.y,extIndInt4.u[1],extIndInt3.u[1],extIndInt2.u[1],extIndInt1.u[1],extIndInt4.u[4],extIndInt3.u[4],extIndInt2.u[4],extIndInt1.u[4]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002696/0.8278, allocations: 186.6 kB / 0.9653 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.297e-05/0.8279, allocations: 34.16 kB / 0.9653 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006164/0.8285, allocations: 370 kB / 0.9657 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.8285, allocations: 4.219 kB / 0.9657 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.8285, allocations: 0 / 0.9657 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.8286, allocations: 0 / 0.9657 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.8296, allocations: 0.7501 MB / 0.9664 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.8296, allocations: 1 kB / 0.9664 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.8298, allocations: 47.16 kB / 0.9665 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.8298, allocations: 2.156 kB / 0.9665 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.8298, allocations: 11.06 kB / 0.9665 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.8298, allocations: 0.9688 kB / 0.9665 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.8299, allocations: 7.953 kB / 0.9665 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006747/0.8305, allocations: 423.8 kB / 0.9669 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.8307, allocations: 106.2 kB / 0.967 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.581e-05/0.8307, allocations: 9.953 kB / 0.967 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.8308, allocations: 8.156 kB / 0.967 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.8309, allocations: 26.3 kB / 0.967 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.819e-05/0.831, allocations: 15.27 kB / 0.967 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002793/0.8312, allocations: 214.8 kB / 0.9672 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8312, allocations: 0 / 0.9672 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006544/0.8319, allocations: 98.59 kB / 0.9673 GB, free: 14.37 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002604/0.8322, allocations: 126.3 kB / 0.9675 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001101/0.8333, allocations: 0.6791 MB / 0.9681 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.8333, allocations: 1.031 kB / 0.9681 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002236/0.8335, allocations: 147.6 kB / 0.9683 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005336/0.8341, allocations: 77.84 kB / 0.9683 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.8352, allocations: 0.6237 MB / 0.9689 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.8356, allocations: 0.7758 MB / 0.9697 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001987/0.8358, allocations: 78.95 kB / 0.9698 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.803e-05/0.8358, allocations: 36.53 kB / 0.9698 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of SimCode: time 4.01e-07/0.8358, allocations: 0 / 0.9698 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.01199/0.8478, allocations: 5.036 MB / 0.9747 GB, free: 9.988 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/jenkins/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