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.001664/0.001664, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.002138/0.002138, allocations: 217.1 kB / 22.25 MB, free: 5.082 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.557/1.557, allocations: 230.6 MB / 256 MB, free: 8.031 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.42/3.42, allocations: 0.505 GB / 0.8101 GB, free: 22.11 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.003187/0.003187, allocations: 70.86 kB / 1.177 GB, free: 17.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4593/0.4625, allocations: 180.2 MB / 1.353 GB, free: 8.488 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002597/0.465, allocations: 1.155 MB / 1.354 GB, free: 7.332 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002257/0.4673, allocations: 1.553 MB / 1.356 GB, free: 5.766 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.4674, allocations: 7.938 kB / 1.356 GB, free: 5.758 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001491/0.4676, allocations: 31.59 kB / 1.356 GB, free: 5.727 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.4677, allocations: 67.5 kB / 1.356 GB, free: 5.66 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.4689, allocations: 497.8 kB / 1.356 GB, free: 5.184 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0007125/0.4696, allocations: 0.5816 MB / 1.357 GB, free: 4.602 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002738/0.4699, allocations: 104.9 kB / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002615/0.4702, allocations: 227.5 kB / 1.357 GB, free: 4.277 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003262/0.4705, allocations: 219.2 kB / 1.357 GB, free: 4.062 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.31e-05/0.4706, allocations: 60 kB / 1.357 GB, free: 4.004 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.4707, allocations: 75.98 kB / 1.357 GB, free: 3.93 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.4708, allocations: 83.69 kB / 1.357 GB, free: 3.848 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002632/0.4711, allocations: 223.1 kB / 1.358 GB, free: 3.629 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007552/0.4719, allocations: 0.6306 MB / 1.358 GB, free: 2.996 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4719, allocations: 0 / 1.358 GB, free: 2.996 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.774e-06/0.4719, allocations: 0 / 1.358 GB, free: 2.996 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.026e-06/0.4719, allocations: 0 / 1.358 GB, free: 2.996 MB / 1.045 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.001066/0.4729, allocations: 0.6756 MB / 1.359 GB, free: 2.262 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.473, allocations: 8.031 kB / 1.359 GB, free: 2.254 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.027e-05/0.4731, allocations: 58.72 kB / 1.359 GB, free: 2.188 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.4732, allocations: 48.7 kB / 1.359 GB, free: 2.141 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009886/0.4742, allocations: 337.8 kB / 1.359 GB, free: 1.781 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.573e-05/0.4742, allocations: 28.8 kB / 1.359 GB, free: 1.754 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.358e-05/0.4743, allocations: 36.38 kB / 1.359 GB, free: 1.719 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004187/0.4747, allocations: 255.5 kB / 1.36 GB, free: 1.461 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.4747, allocations: 0 / 1.36 GB, free: 1.461 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.4747, allocations: 16 kB / 1.36 GB, free: 1.445 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.4747, allocations: 4 kB / 1.36 GB, free: 1.441 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002622/0.475, allocations: 157.7 kB / 1.36 GB, free: 1.289 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.4764, allocations: 0.8093 MB / 1.361 GB, free: 444 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003503/0.4768, allocations: 214.7 kB / 1.361 GB, free: 220 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002883/0.4771, allocations: 203 kB / 1.361 GB, free: 16 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.4771, allocations: 3.984 kB / 1.361 GB, free: 12 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003894/0.4775, allocations: 249 kB / 1.361 GB, free: 15.75 MB / 1.061 GB Notification: Performance of pre-optimization done (n=28): time 1.363e-06/0.4775, allocations: 0 / 1.361 GB, free: 15.75 MB / 1.061 GB Notification: Performance of matching and sorting (n=28): time 0.0007854/0.4783, allocations: 427.2 kB / 1.362 GB, free: 15.32 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.78e-05/0.4784, allocations: 122.7 kB / 1.362 GB, free: 15.18 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003654/0.4787, allocations: 324.3 kB / 1.362 GB, free: 14.85 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.486e-05/0.4788, allocations: 41.7 kB / 1.362 GB, free: 14.8 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.479, allocations: 180.8 kB / 1.362 GB, free: 14.62 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.03e-05/0.479, allocations: 63.52 kB / 1.362 GB, free: 14.56 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002468/0.4793, allocations: 150 kB / 1.362 GB, free: 14.4 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001944/0.4795, allocations: 350.7 kB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004098/0.4799, allocations: 204.7 kB / 1.363 GB, free: 13.85 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004999/0.4804, allocations: 336.6 kB / 1.363 GB, free: 13.48 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007036/0.4811, allocations: 0.5271 MB / 1.364 GB, free: 12.88 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.4811, allocations: 4 kB / 1.364 GB, free: 12.88 MB / 1.061 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001192/0.4823, allocations: 0.7482 MB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.4824, allocations: 125.1 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.4824, allocations: 4 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.4824, allocations: 4.406 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.4826, allocations: 63.84 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.4827, allocations: 7.938 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006218/0.4833, allocations: 127.6 kB / 1.365 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.4834, allocations: 71.92 kB / 1.365 GB, free: 11.68 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.0002638/0.4837, allocations: 193.6 kB / 1.365 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.646e-05/0.4837, allocations: 27.81 kB / 1.365 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005794/0.4843, allocations: 365.3 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.4843, allocations: 11.92 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4843, allocations: 0 / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.4843, allocations: 0 / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009756/0.4853, allocations: 0.717 MB / 1.366 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.4853, allocations: 3.938 kB / 1.366 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.4854, allocations: 35.92 kB / 1.366 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.4854, allocations: 4 kB / 1.366 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.4854, allocations: 15.98 kB / 1.366 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.4854, allocations: 0 / 1.366 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4854, allocations: 0 / 1.366 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005236/0.486, allocations: 436.9 kB / 1.367 GB, free: 9.816 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.687e-05/0.486, allocations: 39.64 kB / 1.367 GB, free: 9.777 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.314e-05/0.4861, allocations: 8 kB / 1.367 GB, free: 9.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.4862, allocations: 11.98 kB / 1.367 GB, free: 9.758 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.774e-05/0.4862, allocations: 27.91 kB / 1.367 GB, free: 9.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.4863, allocations: 11.98 kB / 1.367 GB, free: 9.719 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002266/0.4865, allocations: 215.1 kB / 1.367 GB, free: 9.512 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4865, allocations: 0 / 1.367 GB, free: 9.512 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004009/0.4869, allocations: 99.83 kB / 1.367 GB, free: 9.414 MB / 1.061 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.0009221/0.4878, allocations: 0.9796 MB / 1.368 GB, free: 8.406 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008801/0.4887, allocations: 0.615 MB / 1.369 GB, free: 7.742 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.4887, allocations: 7.938 kB / 1.369 GB, free: 7.734 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001897/0.4889, allocations: 128.7 kB / 1.369 GB, free: 7.609 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004962/0.4894, allocations: 77.02 kB / 1.369 GB, free: 7.535 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005102/0.4945, allocations: 3.834 MB / 1.373 GB, free: 3.504 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/0.4949, allocations: 0.7798 MB / 1.373 GB, free: 2.703 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001816/0.4951, allocations: 71.23 kB / 1.373 GB, free: 2.633 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/0.4953, allocations: 115.4 kB / 1.374 GB, free: 2.52 MB / 1.061 GB Notification: Performance of SimCode: time 5.51e-07/0.4953, allocations: 0 / 1.374 GB, free: 2.52 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0409/0.5362, allocations: 8.777 MB / 1.382 GB, free: 9.938 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.18, allocations: 5.062 kB / 1.382 GB, free: 9.934 MB / 1.076 GB " [Timeout remaining time 288] (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.37597381998785]