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.00116/0.00116, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001325/0.001325, allocations: 177.3 kB / 15.95 MB, free: 216 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.504/1.504, allocations: 223.2 MB / 239.9 MB, free: 5.441 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.53/2.53, allocations: 390.3 MB / 0.6653 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003433/0.0003433, allocations: 12 kB / 0.8145 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.901/0.9014, allocations: 142.3 MB / 0.9535 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.001161/0.9026, allocations: 0.809 MB / 0.9543 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001776/0.9044, allocations: 1.416 MB / 0.9557 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.9045, allocations: 6.938 kB / 0.9557 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.9047, allocations: 17.14 kB / 0.9557 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.9048, allocations: 48.2 kB / 0.9558 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.9058, allocations: 415.4 kB / 0.9562 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003456/0.9062, allocations: 296.1 kB / 0.9564 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002855/0.9065, allocations: 117.1 kB / 0.9565 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/0.9067, allocations: 168 kB / 0.9567 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.9069, allocations: 148.7 kB / 0.9568 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.199e-05/0.9069, allocations: 24 kB / 0.9569 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.9071, allocations: 34.91 kB / 0.9569 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.111e-05/0.9071, allocations: 53.47 kB / 0.957 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.042e-05/0.9072, allocations: 81.55 kB / 0.957 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003246/0.9076, allocations: 475.4 kB / 0.9575 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.9076, allocations: 0 / 0.9575 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9076, allocations: 0 / 0.9575 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.9076, allocations: 1.5 kB / 0.9575 GB, free: 5.129 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.000665/0.9083, allocations: 0.6435 MB / 0.9581 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.9083, allocations: 12.81 kB / 0.9581 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.9084, allocations: 50.38 kB / 0.9582 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009694/0.9094, allocations: 405.6 kB / 0.9586 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.073e-05/0.9094, allocations: 27.56 kB / 0.9586 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.951e-05/0.9095, allocations: 39.48 kB / 0.9586 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003933/0.9099, allocations: 245.2 kB / 0.9589 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.9099, allocations: 0 / 0.9589 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/0.91, allocations: 10.75 kB / 0.9589 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.91, allocations: 9.453 kB / 0.9589 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002454/0.9102, allocations: 161.3 kB / 0.959 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.9115, allocations: 0.8529 MB / 0.9599 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.9118, allocations: 218.4 kB / 0.9601 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.9119, allocations: 5.953 kB / 0.9601 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003009/0.9122, allocations: 252.1 kB / 0.9603 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=28): time 1.463e-06/0.9122, allocations: 0 / 0.9603 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28): time 0.0006867/0.9129, allocations: 436.9 kB / 0.9607 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.9129, allocations: 111.4 kB / 0.9608 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/0.9132, allocations: 329 kB / 0.9612 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.117e-05/0.9133, allocations: 37.98 kB / 0.9612 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.9134, allocations: 179.7 kB / 0.9614 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/0.9135, allocations: 61.69 kB / 0.9614 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/0.9135, allocations: 15.62 kB / 0.9614 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.342e-05/0.9136, allocations: 354.6 kB / 0.9618 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003318/0.9139, allocations: 199.7 kB / 0.962 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000371/0.9143, allocations: 326.6 kB / 0.9623 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003655/0.9147, allocations: 339.7 kB / 0.9626 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.9147, allocations: 0 / 0.9626 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009759/0.9157, allocations: 0.7345 MB / 0.9633 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.303e-05/0.9158, allocations: 132.1 kB / 0.9634 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.9158, allocations: 3.938 kB / 0.9635 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.9158, allocations: 5.094 kB / 0.9635 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.916, allocations: 54.97 kB / 0.9635 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.916, allocations: 8.781 kB / 0.9635 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000731/0.9168, allocations: 180.8 kB / 0.9637 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.148e-05/0.9169, allocations: 64.86 kB / 0.9638 GB, free: 0.4922 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],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.0001902/0.9171, allocations: 193.3 kB / 0.9639 GB, free: 340 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.488e-05/0.9171, allocations: 34.61 kB / 0.964 GB, free: 320 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005361/0.9177, allocations: 364.7 kB / 0.9643 GB, free: 124 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.9177, allocations: 3.875 kB / 0.9643 GB, free: 124 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.9177, allocations: 4 kB / 0.9643 GB, free: 120 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.9177, allocations: 1.188 kB / 0.9643 GB, free: 120 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009368/0.9187, allocations: 0.7464 MB / 0.9651 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.9187, allocations: 0 / 0.9651 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.9188, allocations: 40.02 kB / 0.9651 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.9188, allocations: 1.438 kB / 0.9651 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.889e-05/0.9189, allocations: 6.938 kB / 0.9651 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.9189, allocations: 1.844 kB / 0.9651 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.9189, allocations: 0 / 0.9651 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005099/0.9194, allocations: 436 kB / 0.9655 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.149e-05/0.9195, allocations: 113.7 kB / 0.9656 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/0.9195, allocations: 6.25 kB / 0.9656 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.9197, allocations: 11.59 kB / 0.9656 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/0.9197, allocations: 22.69 kB / 0.9657 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.9198, allocations: 15.64 kB / 0.9657 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002307/0.92, allocations: 214.9 kB / 0.9659 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.92, allocations: 0 / 0.9659 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004662/0.9205, allocations: 89.75 kB / 0.966 GB, free: 14.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 (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.0001952/0.9207, allocations: 133.3 kB / 0.9661 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009011/0.9216, allocations: 0.6679 MB / 0.9667 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.9216, allocations: 1 kB / 0.9667 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.9218, allocations: 143.1 kB / 0.9669 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00044/0.9222, allocations: 77.77 kB / 0.967 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009362/0.9232, allocations: 0.6224 MB / 0.9676 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.9235, allocations: 0.7848 MB / 0.9683 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001814/0.9237, allocations: 79.02 kB / 0.9684 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.574e-05/0.9238, allocations: 35.12 kB / 0.9684 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of SimCode: time 6.01e-07/0.9238, allocations: 1.312 kB / 0.9684 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of Templates: time 0.01024/0.9341, allocations: 5.026 MB / 0.9734 GB, free: 10.6 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","../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches