Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_9_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.008086/0.008086, allocations: 106.8 kB / 15.74 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 191 kB / 16.67 MB, free: 5.926 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.245/2.245, allocations: 390.3 MB / 0.6648 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 63.91 kB / 0.9504 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8352/0.8367, allocations: 140.4 MB / 1.087 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002042/0.8388, allocations: 1.152 MB / 1.089 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001585/0.8404, allocations: 1.502 MB / 1.09 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.536e-05/0.8405, allocations: 3 kB / 1.09 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.8406, allocations: 33.19 kB / 1.09 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.695e-05/0.8407, allocations: 60.08 kB / 1.09 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.8418, allocations: 487.1 kB / 1.091 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006602/0.8425, allocations: 0.6269 MB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002973/0.8428, allocations: 146.1 kB / 1.091 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002785/0.8431, allocations: 226.9 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003055/0.8434, allocations: 219.2 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.577e-05/0.8435, allocations: 59.59 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.8437, allocations: 73.8 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.8438, allocations: 79.73 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002434/0.844, allocations: 220.1 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006962/0.8447, allocations: 0.6276 MB / 1.093 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.8447, allocations: 0.7969 kB / 1.093 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8448, allocations: 0 / 1.093 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.8448, allocations: 5.031 kB / 1.093 GB, free: 2.109 MB / 0.8575 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.001014/0.8458, allocations: 0.7429 MB / 1.094 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.8458, allocations: 13.62 kB / 1.094 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.144e-05/0.8459, allocations: 57 kB / 1.094 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001707/0.8461, allocations: 43.73 kB / 1.094 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/0.8475, allocations: 407.8 kB / 1.094 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.742e-05/0.8476, allocations: 24.89 kB / 1.094 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.8477, allocations: 41.19 kB / 1.094 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006614/0.8484, allocations: 247.6 kB / 1.094 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.8484, allocations: 4.531 kB / 1.094 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.785e-05/0.8484, allocations: 11.84 kB / 1.094 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.8485, allocations: 4.688 kB / 1.094 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004389/0.8489, allocations: 161.7 kB / 1.095 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001919/0.8509, allocations: 0.849 MB / 1.095 GB, free: 428 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005203/0.8514, allocations: 218 kB / 1.096 GB, free: 348 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004679/0.8519, allocations: 204.3 kB / 1.096 GB, free: 292 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.8519, allocations: 2.344 kB / 1.096 GB, free: 292 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004983/0.8524, allocations: 259.1 kB / 1.096 GB, free: 156 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=28): time 2.595e-06/0.8524, allocations: 0.7188 kB / 1.096 GB, free: 156 kB / 0.8575 GB Notification: Performance of matching and sorting (n=28): time 0.001135/0.8536, allocations: 433 kB / 1.096 GB, free: 8 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.8537, allocations: 116.6 kB / 1.097 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005222/0.8542, allocations: 324.5 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.062e-05/0.8543, allocations: 38.61 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/0.8546, allocations: 186.4 kB / 1.097 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.725e-05/0.8547, allocations: 58.83 kB / 1.097 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003837/0.8551, allocations: 145.5 kB / 1.097 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001911/0.8553, allocations: 341.5 kB / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006513/0.8559, allocations: 208.6 kB / 1.098 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007653/0.8567, allocations: 332.2 kB / 1.098 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.8579, allocations: 0.5288 MB / 1.099 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/0.8579, allocations: 0.6875 kB / 1.099 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.002136/0.86, allocations: 0.7364 MB / 1.099 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001408/0.8602, allocations: 125.3 kB / 1.099 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.8602, allocations: 7.188 kB / 1.099 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.18e-05/0.8603, allocations: 6.406 kB / 1.099 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003624/0.8606, allocations: 58.09 kB / 1.1 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.788e-05/0.8607, allocations: 4.891 kB / 1.1 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009223/0.8616, allocations: 136.4 kB / 1.1 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/0.8618, allocations: 64.92 kB / 1.1 GB, free: 13.89 MB / 0.8731 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.0002704/0.862, allocations: 191.5 kB / 1.1 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.486e-05/0.8621, allocations: 31.31 kB / 1.1 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006242/0.8627, allocations: 376.7 kB / 1.1 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.8628, allocations: 3.562 kB / 1.1 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.8628, allocations: 0 / 1.1 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.8628, allocations: 6.688 kB / 1.1 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.8639, allocations: 0.7443 MB / 1.101 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.8639, allocations: 1.328 kB / 1.101 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.8641, allocations: 36.3 kB / 1.101 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.8641, allocations: 1.875 kB / 1.101 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.8641, allocations: 12.14 kB / 1.101 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.8641, allocations: 1.719 kB / 1.101 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8642, allocations: 0 / 1.101 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006451/0.8648, allocations: 442.1 kB / 1.102 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.748e-05/0.8649, allocations: 114.7 kB / 1.102 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.275e-05/0.865, allocations: 8.281 kB / 1.102 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.8651, allocations: 11.19 kB / 1.102 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.61e-05/0.8652, allocations: 25.72 kB / 1.102 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.33e-05/0.8652, allocations: 9.078 kB / 1.102 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003109/0.8656, allocations: 217.4 kB / 1.102 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8656, allocations: 4 kB / 1.102 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004776/0.8661, allocations: 90.92 kB / 1.102 GB, free: 12.6 MB / 0.8731 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.0008304/0.8669, allocations: 0.985 MB / 1.103 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009402/0.8678, allocations: 0.6747 MB / 1.104 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.8679, allocations: 1.438 kB / 1.104 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002166/0.8681, allocations: 150.1 kB / 1.104 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005444/0.8686, allocations: 77.8 kB / 1.104 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005851/0.8745, allocations: 3.815 MB / 1.108 GB, free: 8.98 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.8749, allocations: 0.7882 MB / 1.108 GB, free: 8.27 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002085/0.8751, allocations: 72.12 kB / 1.108 GB, free: 8.266 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.8753, allocations: 110.9 kB / 1.108 GB, free: 8.191 MB / 0.8731 GB Notification: Performance of SimCode: time 7.91e-07/0.8753, allocations: 1.469 kB / 1.108 GB, free: 8.191 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0295/0.9048, allocations: 8.427 MB / 1.117 GB, free: 7.344 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.222/9.127, allocations: 14.3 kB / 1.117 GB, free: 7.332 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches