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.001479/0.001479, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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: 194.1 kB / 16.14 MB, free: 6.645 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.439/1.439, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.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.427/2.427, allocations: 390.2 MB / 0.6642 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 63.91 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7857/0.7871, allocations: 140.4 MB / 0.9489 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002388/0.7895, allocations: 1.191 MB / 0.9501 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001978/0.7915, allocations: 1.57 MB / 0.9516 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.7917, allocations: 6.5 kB / 0.9516 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.7919, allocations: 25.02 kB / 0.9517 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.7921, allocations: 40.67 kB / 0.9517 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.7933, allocations: 459.5 kB / 0.9521 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006148/0.7939, allocations: 0.5083 MB / 0.9526 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003812/0.7943, allocations: 140.8 kB / 0.9528 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003072/0.7946, allocations: 198.4 kB / 0.953 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002706/0.7949, allocations: 175.2 kB / 0.9531 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.795, allocations: 32.81 kB / 0.9532 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.7952, allocations: 45.41 kB / 0.9532 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.7953, allocations: 67.92 kB / 0.9533 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002672/0.7956, allocations: 185.3 kB / 0.9534 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005973/0.7962, allocations: 0.5881 MB / 0.954 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.7962, allocations: 0 / 0.954 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.775e-06/0.7962, allocations: 0 / 0.954 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.7962, allocations: 5.094 kB / 0.954 GB, free: 5.391 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.001271/0.7975, allocations: 0.7505 MB / 0.9548 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.708e-05/0.7976, allocations: 12.62 kB / 0.9548 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000177/0.7978, allocations: 42.94 kB / 0.9548 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.799, allocations: 404.5 kB / 0.9552 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.453e-05/0.7991, allocations: 25.69 kB / 0.9552 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-05/0.7992, allocations: 36.53 kB / 0.9552 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004749/0.7996, allocations: 254.1 kB / 0.9555 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.7997, allocations: 5.062 kB / 0.9555 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/0.7997, allocations: 6.281 kB / 0.9555 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.7997, allocations: 5.562 kB / 0.9555 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003029/0.8, allocations: 162.5 kB / 0.9557 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001548/0.8016, allocations: 0.8605 MB / 0.9565 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003906/0.802, allocations: 221.7 kB / 0.9567 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002981/0.8023, allocations: 205 kB / 0.9569 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.8023, allocations: 1.375 kB / 0.9569 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003448/0.8027, allocations: 250.9 kB / 0.9571 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=28): time 1.613e-06/0.8027, allocations: 0 / 0.9571 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28): time 0.0007935/0.8035, allocations: 437.8 kB / 0.9576 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.658e-05/0.8036, allocations: 116.1 kB / 0.9577 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003187/0.8039, allocations: 327.1 kB / 0.958 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.391e-05/0.8039, allocations: 42.16 kB / 0.958 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.8041, allocations: 174.8 kB / 0.9582 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.353e-05/0.8041, allocations: 58.28 kB / 0.9583 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002359/0.8044, allocations: 140.6 kB / 0.9584 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.374e-05/0.8045, allocations: 350.8 kB / 0.9587 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003825/0.8049, allocations: 205.7 kB / 0.9589 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004288/0.8053, allocations: 330.7 kB / 0.9592 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005971/0.8059, allocations: 0.5232 MB / 0.9597 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.8059, allocations: 0 / 0.9597 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001084/0.807, allocations: 0.7403 MB / 0.9605 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.957e-05/0.8071, allocations: 128.2 kB / 0.9606 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.8071, allocations: 3.469 kB / 0.9606 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/0.8071, allocations: 9.062 kB / 0.9606 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.8074, allocations: 58.66 kB / 0.9607 GB, free: 488 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.8074, allocations: 12.72 kB / 0.9607 GB, free: 480 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006535/0.808, allocations: 128.5 kB / 0.9608 GB, free: 420 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/0.8082, allocations: 68.48 kB / 0.9609 GB, free: 392 kB / 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.0002112/0.8084, allocations: 185 kB / 0.961 GB, free: 236 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.843e-05/0.8084, allocations: 38.61 kB / 0.9611 GB, free: 212 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005297/0.809, allocations: 363.8 kB / 0.9614 GB, free: 20 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.809, allocations: 4 kB / 0.9614 GB, free: 20 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.809, allocations: 0 / 0.9614 GB, free: 20 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.809, allocations: 0 / 0.9614 GB, free: 20 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.8101, allocations: 0.7689 MB / 0.9622 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.8101, allocations: 3.938 kB / 0.9622 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.8103, allocations: 40.23 kB / 0.9622 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.8103, allocations: 4.859 kB / 0.9622 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.8103, allocations: 7.406 kB / 0.9622 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.8103, allocations: 1.094 kB / 0.9622 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.8103, allocations: 0 / 0.9622 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005646/0.8109, allocations: 433.7 kB / 0.9626 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.851e-05/0.811, allocations: 105.2 kB / 0.9627 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.553e-05/0.811, allocations: 14.61 kB / 0.9628 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.8112, allocations: 8.094 kB / 0.9628 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.028e-05/0.8113, allocations: 22.56 kB / 0.9628 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.8113, allocations: 15.08 kB / 0.9628 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002231/0.8115, allocations: 213.3 kB / 0.963 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8115, allocations: 0 / 0.963 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004579/0.812, allocations: 90.62 kB / 0.9631 GB, free: 14.86 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.0002129/0.8122, allocations: 137.7 kB / 0.9632 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009442/0.8132, allocations: 0.6746 MB / 0.9639 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.8132, allocations: 0.8125 kB / 0.9639 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.8134, allocations: 145 kB / 0.964 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005396/0.8139, allocations: 79.34 kB / 0.9641 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.815, allocations: 0.6505 MB / 0.9647 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.8154, allocations: 0.7726 MB / 0.9655 GB, free: 13 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001872/0.8156, allocations: 70.14 kB / 0.9655 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.857e-05/0.8157, allocations: 41.05 kB / 0.9656 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of SimCode: time 3.71e-07/0.8157, allocations: 4 kB / 0.9656 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of Templates: time 0.01348/0.8292, allocations: 5.234 MB / 0.9707 GB, free: 10.36 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