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.005749/0.005749, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001586/0.001586, allocations: 192.2 kB / 16.79 MB, free: 6.254 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.366/1.366, allocations: 222.9 MB / 240.5 MB, free: 4.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.343/2.343, allocations: 390.2 MB / 0.6649 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.001501, allocations: 59.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6946/0.6961, allocations: 140.4 MB / 0.9496 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002185/0.6983, allocations: 1.194 MB / 0.9508 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001699/0.7001, allocations: 1.57 MB / 0.9523 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.46e-05/0.7002, allocations: 4.281 kB / 0.9523 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001432/0.7003, allocations: 15.8 kB / 0.9523 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.92e-05/0.7004, allocations: 45.2 kB / 0.9524 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009293/0.7014, allocations: 457.2 kB / 0.9528 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005986/0.702, allocations: 0.5198 MB / 0.9533 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003656/0.7023, allocations: 141 kB / 0.9534 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000244/0.7026, allocations: 194.8 kB / 0.9536 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002494/0.7029, allocations: 177.8 kB / 0.9538 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.15e-05/0.703, allocations: 28.06 kB / 0.9538 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.7031, allocations: 39.27 kB / 0.9539 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.375e-05/0.7032, allocations: 63.3 kB / 0.9539 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002454/0.7035, allocations: 201.2 kB / 0.9541 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004821/0.704, allocations: 480.2 kB / 0.9546 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/0.704, allocations: 0 / 0.9546 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.253e-06/0.704, allocations: 0 / 0.9546 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.704, allocations: 1.062 kB / 0.9546 GB, free: 5.508 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.0009574/0.705, allocations: 0.7445 MB / 0.9553 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.705, allocations: 9.375 kB / 0.9553 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.7052, allocations: 47.11 kB / 0.9553 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009778/0.7061, allocations: 408.9 kB / 0.9557 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.642e-05/0.7062, allocations: 24.53 kB / 0.9558 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.011e-05/0.7063, allocations: 35.95 kB / 0.9558 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004048/0.7067, allocations: 255.7 kB / 0.956 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.7067, allocations: 3.984 kB / 0.956 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.7067, allocations: 6.906 kB / 0.9561 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.7067, allocations: 9.438 kB / 0.9561 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002184/0.707, allocations: 155.2 kB / 0.9562 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.7081, allocations: 0.8562 MB / 0.957 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/0.7085, allocations: 225.8 kB / 0.9573 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/0.7087, allocations: 205.2 kB / 0.9575 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.7088, allocations: 5.844 kB / 0.9575 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003009/0.7091, allocations: 247.5 kB / 0.9577 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=28): time 1.713e-06/0.7091, allocations: 3.938 kB / 0.9577 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28): time 0.0006919/0.7098, allocations: 433.6 kB / 0.9581 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.7098, allocations: 120.3 kB / 0.9582 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/0.7101, allocations: 326.6 kB / 0.9585 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.228e-05/0.7102, allocations: 38.36 kB / 0.9586 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.7103, allocations: 178.7 kB / 0.9587 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.232e-05/0.7104, allocations: 58.62 kB / 0.9588 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.7106, allocations: 140.9 kB / 0.9589 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.2e-05/0.7107, allocations: 347 kB / 0.9593 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003783/0.7111, allocations: 208.9 kB / 0.9595 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004089/0.7115, allocations: 325.3 kB / 0.9598 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005701/0.712, allocations: 0.5304 MB / 0.9603 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.7121, allocations: 1.375 kB / 0.9603 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001071/0.7131, allocations: 0.7399 MB / 0.961 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.595e-05/0.7132, allocations: 123.7 kB / 0.9611 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.7132, allocations: 7.266 kB / 0.9611 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.7133, allocations: 9.406 kB / 0.9612 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/0.7135, allocations: 58.47 kB / 0.9612 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.7135, allocations: 5.531 kB / 0.9612 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006668/0.7142, allocations: 132.1 kB / 0.9613 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.7143, allocations: 68.86 kB / 0.9614 GB, free: 0.4961 MB / 0.7169 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.0002062/0.7145, allocations: 188.5 kB / 0.9616 GB, free: 348 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.47e-05/0.7145, allocations: 36.34 kB / 0.9616 GB, free: 328 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005185/0.7151, allocations: 370.9 kB / 0.962 GB, free: 128 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.7151, allocations: 6.578 kB / 0.962 GB, free: 124 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.7151, allocations: 1.062 kB / 0.962 GB, free: 124 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.7151, allocations: 0 / 0.962 GB, free: 124 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000933/0.716, allocations: 0.756 MB / 0.9627 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.7161, allocations: 5.188 kB / 0.9627 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.7162, allocations: 38.95 kB / 0.9628 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.7162, allocations: 2.562 kB / 0.9628 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.7162, allocations: 10.67 kB / 0.9628 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.7162, allocations: 1.312 kB / 0.9628 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.7162, allocations: 0 / 0.9628 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005235/0.7168, allocations: 425.1 kB / 0.9632 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.159e-05/0.7169, allocations: 106.2 kB / 0.9633 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.377e-05/0.7169, allocations: 14.12 kB / 0.9633 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.7171, allocations: 20.27 kB / 0.9633 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.293e-05/0.7171, allocations: 20.94 kB / 0.9633 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.7172, allocations: 16.72 kB / 0.9634 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000237/0.7174, allocations: 216.6 kB / 0.9636 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.442e-06/0.7174, allocations: 0 / 0.9636 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004571/0.7179, allocations: 93.97 kB / 0.9636 GB, free: 14.96 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.0002162/0.7181, allocations: 132 kB / 0.9638 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009697/0.7191, allocations: 0.6754 MB / 0.9644 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.7191, allocations: 0 / 0.9644 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002366/0.7193, allocations: 150.5 kB / 0.9646 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000526/0.7199, allocations: 72.11 kB / 0.9646 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009987/0.7209, allocations: 0.6804 MB / 0.9653 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.7213, allocations: 0.7762 MB / 0.9661 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.425e-05/0.7213, allocations: 40.83 kB / 0.9661 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of SimCode: time 4.61e-07/0.7213, allocations: 0 / 0.9661 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of Templates: time 0.009322/0.7307, allocations: 4.944 MB / 0.9709 GB, free: 10.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