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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_10_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.001518/0.001518, allocations: 108 kB / 15.6 MB, free: 132 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.001788/0.001788, allocations: 191.6 kB / 16.53 MB, free: 6.391 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.424/1.424, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.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.643/2.643, allocations: 437 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 63.91 kB / 0.8694 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6667/0.6683, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002738/0.6711, allocations: 1.151 MB / 1.019 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002277/0.6734, allocations: 1.51 MB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002157/0.6736, allocations: 4 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001774/0.6738, allocations: 27.61 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001818/0.674, allocations: 59.44 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.6753, allocations: 485 kB / 1.021 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006833/0.676, allocations: 0.6128 MB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000305/0.6763, allocations: 156.4 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003176/0.6766, allocations: 223.5 kB / 1.022 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002647/0.6769, allocations: 195.2 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.677, allocations: 60 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001731/0.6772, allocations: 75.97 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.313e-05/0.6773, allocations: 75.77 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000261/0.6776, allocations: 223.1 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006184/0.6782, allocations: 0.6137 MB / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.6782, allocations: 0 / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6782, allocations: 4 kB / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.583e-05/0.6783, allocations: 0 / 1.023 GB, free: 13.04 MB / 0.7794 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.001121/0.6794, allocations: 0.7433 MB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.6794, allocations: 12.02 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.226e-05/0.6795, allocations: 54.73 kB / 1.024 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.6796, allocations: 48.47 kB / 1.024 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.6807, allocations: 411.9 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.665e-05/0.6808, allocations: 24.81 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.395e-05/0.6809, allocations: 36.38 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003956/0.6813, allocations: 255.5 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.6813, allocations: 3.938 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.457e-05/0.6813, allocations: 8 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.6813, allocations: 4 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002548/0.6816, allocations: 157.7 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.6828, allocations: 0.8607 MB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003292/0.6832, allocations: 224.9 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.6835, allocations: 204.8 kB / 1.026 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.6835, allocations: 0 / 1.026 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000328/0.6838, allocations: 248.8 kB / 1.026 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=28): time 1.463e-06/0.6838, allocations: 0 / 1.026 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28): time 0.0007339/0.6846, allocations: 427.9 kB / 1.026 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.296e-05/0.6847, allocations: 122.7 kB / 1.026 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003231/0.685, allocations: 324.2 kB / 1.027 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.447e-05/0.6851, allocations: 49.69 kB / 1.027 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.6852, allocations: 176.5 kB / 1.027 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.642e-05/0.6853, allocations: 59.25 kB / 1.027 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002327/0.6855, allocations: 145.9 kB / 1.027 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.6857, allocations: 342.8 kB / 1.027 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000393/0.6861, allocations: 208.7 kB / 1.028 GB, free: 7.684 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004617/0.6865, allocations: 328.9 kB / 1.028 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006859/0.6872, allocations: 0.535 MB / 1.029 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.6873, allocations: 0 / 1.029 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001258/0.6885, allocations: 0.7325 MB / 1.029 GB, free: 5.949 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.151e-05/0.6886, allocations: 126.8 kB / 1.029 GB, free: 5.801 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.6886, allocations: 4 kB / 1.029 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.6887, allocations: 4 kB / 1.029 GB, free: 5.793 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.6889, allocations: 63.84 kB / 1.029 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.6889, allocations: 4 kB / 1.029 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006824/0.6896, allocations: 135.6 kB / 1.03 GB, free: 5.594 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/0.6897, allocations: 75.84 kB / 1.03 GB, free: 5.52 MB / 0.7794 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.0002473/0.69, allocations: 185.8 kB / 1.03 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.398e-05/0.69, allocations: 31.61 kB / 1.03 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005369/0.6906, allocations: 365.1 kB / 1.03 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.6906, allocations: 7.938 kB / 1.03 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.6906, allocations: 4 kB / 1.03 GB, free: 4.922 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.6906, allocations: 0 / 1.03 GB, free: 4.922 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009058/0.6915, allocations: 0.7485 MB / 1.031 GB, free: 4.117 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.6915, allocations: 3.938 kB / 1.031 GB, free: 4.113 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.6917, allocations: 39.92 kB / 1.031 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.6917, allocations: 4 kB / 1.031 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.6917, allocations: 7.938 kB / 1.031 GB, free: 4.062 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.6917, allocations: 7.938 kB / 1.031 GB, free: 4.055 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.6917, allocations: 0 / 1.031 GB, free: 4.055 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005026/0.6922, allocations: 427.3 kB / 1.031 GB, free: 3.621 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.479e-05/0.6923, allocations: 116.5 kB / 1.032 GB, free: 3.488 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.084e-05/0.6924, allocations: 8 kB / 1.032 GB, free: 3.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.6925, allocations: 11.98 kB / 1.032 GB, free: 3.469 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.337e-05/0.6926, allocations: 27.97 kB / 1.032 GB, free: 3.441 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.6926, allocations: 15.98 kB / 1.032 GB, free: 3.426 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002108/0.6928, allocations: 215 kB / 1.032 GB, free: 3.219 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6928, allocations: 0 / 1.032 GB, free: 3.219 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004129/0.6932, allocations: 92 kB / 1.032 GB, free: 3.129 MB / 0.7794 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.0008116/0.6941, allocations: 0.9916 MB / 1.033 GB, free: 2.109 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001008/0.6951, allocations: 0.7045 MB / 1.034 GB, free: 1.355 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.6951, allocations: 0 / 1.034 GB, free: 1.355 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.6953, allocations: 148.6 kB / 1.034 GB, free: 1.211 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005275/0.6958, allocations: 80.98 kB / 1.034 GB, free: 1.133 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005136/0.701, allocations: 3.824 MB / 1.037 GB, free: 13.13 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/0.7014, allocations: 0.7764 MB / 1.038 GB, free: 12.33 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002175/0.7017, allocations: 71.23 kB / 1.038 GB, free: 12.26 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.7018, allocations: 111.4 kB / 1.038 GB, free: 12.15 MB / 0.795 GB Notification: Performance of SimCode: time 6.61e-07/0.7018, allocations: 0 / 1.038 GB, free: 12.15 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02743/0.7293, allocations: 8.359 MB / 1.047 GB, free: 3.953 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.017/8.747, allocations: 25.36 kB / 1.047 GB, free: 3.934 MB / 0.795 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.fmu > 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