Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001892/0.001892, allocations: 109.4 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00227/0.00227, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.849/2.849, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 67.89 kB / 1.104 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8397/0.8417, allocations: 168.7 MB / 1.269 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002769/0.8445, allocations: 1.158 MB / 1.27 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002325/0.8468, allocations: 1.507 MB / 1.271 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.8469, allocations: 7.938 kB / 1.271 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.8471, allocations: 27.61 kB / 1.271 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001494/0.8472, allocations: 63.52 kB / 1.271 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.8484, allocations: 499.5 kB / 1.272 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007405/0.8491, allocations: 0.5894 MB / 1.272 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002823/0.8494, allocations: 117 kB / 1.273 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002531/0.8497, allocations: 231.5 kB / 1.273 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002837/0.8499, allocations: 211.2 kB / 1.273 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.707e-05/0.85, allocations: 63.98 kB / 1.273 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001853/0.8502, allocations: 79.92 kB / 1.273 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.572e-05/0.8503, allocations: 67.78 kB / 1.273 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002518/0.8506, allocations: 234.9 kB / 1.273 GB, free: 348 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007773/0.8513, allocations: 0.625 MB / 1.274 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.8513, allocations: 0 / 1.274 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8513, allocations: 0 / 1.274 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.8513, allocations: 0 / 1.274 GB, free: 15.71 MB / 0.9825 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.001202/0.8525, allocations: 0.7547 MB / 1.275 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.8526, allocations: 8.031 kB / 1.275 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.7e-05/0.8527, allocations: 58.72 kB / 1.275 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001651/0.8528, allocations: 48.7 kB / 1.275 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009945/0.8538, allocations: 412 kB / 1.275 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.764e-05/0.8539, allocations: 28.81 kB / 1.275 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.921e-05/0.8539, allocations: 36.38 kB / 1.275 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004177/0.8543, allocations: 251.5 kB / 1.276 GB, free: 14 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.8543, allocations: 0 / 1.276 GB, free: 14 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.8544, allocations: 12 kB / 1.276 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.8544, allocations: 7.984 kB / 1.276 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002766/0.8547, allocations: 157.7 kB / 1.276 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.8562, allocations: 0.8453 MB / 1.277 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003502/0.8565, allocations: 206.7 kB / 1.277 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002805/0.8568, allocations: 200.6 kB / 1.277 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.8568, allocations: 0 / 1.277 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004325/0.8573, allocations: 256.5 kB / 1.277 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=28): time 1.352e-06/0.8573, allocations: 0 / 1.277 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28): time 0.0007404/0.858, allocations: 431.1 kB / 1.278 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/0.8581, allocations: 114.8 kB / 1.278 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000347/0.8585, allocations: 320.4 kB / 1.278 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.000141/0.8586, allocations: 45.7 kB / 1.278 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.8588, allocations: 176.8 kB / 1.278 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.8589, allocations: 67.52 kB / 1.278 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002258/0.8591, allocations: 142 kB / 1.278 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002219/0.8594, allocations: 346.8 kB / 1.279 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003815/0.8597, allocations: 204.7 kB / 1.279 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004712/0.8602, allocations: 332.9 kB / 1.279 GB, free: 10 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006905/0.8609, allocations: 0.5311 MB / 1.28 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.8609, allocations: 0 / 1.28 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001168/0.8621, allocations: 0.7524 MB / 1.281 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001508/0.8622, allocations: 126.8 kB / 1.281 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.8622, allocations: 4 kB / 1.281 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.8622, allocations: 4 kB / 1.281 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.8625, allocations: 67.84 kB / 1.281 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.8625, allocations: 4 kB / 1.281 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006322/0.8631, allocations: 135.6 kB / 1.281 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.8632, allocations: 67.86 kB / 1.281 GB, free: 8.195 MB / 0.9825 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.000263/0.8635, allocations: 195.1 kB / 1.281 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.672e-05/0.8635, allocations: 31.81 kB / 1.281 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005662/0.8641, allocations: 369.4 kB / 1.282 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.8641, allocations: 3.938 kB / 1.282 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.8641, allocations: 0 / 1.282 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.8641, allocations: 7.984 kB / 1.282 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.8652, allocations: 0.7486 MB / 1.282 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.8652, allocations: 7.938 kB / 1.282 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.8653, allocations: 39.92 kB / 1.282 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.8653, allocations: 0 / 1.282 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.8653, allocations: 8 kB / 1.282 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.8653, allocations: 3.984 kB / 1.282 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.8653, allocations: 3.984 kB / 1.282 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005329/0.8659, allocations: 428.9 kB / 1.283 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.799e-05/0.866, allocations: 116.7 kB / 1.283 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.827e-05/0.866, allocations: 8 kB / 1.283 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.8661, allocations: 11.98 kB / 1.283 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.8662, allocations: 15.98 kB / 1.283 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.8662, allocations: 15.98 kB / 1.283 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000221/0.8664, allocations: 215.1 kB / 1.283 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8664, allocations: 0 / 1.283 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004173/0.8668, allocations: 99.83 kB / 1.283 GB, free: 5.793 MB / 0.9825 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.0009695/0.8678, allocations: 0.9877 MB / 1.284 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009316/0.8687, allocations: 0.6115 MB / 1.285 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.8687, allocations: 4 kB / 1.285 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001852/0.8689, allocations: 128.4 kB / 1.285 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004978/0.8694, allocations: 91.47 kB / 1.285 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00528/0.8747, allocations: 3.834 MB / 1.289 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005123/0.8752, allocations: 0.7798 MB / 1.289 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001771/0.8754, allocations: 71.23 kB / 1.29 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.8755, allocations: 115.4 kB / 1.29 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of SimCode: time 5e-07/0.8755, allocations: 0 / 1.29 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03503/0.9106, allocations: 8.467 MB / 1.298 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.702/9.612, allocations: 13.84 kB / 1.298 GB, free: 6.609 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.79826499382034]