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.001729/0.001729, allocations: 107.4 kB / 16.36 MB, free: 5.824 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.00166/0.00166, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.436/1.436, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.262/2.262, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.001891, allocations: 71.34 kB / 0.814 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3308, allocations: 140.4 MB / 0.9511 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002451/0.3333, allocations: 1.148 MB / 0.9523 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00216/0.3355, allocations: 1.518 MB / 0.9537 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002103/0.3357, allocations: 4 kB / 0.9537 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.3359, allocations: 31.55 kB / 0.9538 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000177/0.3361, allocations: 55.52 kB / 0.9538 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.3374, allocations: 494.3 kB / 0.9543 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006889/0.3381, allocations: 0.6206 MB / 0.9549 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002747/0.3383, allocations: 144.5 kB / 0.955 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000314/0.3387, allocations: 231.4 kB / 0.9553 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003096/0.339, allocations: 207.3 kB / 0.9555 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.3391, allocations: 60 kB / 0.9555 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.3392, allocations: 75.97 kB / 0.9556 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.841e-05/0.3393, allocations: 79.7 kB / 0.9557 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002548/0.3396, allocations: 223.1 kB / 0.9559 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006423/0.3403, allocations: 0.6269 MB / 0.9565 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.3403, allocations: 3.938 kB / 0.9565 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.415e-06/0.3403, allocations: 0 / 0.9565 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.9e-05/0.3403, allocations: 3.984 kB / 0.9565 GB, free: 2.574 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.001023/0.3413, allocations: 0.7433 MB / 0.9572 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.3414, allocations: 12.03 kB / 0.9572 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.3415, allocations: 44.47 kB / 0.9573 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009987/0.3425, allocations: 400.1 kB / 0.9577 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.616e-05/0.3426, allocations: 20.81 kB / 0.9577 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.413e-05/0.3427, allocations: 40.3 kB / 0.9577 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004432/0.3431, allocations: 259.2 kB / 0.958 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.3431, allocations: 0 / 0.958 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/0.3432, allocations: 8 kB / 0.958 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.3432, allocations: 15.94 kB / 0.958 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002532/0.3434, allocations: 157.6 kB / 0.9581 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.3449, allocations: 0.849 MB / 0.959 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000333/0.3452, allocations: 226.7 kB / 0.9592 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000261/0.3455, allocations: 204.7 kB / 0.9594 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.3455, allocations: 3.938 kB / 0.9594 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003243/0.3459, allocations: 243.9 kB / 0.9596 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=28): time 1.713e-06/0.3459, allocations: 0 / 0.9596 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of matching and sorting (n=28): time 0.0006606/0.3465, allocations: 438.9 kB / 0.96 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/0.3466, allocations: 118.8 kB / 0.9601 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/0.3469, allocations: 320.3 kB / 0.9604 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.685e-05/0.347, allocations: 41.7 kB / 0.9605 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.3471, allocations: 176.5 kB / 0.9607 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.109e-05/0.3471, allocations: 63.19 kB / 0.9607 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/0.3473, allocations: 149.9 kB / 0.9609 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.3475, allocations: 346.8 kB / 0.9612 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003458/0.3478, allocations: 204.7 kB / 0.9614 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004076/0.3483, allocations: 324.7 kB / 0.9617 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006307/0.3489, allocations: 0.5349 MB / 0.9622 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.3489, allocations: 0 / 0.9622 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001057/0.35, allocations: 0.7325 MB / 0.9629 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.062e-05/0.3501, allocations: 122.8 kB / 0.963 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.3501, allocations: 4 kB / 0.9631 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.3501, allocations: 7.938 kB / 0.9631 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.3503, allocations: 64.25 kB / 0.9631 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.3503, allocations: 11.98 kB / 0.9631 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005733/0.3509, allocations: 135.5 kB / 0.9633 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.2e-05/0.351, allocations: 67.92 kB / 0.9633 GB, free: 11.12 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.0001917/0.3512, allocations: 193.6 kB / 0.9635 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.549e-05/0.3512, allocations: 27.62 kB / 0.9635 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000488/0.3517, allocations: 366 kB / 0.9639 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.3518, allocations: 7.984 kB / 0.9639 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3518, allocations: 3.938 kB / 0.9639 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3518, allocations: 0 / 0.9639 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008093/0.3526, allocations: 0.7485 MB / 0.9646 GB, free: 9.719 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3526, allocations: 3.938 kB / 0.9646 GB, free: 9.715 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.3527, allocations: 35.98 kB / 0.9647 GB, free: 9.68 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3527, allocations: 0 / 0.9647 GB, free: 9.68 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.3528, allocations: 15.98 kB / 0.9647 GB, free: 9.664 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.3528, allocations: 0 / 0.9647 GB, free: 9.664 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.3528, allocations: 7.938 kB / 0.9647 GB, free: 9.656 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000432/0.3532, allocations: 436.6 kB / 0.9651 GB, free: 9.215 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.376e-05/0.3533, allocations: 108.6 kB / 0.9652 GB, free: 9.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.688e-05/0.3533, allocations: 8 kB / 0.9652 GB, free: 9.082 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.3535, allocations: 11.98 kB / 0.9652 GB, free: 9.07 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.3535, allocations: 27.97 kB / 0.9653 GB, free: 9.043 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.3535, allocations: 8 kB / 0.9653 GB, free: 9.035 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001914/0.3537, allocations: 215.1 kB / 0.9655 GB, free: 8.824 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3537, allocations: 0 / 0.9655 GB, free: 8.824 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003728/0.3541, allocations: 95.92 kB / 0.9656 GB, free: 8.73 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.0001649/0.3543, allocations: 133.3 kB / 0.9657 GB, free: 8.594 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007912/0.3551, allocations: 0.6772 MB / 0.9663 GB, free: 7.867 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3551, allocations: 0 / 0.9663 GB, free: 7.867 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.3553, allocations: 143.9 kB / 0.9665 GB, free: 7.727 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004738/0.3558, allocations: 79.61 kB / 0.9666 GB, free: 7.652 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008192/0.3566, allocations: 0.5713 MB / 0.9671 GB, free: 7.059 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.3569, allocations: 0.7847 MB / 0.9679 GB, free: 6.246 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001449/0.3571, allocations: 75.22 kB / 0.968 GB, free: 6.168 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.544e-05/0.3571, allocations: 35.42 kB / 0.968 GB, free: 6.133 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.3572, allocations: 0 / 0.968 GB, free: 6.133 MB / 0.7481 GB Notification: Performance of Templates: time 0.009093/0.3663, allocations: 5.481 MB / 0.9733 GB, free: 0.7148 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 -s cvode -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