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.001183/0.001183, allocations: 108 kB / 15.6 MB, free: 128 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.001099/0.001099, allocations: 195.7 kB / 16.53 MB, free: 6.672 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.3/1.3, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.325/2.325, allocations: 390.2 MB / 0.6647 GB, free: 492 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.91 kB / 0.8127 GB, free: 14.4 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5895/0.5907, allocations: 140.4 MB / 0.9497 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002225/0.593, allocations: 1.142 MB / 0.9508 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001734/0.5947, allocations: 1.509 MB / 0.9523 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.5948, allocations: 3.344 kB / 0.9523 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001335/0.595, allocations: 29.08 kB / 0.9524 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.723e-05/0.5951, allocations: 55.69 kB / 0.9524 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.5961, allocations: 489.1 kB / 0.9529 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005313/0.5967, allocations: 0.6162 MB / 0.9535 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002666/0.597, allocations: 146.5 kB / 0.9536 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/0.5971, allocations: 231.8 kB / 0.9538 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.5973, allocations: 190.4 kB / 0.954 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.525e-05/0.5974, allocations: 59.44 kB / 0.9541 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.5976, allocations: 82.27 kB / 0.9542 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.442e-05/0.5977, allocations: 71.11 kB / 0.9542 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001959/0.5979, allocations: 228.6 kB / 0.9544 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004101/0.5983, allocations: 0.6194 MB / 0.955 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5983, allocations: 0 / 0.955 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.253e-06/0.5983, allocations: 0 / 0.955 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.5983, allocations: 0 / 0.955 GB, free: 5.184 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.0007444/0.599, allocations: 0.7419 MB / 0.9558 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.5991, allocations: 13.39 kB / 0.9558 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.815e-05/0.5991, allocations: 54.89 kB / 0.9558 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.5993, allocations: 50.81 kB / 0.9559 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009549/0.6002, allocations: 401 kB / 0.9563 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.6003, allocations: 27.75 kB / 0.9563 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.122e-05/0.6003, allocations: 39.47 kB / 0.9563 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000392/0.6007, allocations: 252.4 kB / 0.9566 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.6008, allocations: 4 kB / 0.9566 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.6008, allocations: 11.25 kB / 0.9566 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.6008, allocations: 4.531 kB / 0.9566 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002532/0.6011, allocations: 160.1 kB / 0.9567 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.6022, allocations: 0.8555 MB / 0.9576 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003183/0.6025, allocations: 226.1 kB / 0.9578 GB, free: 3 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002401/0.6028, allocations: 210.6 kB / 0.958 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.6028, allocations: 1.938 kB / 0.958 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002857/0.6031, allocations: 241.7 kB / 0.9582 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=28): time 2.174e-06/0.6031, allocations: 4 kB / 0.9582 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28): time 0.0006675/0.6038, allocations: 433.3 kB / 0.9586 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.6038, allocations: 116 kB / 0.9588 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000265/0.6041, allocations: 323.4 kB / 0.9591 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.963e-05/0.6041, allocations: 46.12 kB / 0.9591 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.6043, allocations: 174.5 kB / 0.9593 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.6043, allocations: 66.84 kB / 0.9593 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001952/0.6045, allocations: 140.7 kB / 0.9595 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.254e-05/0.6046, allocations: 347 kB / 0.9598 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003401/0.6049, allocations: 205.9 kB / 0.96 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003692/0.6053, allocations: 332.9 kB / 0.9603 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005106/0.6058, allocations: 0.5304 MB / 0.9608 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.6058, allocations: 1.156 kB / 0.9608 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001002/0.6068, allocations: 0.7317 MB / 0.9615 GB, free: 376 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.554e-05/0.6069, allocations: 128.6 kB / 0.9617 GB, free: 236 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.6069, allocations: 10.72 kB / 0.9617 GB, free: 228 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.607, allocations: 5.219 kB / 0.9617 GB, free: 228 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.6071, allocations: 58.72 kB / 0.9617 GB, free: 212 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.6072, allocations: 9.844 kB / 0.9618 GB, free: 208 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006884/0.6079, allocations: 127.3 kB / 0.9619 GB, free: 148 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.73e-05/0.608, allocations: 68.67 kB / 0.9619 GB, free: 120 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.000218/0.6082, allocations: 189.1 kB / 0.9621 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.59e-05/0.6083, allocations: 38.7 kB / 0.9622 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005414/0.6088, allocations: 372.1 kB / 0.9625 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.6088, allocations: 3.25 kB / 0.9625 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.6088, allocations: 0 / 0.9625 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.6088, allocations: 1.188 kB / 0.9625 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000878/0.6097, allocations: 0.7592 MB / 0.9633 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.6097, allocations: 5.094 kB / 0.9633 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/0.6099, allocations: 34.86 kB / 0.9633 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.6099, allocations: 2.25 kB / 0.9633 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.6099, allocations: 6.25 kB / 0.9633 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.6099, allocations: 1.188 kB / 0.9633 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6099, allocations: 1.281 kB / 0.9633 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005006/0.6104, allocations: 433.3 kB / 0.9637 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.769e-05/0.6105, allocations: 109.3 kB / 0.9638 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.6106, allocations: 10.81 kB / 0.9638 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.6107, allocations: 12.61 kB / 0.9638 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.451e-05/0.6107, allocations: 21.75 kB / 0.9639 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.6108, allocations: 15.7 kB / 0.9639 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002107/0.611, allocations: 213.4 kB / 0.9641 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.114e-06/0.611, allocations: 0 / 0.9641 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004231/0.6114, allocations: 94.19 kB / 0.9642 GB, free: 14.59 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.0008492/0.6123, allocations: 1.001 MB / 0.9651 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009536/0.6132, allocations: 0.6963 MB / 0.9658 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.6133, allocations: 1.125 kB / 0.9658 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.6135, allocations: 157.3 kB / 0.966 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005061/0.614, allocations: 80.89 kB / 0.9661 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004632/0.6186, allocations: 3.831 MB / 0.9698 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.619, allocations: 0.7761 MB / 0.9706 GB, free: 9.742 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001749/0.6191, allocations: 69.89 kB / 0.9706 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.6193, allocations: 112.6 kB / 0.9707 GB, free: 9.629 MB / 0.7325 GB Notification: Performance of SimCode: time 7.31e-07/0.6193, allocations: 4 kB / 0.9707 GB, free: 9.625 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06713/0.6864, allocations: 8.353 MB / 0.9789 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.538/8.224, allocations: 3.938 kB / 0.9789 GB, free: 3.352 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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