Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002195/0.002195, allocations: 213.1 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.652/1.652, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.342/3.342, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 71.55 kB / 1.186 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3933, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002717/0.3961, allocations: 1.092 MB / 1.364 GB, free: 13.01 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002196/0.3983, allocations: 1.53 MB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.765e-05/0.3984, allocations: 7.938 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.3985, allocations: 31.61 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.3986, allocations: 71.5 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.3998, allocations: 488.6 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000761/0.4006, allocations: 0.5933 MB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002851/0.4009, allocations: 92.94 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002838/0.4011, allocations: 239.4 kB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003647/0.4015, allocations: 187.2 kB / 1.368 GB, free: 9.781 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.4016, allocations: 60 kB / 1.368 GB, free: 9.723 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.4017, allocations: 68 kB / 1.368 GB, free: 9.656 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.4019, allocations: 79.75 kB / 1.368 GB, free: 9.578 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002214/0.4021, allocations: 195.2 kB / 1.368 GB, free: 9.387 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006948/0.4028, allocations: 0.6346 MB / 1.369 GB, free: 8.75 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.4028, allocations: 0 / 1.369 GB, free: 8.75 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4028, allocations: 0 / 1.369 GB, free: 8.75 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.4028, allocations: 0 / 1.369 GB, free: 8.75 MB / 1.061 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.001001/0.4038, allocations: 0.6717 MB / 1.369 GB, free: 8.02 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.4038, allocations: 12.03 kB / 1.369 GB, free: 8.008 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.361e-05/0.4039, allocations: 58.73 kB / 1.369 GB, free: 7.941 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.404, allocations: 44.7 kB / 1.369 GB, free: 7.898 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.4051, allocations: 341.8 kB / 1.37 GB, free: 7.543 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.207e-05/0.4051, allocations: 24.81 kB / 1.37 GB, free: 7.52 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.239e-05/0.4052, allocations: 32.38 kB / 1.37 GB, free: 7.488 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005217/0.4057, allocations: 388 kB / 1.37 GB, free: 7.074 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.4057, allocations: 0 / 1.37 GB, free: 7.074 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.401e-05/0.4057, allocations: 11.98 kB / 1.37 GB, free: 7.062 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.4058, allocations: 11.94 kB / 1.37 GB, free: 7.051 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002601/0.406, allocations: 153.6 kB / 1.37 GB, free: 6.902 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001423/0.4074, allocations: 0.7275 MB / 1.371 GB, free: 6.129 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003638/0.4078, allocations: 206.7 kB / 1.371 GB, free: 5.918 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002941/0.4081, allocations: 192.8 kB / 1.371 GB, free: 5.727 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.4081, allocations: 4 kB / 1.371 GB, free: 5.723 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004802/0.4086, allocations: 350.6 kB / 1.372 GB, free: 5.332 MB / 1.061 GB Notification: Performance of pre-optimization done (n=28): time 1.583e-06/0.4086, allocations: 4 kB / 1.372 GB, free: 5.328 MB / 1.061 GB Notification: Performance of matching and sorting (n=28): time 0.0007796/0.4094, allocations: 439.1 kB / 1.372 GB, free: 4.895 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001687/0.4096, allocations: 114.7 kB / 1.372 GB, free: 4.758 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003674/0.4099, allocations: 332.3 kB / 1.373 GB, free: 4.43 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.259e-05/0.41, allocations: 37.7 kB / 1.373 GB, free: 4.387 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.4102, allocations: 180.8 kB / 1.373 GB, free: 4.207 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.707e-05/0.4102, allocations: 59.52 kB / 1.373 GB, free: 4.148 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002408/0.4105, allocations: 153.9 kB / 1.373 GB, free: 3.988 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.4107, allocations: 342.8 kB / 1.373 GB, free: 3.645 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004845/0.4111, allocations: 335.5 kB / 1.374 GB, free: 3.293 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006086/0.4117, allocations: 0.4914 MB / 1.374 GB, free: 2.715 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008023/0.4125, allocations: 0.5311 MB / 1.375 GB, free: 2.113 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.4126, allocations: 4 kB / 1.375 GB, free: 2.109 MB / 1.061 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001356/0.4139, allocations: 0.8721 MB / 1.375 GB, free: 1.184 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.000118/0.414, allocations: 126.8 kB / 1.376 GB, free: 1.035 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.414, allocations: 4.406 kB / 1.376 GB, free: 1.031 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.4141, allocations: 8 kB / 1.376 GB, free: 1.023 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.4143, allocations: 59.86 kB / 1.376 GB, free: 0.9648 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/0.4143, allocations: 11.92 kB / 1.376 GB, free: 0.9531 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006882/0.415, allocations: 123.6 kB / 1.376 GB, free: 0.832 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/0.4151, allocations: 75.92 kB / 1.376 GB, free: 0.7578 MB / 1.061 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.0002652/0.4154, allocations: 189.7 kB / 1.376 GB, free: 0.5664 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.144e-05/0.4154, allocations: 31.77 kB / 1.376 GB, free: 0.5352 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005943/0.416, allocations: 369.2 kB / 1.376 GB, free: 168 kB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.416, allocations: 7.938 kB / 1.376 GB, free: 160 kB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.416, allocations: 4 kB / 1.376 GB, free: 156 kB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.416, allocations: 0 / 1.376 GB, free: 156 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.4171, allocations: 0.6936 MB / 1.377 GB, free: 15.41 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.4171, allocations: 3.938 kB / 1.377 GB, free: 15.41 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.4173, allocations: 35.92 kB / 1.377 GB, free: 15.37 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.4173, allocations: 7.938 kB / 1.377 GB, free: 15.36 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.4173, allocations: 11.98 kB / 1.377 GB, free: 15.35 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.4173, allocations: 4 kB / 1.377 GB, free: 15.35 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.4173, allocations: 3.938 kB / 1.377 GB, free: 15.34 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005684/0.4179, allocations: 433 kB / 1.378 GB, free: 14.9 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.33e-05/0.4179, allocations: 43.62 kB / 1.378 GB, free: 14.86 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.727e-05/0.418, allocations: 4 kB / 1.378 GB, free: 14.86 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.4181, allocations: 15.92 kB / 1.378 GB, free: 14.84 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.4181, allocations: 19.97 kB / 1.378 GB, free: 14.82 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.4182, allocations: 15.98 kB / 1.378 GB, free: 14.8 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002991/0.4185, allocations: 215.1 kB / 1.378 GB, free: 14.59 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4185, allocations: 4 kB / 1.378 GB, free: 14.59 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004436/0.4189, allocations: 95.89 kB / 1.378 GB, free: 14.5 MB / 1.076 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.001028/0.4199, allocations: 0.9757 MB / 1.379 GB, free: 13.49 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001039/0.421, allocations: 0.7434 MB / 1.38 GB, free: 12.67 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.421, allocations: 4.062 kB / 1.38 GB, free: 12.67 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.4212, allocations: 127.9 kB / 1.38 GB, free: 12.54 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005287/0.4217, allocations: 84.89 kB / 1.38 GB, free: 12.46 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006018/0.4277, allocations: 4.356 MB / 1.384 GB, free: 7.824 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.428, allocations: 173.5 kB / 1.384 GB, free: 7.641 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002096/0.4282, allocations: 75.22 kB / 1.384 GB, free: 7.562 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001923/0.4284, allocations: 115.4 kB / 1.384 GB, free: 7.453 MB / 1.076 GB Notification: Performance of SimCode: time 9.22e-07/0.4284, allocations: 0 / 1.384 GB, free: 7.453 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04201/0.4704, allocations: 9.646 MB / 1.394 GB, free: 14.07 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.39, allocations: 9.609 kB / 1.394 GB, free: 14.06 MB / 1.092 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.486912882886827]