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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001365/0.001365, allocations: 108.4 kB / 15.99 MB, free: 6.359 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.001397/0.001397, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.353/1.353, allocations: 222.9 MB / 240.6 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.22/2.22, allocations: 390.2 MB / 0.665 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 68.94 kB / 0.8127 GB, free: 32.5 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2734, allocations: 140.4 MB / 0.9498 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002553/0.276, allocations: 1.202 MB / 0.951 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002237/0.2783, allocations: 1.502 MB / 0.9524 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001649/0.2785, allocations: 0 / 0.9524 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001604/0.2786, allocations: 19.8 kB / 0.9524 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.2788, allocations: 47.62 kB / 0.9525 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.28, allocations: 450.2 kB / 0.9529 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0007279/0.2808, allocations: 0.6129 MB / 0.9535 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000317/0.2811, allocations: 156.4 kB / 0.9537 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003156/0.2814, allocations: 231.4 kB / 0.9539 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002717/0.2817, allocations: 195.2 kB / 0.9541 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.2818, allocations: 60 kB / 0.9541 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.282, allocations: 71.98 kB / 0.9542 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.122e-05/0.2821, allocations: 71.77 kB / 0.9543 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002744/0.2824, allocations: 231 kB / 0.9545 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004989/0.2829, allocations: 479.1 kB / 0.9549 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2829, allocations: 4 kB / 0.9549 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2829, allocations: 0 / 0.9549 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.97e-05/0.283, allocations: 0 / 0.9549 GB, free: 3.887 MB / 0.7325 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.001142/0.2841, allocations: 0.7448 MB / 0.9557 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.2841, allocations: 8.031 kB / 0.9557 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/0.2843, allocations: 48.47 kB / 0.9557 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.2854, allocations: 407.9 kB / 0.9561 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.918e-05/0.2855, allocations: 28.75 kB / 0.9561 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.599e-05/0.2856, allocations: 44.3 kB / 0.9562 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004575/0.286, allocations: 247.2 kB / 0.9564 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.286, allocations: 0 / 0.9564 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.071e-05/0.2861, allocations: 15.98 kB / 0.9564 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.2861, allocations: 4 kB / 0.9564 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002687/0.2864, allocations: 153.7 kB / 0.9566 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/0.2878, allocations: 0.8606 MB / 0.9574 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/0.2881, allocations: 218.7 kB / 0.9576 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000264/0.2884, allocations: 216.6 kB / 0.9578 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.2884, allocations: 4 kB / 0.9578 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003584/0.2888, allocations: 241.5 kB / 0.9581 GB, free: 488 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=28): time 1.553e-06/0.2888, allocations: 0 / 0.9581 GB, free: 488 kB / 0.7325 GB Notification: Performance of matching and sorting (n=28): time 0.0007638/0.2896, allocations: 431.6 kB / 0.9585 GB, free: 52 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.022e-05/0.2897, allocations: 122.8 kB / 0.9586 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003429/0.29, allocations: 324.3 kB / 0.9589 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.85e-05/0.2901, allocations: 41.7 kB / 0.959 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.2903, allocations: 172.5 kB / 0.9591 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.923e-05/0.2903, allocations: 67.19 kB / 0.9592 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002469/0.2906, allocations: 145.9 kB / 0.9593 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.2908, allocations: 346.8 kB / 0.9597 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003769/0.2911, allocations: 208.7 kB / 0.9599 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004341/0.2916, allocations: 324.9 kB / 0.9602 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006611/0.2922, allocations: 0.535 MB / 0.9607 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.2923, allocations: 0 / 0.9607 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001181/0.2934, allocations: 0.7364 MB / 0.9614 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.2936, allocations: 122.8 kB / 0.9615 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.2936, allocations: 4 kB / 0.9615 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.781e-05/0.2936, allocations: 11.94 kB / 0.9615 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.2939, allocations: 55.91 kB / 0.9616 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.2939, allocations: 8 kB / 0.9616 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006906/0.2946, allocations: 127.6 kB / 0.9617 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/0.2947, allocations: 71.84 kB / 0.9618 GB, free: 12.44 MB / 0.7481 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.0002682/0.295, allocations: 199.7 kB / 0.962 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.896e-05/0.2951, allocations: 31.62 kB / 0.962 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005718/0.2956, allocations: 357.7 kB / 0.9624 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.2956, allocations: 4 kB / 0.9624 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.2957, allocations: 0 / 0.9624 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.463e-06/0.2957, allocations: 7.984 kB / 0.9624 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009762/0.2967, allocations: 0.7562 MB / 0.9631 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.2967, allocations: 3.938 kB / 0.9631 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.2968, allocations: 35.92 kB / 0.9631 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.962e-06/0.2968, allocations: 8 kB / 0.9631 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.2968, allocations: 7.984 kB / 0.9632 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.2969, allocations: 4 kB / 0.9632 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2969, allocations: 0 / 0.9632 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004804/0.2973, allocations: 427 kB / 0.9636 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.2975, allocations: 112.6 kB / 0.9637 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.2975, allocations: 4 kB / 0.9637 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.2977, allocations: 11.98 kB / 0.9637 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.187e-05/0.2977, allocations: 27.97 kB / 0.9637 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.2978, allocations: 12 kB / 0.9637 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002176/0.298, allocations: 211.1 kB / 0.9639 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.298, allocations: 3.938 kB / 0.9639 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004373/0.2984, allocations: 99.92 kB / 0.964 GB, free: 10.04 MB / 0.7481 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.0002101/0.2987, allocations: 121.4 kB / 0.9641 GB, free: 9.914 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009755/0.2996, allocations: 0.7164 MB / 0.9648 GB, free: 9.148 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2997, allocations: 0 / 0.9648 GB, free: 9.148 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002129/0.2999, allocations: 143.8 kB / 0.965 GB, free: 9.008 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005288/0.3004, allocations: 89.72 kB / 0.9651 GB, free: 8.922 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.3016, allocations: 0.6902 MB / 0.9657 GB, free: 8.203 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004616/0.3021, allocations: 0.7769 MB / 0.9665 GB, free: 7.398 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.594e-05/0.3022, allocations: 39.42 kB / 0.9665 GB, free: 7.359 MB / 0.7481 GB Notification: Performance of SimCode: time 5.91e-07/0.3022, allocations: 0 / 0.9665 GB, free: 7.359 MB / 0.7481 GB Notification: Performance of Templates: time 0.0086/0.3108, allocations: 4.949 MB / 0.9714 GB, free: 2.438 MB / 0.7481 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