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.005069/0.005069, allocations: 100.8 kB / 15.73 MB, free: 6.445 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.001169/0.001169, allocations: 191.1 kB / 16.67 MB, free: 6.348 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.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.458/2.458, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 59.53 kB / 0.9504 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.282, allocations: 140.4 MB / 1.087 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002726/0.2848, allocations: 1.141 MB / 1.089 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002172/0.287, allocations: 1.511 MB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001517/0.2872, allocations: 4 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001499/0.2874, allocations: 27.61 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001523/0.2875, allocations: 67.5 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.2888, allocations: 497.5 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007274/0.2896, allocations: 0.6245 MB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000321/0.2899, allocations: 156.6 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003877/0.2903, allocations: 231.4 kB / 1.092 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003477/0.2907, allocations: 207.3 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001849/0.2908, allocations: 60 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.291, allocations: 75.98 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.2911, allocations: 83.69 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003076/0.2914, allocations: 227.1 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006884/0.2921, allocations: 0.6267 MB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2921, allocations: 0 / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2921, allocations: 0 / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.599e-05/0.2922, allocations: 0 / 1.093 GB, free: 12.5 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.001117/0.2933, allocations: 0.7509 MB / 1.094 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.2933, allocations: 8.031 kB / 1.094 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.661e-05/0.2934, allocations: 58.72 kB / 1.094 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.2935, allocations: 44.75 kB / 1.094 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.2946, allocations: 416 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.558e-05/0.2947, allocations: 24.81 kB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.89e-05/0.2947, allocations: 40.12 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004199/0.2952, allocations: 247.2 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.2952, allocations: 0 / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.633e-05/0.2952, allocations: 16 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.2952, allocations: 8 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002465/0.2955, allocations: 157.7 kB / 1.095 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001588/0.2971, allocations: 0.849 MB / 1.095 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003577/0.2975, allocations: 220.7 kB / 1.096 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002744/0.2977, allocations: 220.6 kB / 1.096 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.2978, allocations: 4 kB / 1.096 GB, free: 9.277 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00034/0.2981, allocations: 239.9 kB / 1.096 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=28): time 1.753e-06/0.2981, allocations: 4 kB / 1.096 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=28): time 0.0007591/0.2989, allocations: 438.4 kB / 1.096 GB, free: 8.586 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.959e-05/0.299, allocations: 110.8 kB / 1.097 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003493/0.2994, allocations: 328.3 kB / 1.097 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.811e-05/0.2994, allocations: 45.69 kB / 1.097 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.2996, allocations: 172.8 kB / 1.097 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.92e-05/0.2997, allocations: 67.53 kB / 1.097 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000243/0.2999, allocations: 145.9 kB / 1.097 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.3001, allocations: 342.8 kB / 1.098 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004483/0.3006, allocations: 208.7 kB / 1.098 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004913/0.3011, allocations: 328.7 kB / 1.098 GB, free: 6.758 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006976/0.3018, allocations: 0.5271 MB / 1.099 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.3018, allocations: 0 / 1.099 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001268/0.303, allocations: 0.7405 MB / 1.099 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.3032, allocations: 130.8 kB / 1.1 GB, free: 5.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.3032, allocations: 3.938 kB / 1.1 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.3032, allocations: 8 kB / 1.1 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.3034, allocations: 55.91 kB / 1.1 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.3034, allocations: 12.34 kB / 1.1 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006931/0.3041, allocations: 131.5 kB / 1.1 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.3042, allocations: 63.92 kB / 1.1 GB, free: 4.969 MB / 0.8575 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.0002452/0.3045, allocations: 193.7 kB / 1.1 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.495e-05/0.3046, allocations: 39.75 kB / 1.1 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005495/0.3051, allocations: 369.9 kB / 1.1 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.3051, allocations: 4 kB / 1.1 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3051, allocations: 0 / 1.1 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3052, allocations: 0 / 1.1 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.3063, allocations: 0.7563 MB / 1.101 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.3063, allocations: 0 / 1.101 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.3064, allocations: 35.92 kB / 1.101 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.3064, allocations: 4 kB / 1.101 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.3064, allocations: 8 kB / 1.101 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.3065, allocations: 8 kB / 1.101 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3065, allocations: 0 / 1.101 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005642/0.307, allocations: 432.8 kB / 1.102 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.298e-05/0.3071, allocations: 104.9 kB / 1.102 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.619e-05/0.3072, allocations: 15.94 kB / 1.102 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.3073, allocations: 15.88 kB / 1.102 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.556e-05/0.3074, allocations: 23.97 kB / 1.102 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.3074, allocations: 19.98 kB / 1.102 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003184/0.3077, allocations: 211.1 kB / 1.102 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3077, allocations: 0 / 1.102 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004447/0.3082, allocations: 91.94 kB / 1.102 GB, free: 2.566 MB / 0.8575 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.0008797/0.3091, allocations: 0.9918 MB / 1.103 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0009552/0.31, allocations: 0.6691 MB / 1.104 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.3101, allocations: 0 / 1.104 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.3103, allocations: 152.6 kB / 1.104 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005464/0.3108, allocations: 81.77 kB / 1.104 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005414/0.3162, allocations: 3.827 MB / 1.108 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004613/0.3167, allocations: 0.7837 MB / 1.108 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002445/0.317, allocations: 71.23 kB / 1.108 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.3171, allocations: 111.4 kB / 1.109 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of SimCode: time 4e-07/0.3171, allocations: 0 / 1.109 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02935/0.3465, allocations: 8.435 MB / 1.117 GB, free: 3.352 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.278/8.625, allocations: 3.953 kB / 1.117 GB, free: 3.348 MB / 0.8731 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