Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001396/0.001396, allocations: 107.6 kB / 16.41 MB, free: 6.492 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.001468/0.001468, allocations: 192.1 kB / 17.34 MB, free: 5.762 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.441/1.441, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.521/2.521, allocations: 437.1 MB / 0.7112 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 59.91 kB / 1.019 GB, free: 9.48 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7969/0.7985, allocations: 151.6 MB / 1.167 GB, free: 3.934 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002605/0.8011, allocations: 1.155 MB / 1.168 GB, free: 2.781 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002288/0.8034, allocations: 1.506 MB / 1.17 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001865/0.8036, allocations: 8 kB / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001865/0.8039, allocations: 31.55 kB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002077/0.8041, allocations: 71.5 kB / 1.17 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.8054, allocations: 491.6 kB / 1.17 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0008789/0.8063, allocations: 0.6206 MB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003335/0.8066, allocations: 140.5 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003935/0.807, allocations: 235.4 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003854/0.8074, allocations: 211.2 kB / 1.172 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001393/0.8076, allocations: 60 kB / 1.172 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.8077, allocations: 71.98 kB / 1.172 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 9.711e-05/0.8078, allocations: 83.69 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000283/0.8081, allocations: 215.1 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007653/0.8089, allocations: 0.6363 MB / 1.173 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.8089, allocations: 0 / 1.173 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.053e-06/0.8089, allocations: 4 kB / 1.173 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.923e-05/0.809, allocations: 0 / 1.173 GB, free: 14.42 MB / 0.9044 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.001225/0.8102, allocations: 0.747 MB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.8102, allocations: 8.922 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/0.8104, allocations: 48.56 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.8114, allocations: 407.9 kB / 1.174 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.502e-05/0.8115, allocations: 24.81 kB / 1.174 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-05/0.8115, allocations: 36.38 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000432/0.812, allocations: 251.8 kB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.812, allocations: 3.938 kB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/0.812, allocations: 11.98 kB / 1.174 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.8121, allocations: 4 kB / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002561/0.8123, allocations: 157.6 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.8138, allocations: 0.8451 MB / 1.175 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003446/0.8141, allocations: 220.8 kB / 1.175 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002696/0.8144, allocations: 208.8 kB / 1.176 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.8144, allocations: 7.938 kB / 1.176 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003474/0.8148, allocations: 239.8 kB / 1.176 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=28): time 1.853e-06/0.8148, allocations: 0 / 1.176 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28): time 0.0007292/0.8155, allocations: 434.2 kB / 1.176 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.019e-05/0.8156, allocations: 122.7 kB / 1.176 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003782/0.816, allocations: 332.2 kB / 1.177 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.417e-05/0.8161, allocations: 37.7 kB / 1.177 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.8163, allocations: 180.5 kB / 1.177 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.613e-05/0.8163, allocations: 59.28 kB / 1.177 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.8166, allocations: 145.9 kB / 1.177 GB, free: 9.691 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.8167, allocations: 346.8 kB / 1.177 GB, free: 9.344 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003795/0.8171, allocations: 204.7 kB / 1.178 GB, free: 9.145 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004317/0.8176, allocations: 325 kB / 1.178 GB, free: 8.781 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006639/0.8182, allocations: 0.5311 MB / 1.178 GB, free: 8.18 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.942e-06/0.8183, allocations: 0 / 1.178 GB, free: 8.18 MB / 0.9044 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001147/0.8194, allocations: 0.7365 MB / 1.179 GB, free: 7.414 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.179e-05/0.8195, allocations: 126.8 kB / 1.179 GB, free: 7.266 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.8195, allocations: 0 / 1.179 GB, free: 7.266 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.8195, allocations: 8 kB / 1.179 GB, free: 7.258 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.8198, allocations: 59.84 kB / 1.179 GB, free: 7.199 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.8198, allocations: 11.94 kB / 1.179 GB, free: 7.188 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006566/0.8204, allocations: 131.7 kB / 1.179 GB, free: 7.059 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.8206, allocations: 67.92 kB / 1.18 GB, free: 6.992 MB / 0.9044 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.0002664/0.8208, allocations: 193.7 kB / 1.18 GB, free: 6.793 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.93e-05/0.8209, allocations: 35.56 kB / 1.18 GB, free: 6.758 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005573/0.8215, allocations: 366.2 kB / 1.18 GB, free: 6.395 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.8215, allocations: 4 kB / 1.18 GB, free: 6.391 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.8215, allocations: 3.938 kB / 1.18 GB, free: 6.387 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.8215, allocations: 7.984 kB / 1.18 GB, free: 6.379 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000962/0.8225, allocations: 0.7418 MB / 1.181 GB, free: 5.582 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.8225, allocations: 7.938 kB / 1.181 GB, free: 5.574 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.8226, allocations: 39.92 kB / 1.181 GB, free: 5.535 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.8226, allocations: 0 / 1.181 GB, free: 5.535 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.709e-05/0.8227, allocations: 11.98 kB / 1.181 GB, free: 5.523 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.8227, allocations: 0 / 1.181 GB, free: 5.523 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.8227, allocations: 4 kB / 1.181 GB, free: 5.52 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004663/0.8231, allocations: 432.3 kB / 1.181 GB, free: 5.082 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.347e-05/0.8232, allocations: 112.6 kB / 1.181 GB, free: 4.953 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.964e-05/0.8233, allocations: 8 kB / 1.181 GB, free: 4.945 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.8234, allocations: 11.98 kB / 1.181 GB, free: 4.934 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.438e-05/0.8235, allocations: 19.97 kB / 1.181 GB, free: 4.914 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.8235, allocations: 16 kB / 1.181 GB, free: 4.898 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002142/0.8237, allocations: 211.1 kB / 1.182 GB, free: 4.695 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8237, allocations: 4 kB / 1.182 GB, free: 4.691 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004524/0.8242, allocations: 99.84 kB / 1.182 GB, free: 4.594 MB / 0.9044 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.0002058/0.8244, allocations: 125.4 kB / 1.182 GB, free: 4.461 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009393/0.8254, allocations: 0.6699 MB / 1.183 GB, free: 3.742 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.8254, allocations: 4.062 kB / 1.183 GB, free: 3.738 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.8256, allocations: 156.6 kB / 1.183 GB, free: 3.586 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005045/0.8261, allocations: 72.97 kB / 1.183 GB, free: 3.516 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.8271, allocations: 0.6086 MB / 1.183 GB, free: 2.875 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.8275, allocations: 0.7808 MB / 1.184 GB, free: 2.066 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.304e-05/0.8276, allocations: 35.44 kB / 1.184 GB, free: 2.031 MB / 0.9044 GB Notification: Performance of SimCode: time 3.9e-07/0.8276, allocations: 3.938 kB / 1.184 GB, free: 2.027 MB / 0.9044 GB Notification: Performance of Templates: time 0.008713/0.8363, allocations: 4.995 MB / 1.189 GB, free: 13.06 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches