Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001786/0.001786, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001934/0.001934, allocations: 213.8 kB / 22.25 MB, free: 5.242 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.54/1.54, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.306/3.306, allocations: 0.4892 GB / 0.7943 GB, free: 35.67 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_12_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.002682/0.002682, allocations: 64.17 kB / 1.153 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4055, allocations: 176.1 MB / 1.325 GB, free: 2.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002396/0.4079, allocations: 1.099 MB / 1.326 GB, free: 1.266 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002098/0.41, allocations: 1.525 MB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.805e-05/0.4101, allocations: 7.938 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001357/0.4102, allocations: 31.61 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.4104, allocations: 67.5 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.4115, allocations: 492.2 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006165/0.4121, allocations: 0.5855 MB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002364/0.4123, allocations: 92.94 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002496/0.4126, allocations: 239.4 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002731/0.4129, allocations: 187.2 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.433e-05/0.413, allocations: 60 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.4131, allocations: 75.92 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.041e-05/0.4132, allocations: 67.78 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002179/0.4134, allocations: 215.2 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000628/0.414, allocations: 0.6227 MB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.414, allocations: 0 / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/0.414, allocations: 4 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.414, allocations: 0 / 1.33 GB, free: 13.01 MB / 1.029 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.0009446/0.415, allocations: 0.6795 MB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.415, allocations: 8.031 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.699e-05/0.4151, allocations: 54.73 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.4152, allocations: 48.7 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.4162, allocations: 337.8 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.568e-05/0.4163, allocations: 28.75 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.887e-05/0.4164, allocations: 40.36 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004984/0.4169, allocations: 380 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.4169, allocations: 0 / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/0.4169, allocations: 12 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.4169, allocations: 4 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002689/0.4172, allocations: 153.7 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/0.4186, allocations: 0.7275 MB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003537/0.4189, allocations: 210.7 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002846/0.4192, allocations: 192.8 kB / 1.333 GB, free: 9.98 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.4192, allocations: 0 / 1.333 GB, free: 9.98 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004192/0.4197, allocations: 350.6 kB / 1.333 GB, free: 9.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=28): time 1.392e-06/0.4197, allocations: 4 kB / 1.333 GB, free: 9.586 MB / 1.029 GB Notification: Performance of matching and sorting (n=28): time 0.0007616/0.4204, allocations: 435.1 kB / 1.334 GB, free: 9.156 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.522e-05/0.4205, allocations: 110.8 kB / 1.334 GB, free: 9.023 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003585/0.4209, allocations: 336.2 kB / 1.334 GB, free: 8.688 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.746e-05/0.4209, allocations: 37.7 kB / 1.334 GB, free: 8.645 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.4211, allocations: 180.8 kB / 1.334 GB, free: 8.465 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.74e-05/0.4212, allocations: 63.53 kB / 1.335 GB, free: 8.402 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002277/0.4214, allocations: 146 kB / 1.335 GB, free: 8.25 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001901/0.4216, allocations: 342.8 kB / 1.335 GB, free: 7.906 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004969/0.4221, allocations: 335.5 kB / 1.335 GB, free: 7.555 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006106/0.4227, allocations: 0.503 MB / 1.336 GB, free: 6.969 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007043/0.4234, allocations: 0.5311 MB / 1.336 GB, free: 6.367 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4234, allocations: 0 / 1.336 GB, free: 6.367 MB / 1.029 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001259/0.4246, allocations: 0.8648 MB / 1.337 GB, free: 5.449 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-05/0.4247, allocations: 126.8 kB / 1.337 GB, free: 5.301 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.4248, allocations: 4.406 kB / 1.337 GB, free: 5.297 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.4248, allocations: 12 kB / 1.337 GB, free: 5.285 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.425, allocations: 63.78 kB / 1.337 GB, free: 5.223 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.425, allocations: 8 kB / 1.337 GB, free: 5.215 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006515/0.4257, allocations: 139.5 kB / 1.337 GB, free: 5.078 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.4258, allocations: 71.86 kB / 1.338 GB, free: 5.008 MB / 1.029 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.0002488/0.426, allocations: 181.8 kB / 1.338 GB, free: 4.824 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.276e-05/0.4261, allocations: 35.8 kB / 1.338 GB, free: 4.789 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005667/0.4266, allocations: 369.5 kB / 1.338 GB, free: 4.418 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.4266, allocations: 3.938 kB / 1.338 GB, free: 4.414 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.4266, allocations: 4 kB / 1.338 GB, free: 4.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4267, allocations: 0 / 1.338 GB, free: 4.41 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000963/0.4276, allocations: 0.6969 MB / 1.339 GB, free: 3.664 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.4276, allocations: 3.938 kB / 1.339 GB, free: 3.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.4277, allocations: 39.92 kB / 1.339 GB, free: 3.621 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/0.4278, allocations: 8 kB / 1.339 GB, free: 3.613 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.4278, allocations: 3.984 kB / 1.339 GB, free: 3.609 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.4278, allocations: 4 kB / 1.339 GB, free: 3.605 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4278, allocations: 0 / 1.339 GB, free: 3.605 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00051/0.4283, allocations: 440.7 kB / 1.339 GB, free: 3.16 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.858e-05/0.4283, allocations: 27.75 kB / 1.339 GB, free: 3.133 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.089e-05/0.4284, allocations: 15.89 kB / 1.339 GB, free: 3.117 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.4285, allocations: 15.97 kB / 1.339 GB, free: 3.102 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.4286, allocations: 19.97 kB / 1.339 GB, free: 3.082 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.4286, allocations: 15.98 kB / 1.339 GB, free: 3.066 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000221/0.4288, allocations: 211.1 kB / 1.34 GB, free: 2.859 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4288, allocations: 4 kB / 1.34 GB, free: 2.855 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004004/0.4292, allocations: 92 kB / 1.34 GB, free: 2.766 MB / 1.029 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.0008961/0.4301, allocations: 0.9834 MB / 1.341 GB, free: 1.75 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009606/0.4311, allocations: 0.7395 MB / 1.341 GB, free: 0.9375 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.4311, allocations: 4.062 kB / 1.341 GB, free: 0.9336 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.4313, allocations: 136.4 kB / 1.341 GB, free: 0.8008 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005294/0.4318, allocations: 76.92 kB / 1.342 GB, free: 0.7266 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00575/0.4375, allocations: 4.36 MB / 1.346 GB, free: 12.07 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.4378, allocations: 181.5 kB / 1.346 GB, free: 11.88 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002162/0.438, allocations: 71.22 kB / 1.346 GB, free: 11.81 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/0.4381, allocations: 115.4 kB / 1.346 GB, free: 11.7 MB / 1.045 GB Notification: Performance of SimCode: time 9.02e-07/0.4381, allocations: 0 / 1.346 GB, free: 11.7 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04298/0.4811, allocations: 9.647 MB / 1.356 GB, free: 2.324 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.37, allocations: 1.219 kB / 1.356 GB, free: 2.324 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.418502217158675]