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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002196/0.002196, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.497/1.497, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.528/2.528, allocations: 390.2 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 67.89 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7517/0.7531, allocations: 140.4 MB / 0.9497 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002475/0.7556, allocations: 1.146 MB / 0.9508 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001822/0.7575, allocations: 1.512 MB / 0.9523 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.7576, allocations: 11.81 kB / 0.9523 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.7578, allocations: 28.67 kB / 0.9524 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.7579, allocations: 56.03 kB / 0.9524 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.759, allocations: 491.9 kB / 0.9529 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006418/0.7597, allocations: 0.608 MB / 0.9535 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003106/0.76, allocations: 154.1 kB / 0.9536 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002365/0.7602, allocations: 224.5 kB / 0.9538 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.7604, allocations: 193.9 kB / 0.954 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.7605, allocations: 59.31 kB / 0.9541 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.7607, allocations: 78.19 kB / 0.9542 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.677e-05/0.7608, allocations: 75.59 kB / 0.9542 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000204/0.761, allocations: 227.7 kB / 0.9544 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005049/0.7615, allocations: 0.6116 MB / 0.955 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.7615, allocations: 0 / 0.955 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.465e-06/0.7615, allocations: 0 / 0.955 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.7616, allocations: 5.062 kB / 0.955 GB, free: 5.23 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.0008091/0.7624, allocations: 0.7452 MB / 0.9558 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.7624, allocations: 8.906 kB / 0.9558 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.335e-05/0.7625, allocations: 59.56 kB / 0.9558 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.7626, allocations: 47.41 kB / 0.9559 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000954/0.7636, allocations: 404.5 kB / 0.9563 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.173e-05/0.7636, allocations: 25.28 kB / 0.9563 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.597e-05/0.7637, allocations: 38.44 kB / 0.9563 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003745/0.7641, allocations: 248.2 kB / 0.9566 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.7641, allocations: 0 / 0.9566 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.7641, allocations: 15 kB / 0.9566 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.7641, allocations: 4.375 kB / 0.9566 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002255/0.7644, allocations: 160.5 kB / 0.9567 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.7655, allocations: 0.8587 MB / 0.9576 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.7658, allocations: 218.9 kB / 0.9578 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002767/0.7661, allocations: 207.7 kB / 0.958 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.7661, allocations: 6.094 kB / 0.958 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000296/0.7664, allocations: 245.3 kB / 0.9582 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=28): time 2.485e-06/0.7664, allocations: 4 kB / 0.9582 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28): time 0.0006896/0.7671, allocations: 437.8 kB / 0.9586 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.7672, allocations: 111.6 kB / 0.9587 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003286/0.7675, allocations: 326.9 kB / 0.9591 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.172e-05/0.7676, allocations: 39.3 kB / 0.9591 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.7677, allocations: 182.1 kB / 0.9593 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.076e-05/0.7678, allocations: 61.88 kB / 0.9593 GB, free: 2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002129/0.768, allocations: 141.6 kB / 0.9595 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.742e-05/0.7681, allocations: 342.4 kB / 0.9598 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003464/0.7684, allocations: 213.8 kB / 0.96 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000377/0.7688, allocations: 321.9 kB / 0.9603 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005398/0.7693, allocations: 0.5333 MB / 0.9608 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.7694, allocations: 1.312 kB / 0.9608 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001/0.7704, allocations: 0.7359 MB / 0.9615 GB, free: 424 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.595e-05/0.7704, allocations: 127.8 kB / 0.9617 GB, free: 284 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.7704, allocations: 7.688 kB / 0.9617 GB, free: 280 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.7705, allocations: 5.312 kB / 0.9617 GB, free: 280 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.7707, allocations: 61.84 kB / 0.9617 GB, free: 260 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.7707, allocations: 6.562 kB / 0.9617 GB, free: 260 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006775/0.7714, allocations: 136.1 kB / 0.9619 GB, free: 192 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.7715, allocations: 63.36 kB / 0.9619 GB, free: 168 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.0001905/0.7717, allocations: 189.4 kB / 0.9621 GB, free: 8 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.787e-05/0.7718, allocations: 34.89 kB / 0.9621 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000557/0.7723, allocations: 371.6 kB / 0.9625 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.7723, allocations: 4.062 kB / 0.9625 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.7724, allocations: 0 / 0.9625 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.7724, allocations: 0 / 0.9625 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009838/0.7734, allocations: 0.7684 MB / 0.9633 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.7734, allocations: 3.938 kB / 0.9633 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.7735, allocations: 32.48 kB / 0.9633 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.7735, allocations: 1.125 kB / 0.9633 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.7735, allocations: 7.312 kB / 0.9633 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.7735, allocations: 1.125 kB / 0.9633 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.7736, allocations: 4 kB / 0.9633 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005288/0.7741, allocations: 430.6 kB / 0.9637 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.868e-05/0.7742, allocations: 112.8 kB / 0.9638 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.528e-05/0.7742, allocations: 10.73 kB / 0.9638 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.7744, allocations: 12.12 kB / 0.9638 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/0.7744, allocations: 21.84 kB / 0.9639 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.7745, allocations: 11.61 kB / 0.9639 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002213/0.7747, allocations: 217.5 kB / 0.9641 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7747, allocations: 3.938 kB / 0.9641 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004419/0.7751, allocations: 86.09 kB / 0.9642 GB, free: 14.63 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.0009037/0.7761, allocations: 1.001 MB / 0.9651 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001027/0.7771, allocations: 0.7044 MB / 0.9658 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.7771, allocations: 1 kB / 0.9658 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002045/0.7773, allocations: 148.5 kB / 0.966 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005343/0.7779, allocations: 81.86 kB / 0.9661 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005095/0.783, allocations: 3.819 MB / 0.9698 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.7834, allocations: 0.7765 MB / 0.9705 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002094/0.7836, allocations: 77.5 kB / 0.9706 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.7837, allocations: 116.9 kB / 0.9707 GB, free: 9.672 MB / 0.7325 GB Notification: Performance of SimCode: time 5.21e-07/0.7837, allocations: 4 kB / 0.9707 GB, free: 9.668 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02676/0.8105, allocations: 8.348 MB / 0.9789 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.621/8.432, allocations: 5.938 kB / 0.9789 GB, free: 3.316 MB / 0.7325 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.csv","/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