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.005763/0.005764, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001438/0.001438, allocations: 197.3 kB / 16.68 MB, free: 5.93 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.341/2.341, allocations: 390.2 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.91 kB / 0.9508 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.112/1.113, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.00242/1.116, allocations: 1.153 MB / 1.089 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002145/1.118, allocations: 1.498 MB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/1.118, allocations: 3.375 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001503/1.118, allocations: 28.7 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001245/1.118, allocations: 64.67 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001151/1.119, allocations: 498.5 kB / 1.091 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007489/1.12, allocations: 0.6225 MB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003297/1.121, allocations: 147.8 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002687/1.121, allocations: 232.2 kB / 1.092 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003382/1.121, allocations: 210.4 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001198/1.121, allocations: 67.56 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/1.121, allocations: 74.91 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001224/1.122, allocations: 78.64 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002749/1.122, allocations: 220.9 kB / 1.093 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008207/1.123, allocations: 0.6243 MB / 1.093 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/1.123, allocations: 0.6875 kB / 1.093 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.956e-06/1.123, allocations: 0.75 kB / 1.093 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.267e-06/1.123, allocations: 0.6562 kB / 1.093 GB, free: 2.344 MB / 0.8575 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.001015/1.124, allocations: 0.7508 MB / 1.094 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/1.124, allocations: 9.984 kB / 1.094 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/1.124, allocations: 46.81 kB / 1.094 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009796/1.125, allocations: 400.3 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.445e-05/1.125, allocations: 29.83 kB / 1.094 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.926e-05/1.125, allocations: 36.45 kB / 1.095 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005103/1.126, allocations: 252.6 kB / 1.095 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/1.126, allocations: 4 kB / 1.095 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/1.126, allocations: 11.17 kB / 1.095 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/1.126, allocations: 5.375 kB / 1.095 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003268/1.126, allocations: 157.3 kB / 1.095 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001379/1.127, allocations: 0.8455 MB / 1.096 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004317/1.128, allocations: 222.8 kB / 1.096 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003583/1.128, allocations: 208.7 kB / 1.096 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/1.128, allocations: 7.25 kB / 1.096 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003867/1.129, allocations: 250 kB / 1.096 GB, free: 444 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=28): time 1.603e-06/1.129, allocations: 0 / 1.096 GB, free: 444 kB / 0.8575 GB Notification: Performance of matching and sorting (n=28): time 0.0008293/1.129, allocations: 430.4 kB / 1.097 GB, free: 300 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/1.13, allocations: 116 kB / 1.097 GB, free: 164 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003767/1.13, allocations: 321.2 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.411e-05/1.13, allocations: 42.36 kB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/1.13, allocations: 183.4 kB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.577e-05/1.13, allocations: 57.91 kB / 1.098 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002677/1.131, allocations: 149.4 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001534/1.131, allocations: 344.8 kB / 1.098 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004196/1.131, allocations: 206.2 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005255/1.132, allocations: 337.9 kB / 1.099 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007181/1.132, allocations: 0.529 MB / 1.099 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/1.132, allocations: 5.062 kB / 1.099 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001319/1.134, allocations: 0.7319 MB / 1.1 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001067/1.134, allocations: 124.9 kB / 1.1 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/1.134, allocations: 3.906 kB / 1.1 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.927e-05/1.134, allocations: 13.56 kB / 1.1 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/1.134, allocations: 58.97 kB / 1.1 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/1.134, allocations: 4.875 kB / 1.1 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006825/1.135, allocations: 128.5 kB / 1.1 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/1.135, allocations: 71.98 kB / 1.1 GB, free: 14.17 MB / 0.8731 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.0002649/1.135, allocations: 187.7 kB / 1.1 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.155e-05/1.135, allocations: 31.11 kB / 1.1 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000661/1.136, allocations: 376.9 kB / 1.101 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/1.136, allocations: 8.25 kB / 1.101 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.136, allocations: 0.8906 kB / 1.101 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/1.136, allocations: 1.219 kB / 1.101 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/1.137, allocations: 0.745 MB / 1.101 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/1.137, allocations: 0.6562 kB / 1.101 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/1.137, allocations: 40.33 kB / 1.101 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/1.137, allocations: 2.406 kB / 1.101 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/1.137, allocations: 7.906 kB / 1.101 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/1.137, allocations: 1.688 kB / 1.101 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.137, allocations: 0 / 1.101 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005417/1.138, allocations: 437.8 kB / 1.102 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.359e-05/1.138, allocations: 107.6 kB / 1.102 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/1.138, allocations: 8.703 kB / 1.102 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/1.138, allocations: 12.77 kB / 1.102 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.835e-05/1.138, allocations: 25.81 kB / 1.102 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/1.138, allocations: 14.14 kB / 1.102 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002386/1.139, allocations: 213.4 kB / 1.102 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/1.139, allocations: 0 / 1.102 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004521/1.139, allocations: 91.14 kB / 1.102 GB, free: 12.89 MB / 0.8731 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.0002025/1.139, allocations: 133.1 kB / 1.102 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009302/1.14, allocations: 0.6752 MB / 1.103 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/1.14, allocations: 1.375 kB / 1.103 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000213/1.141, allocations: 148.7 kB / 1.103 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005026/1.141, allocations: 97.44 kB / 1.103 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/1.142, allocations: 0.5676 MB / 1.104 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/1.142, allocations: 0.7759 MB / 1.105 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001913/1.143, allocations: 72.38 kB / 1.105 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.469e-05/1.143, allocations: 38.64 kB / 1.105 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/1.143, allocations: 0 / 1.105 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of Templates: time 0.01555/1.158, allocations: 5.502 MB / 1.11 GB, free: 10.83 MB / 0.8731 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