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) 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 11.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 108 kB / 15.6 MB, free: 132 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.001807/0.001807, allocations: 192 kB / 16.53 MB, free: 6.391 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.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.525/2.525, allocations: 469.8 MB / 0.7424 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 64.98 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2396, allocations: 159.2 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.0022/0.2418, allocations: 1.144 MB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001728/0.2436, allocations: 1.513 MB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.617e-05/0.2436, allocations: 7.938 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001071/0.2438, allocations: 31.59 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001/0.2439, allocations: 59.5 kB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009625/0.2448, allocations: 482.9 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005596/0.2454, allocations: 0.6167 MB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002483/0.2457, allocations: 144.5 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002059/0.2459, allocations: 227.5 kB / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.2461, allocations: 187.3 kB / 1.068 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.443e-05/0.2462, allocations: 60 kB / 1.068 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.2463, allocations: 71.98 kB / 1.069 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.751e-05/0.2464, allocations: 79.69 kB / 1.069 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002242/0.2466, allocations: 227.1 kB / 1.069 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005385/0.2472, allocations: 0.6195 MB / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2472, allocations: 4 kB / 1.069 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.31e-07/0.2472, allocations: 0 / 1.069 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.2472, allocations: 3.938 kB / 1.069 GB, free: 8.738 MB / 0.8262 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.0008305/0.248, allocations: 0.7408 MB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.2481, allocations: 8.031 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.947e-05/0.2481, allocations: 58.67 kB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.9e-05/0.2482, allocations: 48.55 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009683/0.2492, allocations: 403.9 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.215e-05/0.2492, allocations: 24.81 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.567e-05/0.2493, allocations: 40.36 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003764/0.2497, allocations: 259.5 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.2497, allocations: 0 / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/0.2497, allocations: 15.94 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.2498, allocations: 4 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002328/0.25, allocations: 153.7 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.2511, allocations: 0.853 MB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000307/0.2515, allocations: 222.7 kB / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002585/0.2517, allocations: 204.8 kB / 1.072 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-06/0.2517, allocations: 4 kB / 1.072 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003085/0.2521, allocations: 249 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=28): time 1.372e-06/0.2521, allocations: 0 / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28): time 0.0006378/0.2527, allocations: 433 kB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.182e-05/0.2528, allocations: 114.7 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003084/0.2531, allocations: 328.3 kB / 1.073 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.225e-05/0.2532, allocations: 41.7 kB / 1.073 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.2533, allocations: 176.5 kB / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.076e-05/0.2534, allocations: 63.28 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002097/0.2536, allocations: 145.9 kB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.2537, allocations: 342.8 kB / 1.074 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003487/0.2541, allocations: 208.7 kB / 1.074 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004289/0.2545, allocations: 327 kB / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000617/0.2551, allocations: 0.5311 MB / 1.075 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2552, allocations: 0 / 1.075 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00105/0.2562, allocations: 0.7324 MB / 1.076 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.959e-05/0.2563, allocations: 122.8 kB / 1.076 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2563, allocations: 4 kB / 1.076 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.2563, allocations: 8 kB / 1.076 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.2565, allocations: 59.78 kB / 1.076 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.2565, allocations: 8 kB / 1.076 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006094/0.2571, allocations: 131.7 kB / 1.076 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.565e-05/0.2573, allocations: 63.92 kB / 1.076 GB, free: 1.25 MB / 0.8262 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.0001943/0.2575, allocations: 197.6 kB / 1.076 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.792e-05/0.2575, allocations: 39.55 kB / 1.077 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004936/0.258, allocations: 366 kB / 1.077 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.258, allocations: 7.938 kB / 1.077 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.258, allocations: 4 kB / 1.077 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.258, allocations: 3.984 kB / 1.077 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008395/0.2589, allocations: 0.7441 MB / 1.078 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.2589, allocations: 7.875 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.259, allocations: 35.98 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.259, allocations: 4 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.259, allocations: 7.984 kB / 1.078 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.2591, allocations: 4 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.2591, allocations: 0 / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004545/0.2595, allocations: 427.4 kB / 1.078 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.382e-05/0.2596, allocations: 116.6 kB / 1.078 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.678e-05/0.2596, allocations: 4 kB / 1.078 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.2598, allocations: 15.98 kB / 1.078 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.2598, allocations: 23.97 kB / 1.078 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.2598, allocations: 12 kB / 1.078 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001962/0.26, allocations: 215.1 kB / 1.078 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.26, allocations: 0 / 1.078 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003594/0.2604, allocations: 103.8 kB / 1.079 GB, free: 14.84 MB / 0.8419 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.0007853/0.2612, allocations: 0.9877 MB / 1.079 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008977/0.2621, allocations: 0.7081 MB / 1.08 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2621, allocations: 0.8125 kB / 1.08 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001845/0.2623, allocations: 148.6 kB / 1.08 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004587/0.2628, allocations: 80.97 kB / 1.08 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004461/0.2672, allocations: 3.829 MB / 1.084 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.2676, allocations: 0.7882 MB / 1.085 GB, free: 8.016 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001562/0.2678, allocations: 75.2 kB / 1.085 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.2679, allocations: 115.4 kB / 1.085 GB, free: 7.828 MB / 0.8419 GB Notification: Performance of SimCode: time 2.01e-07/0.2679, allocations: 0 / 1.085 GB, free: 7.828 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.099/3.367, allocations: 8.35 MB / 1.093 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/13.58, allocations: 1.406 kB / 1.093 GB, free: 15.64 MB / 0.8575 GB (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 --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) 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/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches