Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_10_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.001381/0.001381, allocations: 108 kB / 15.61 MB, free: 152 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.001447/0.001447, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.303/1.303, 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 10.1.1-maint.10.0.x/package.mo): time 2.52/2.52, allocations: 437.1 MB / 0.7104 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 63.91 kB / 0.8694 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5765/0.578, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002252/0.5803, allocations: 1.147 MB / 1.019 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001715/0.5821, allocations: 1.514 MB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.5822, allocations: 4 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.5823, allocations: 27.61 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.5825, allocations: 59.44 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.5835, allocations: 489.7 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005406/0.584, allocations: 0.6127 MB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002443/0.5843, allocations: 152.4 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002363/0.5845, allocations: 227.5 kB / 1.022 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002236/0.5848, allocations: 195.2 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.5849, allocations: 60 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.585, allocations: 75.98 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.025e-05/0.5851, allocations: 75.7 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002209/0.5853, allocations: 227 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005419/0.5859, allocations: 0.6059 MB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.5859, allocations: 4 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5859, allocations: 0 / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.5859, allocations: 0 / 1.023 GB, free: 13.02 MB / 0.7794 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.0008358/0.5868, allocations: 0.7446 MB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.5868, allocations: 12.03 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.462e-05/0.5869, allocations: 62.67 kB / 1.024 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.587, allocations: 44.47 kB / 1.024 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009911/0.588, allocations: 408 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.367e-05/0.588, allocations: 20.81 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.597e-05/0.5881, allocations: 40.31 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003627/0.5885, allocations: 263.5 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.5885, allocations: 0 / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.5885, allocations: 15.92 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.5885, allocations: 8 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002427/0.5888, allocations: 153.7 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.59, allocations: 0.8528 MB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/0.5903, allocations: 225 kB / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002385/0.5905, allocations: 200.8 kB / 1.026 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.5905, allocations: 3.984 kB / 1.026 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003065/0.5909, allocations: 248.8 kB / 1.026 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=28): time 1.543e-06/0.5909, allocations: 0 / 1.026 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28): time 0.000634/0.5915, allocations: 427.9 kB / 1.026 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/0.5916, allocations: 114.7 kB / 1.026 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.5919, allocations: 336.1 kB / 1.027 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.986e-05/0.5919, allocations: 37.7 kB / 1.027 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.5921, allocations: 180.5 kB / 1.027 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.655e-05/0.5921, allocations: 63.25 kB / 1.027 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002032/0.5923, allocations: 145.9 kB / 1.027 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.5925, allocations: 342.8 kB / 1.027 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003367/0.5928, allocations: 208.7 kB / 1.028 GB, free: 7.652 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003922/0.5932, allocations: 325 kB / 1.028 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005695/0.5938, allocations: 0.5271 MB / 1.029 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.5938, allocations: 8 kB / 1.029 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001022/0.5948, allocations: 0.7361 MB / 1.029 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.138e-05/0.5949, allocations: 122.8 kB / 1.029 GB, free: 5.773 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.5949, allocations: 4 kB / 1.029 GB, free: 5.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.5949, allocations: 4.406 kB / 1.029 GB, free: 5.766 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.5951, allocations: 63.84 kB / 1.029 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.5951, allocations: 7.938 kB / 1.029 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006512/0.5958, allocations: 135.4 kB / 1.03 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.5959, allocations: 67.92 kB / 1.03 GB, free: 5.496 MB / 0.7794 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.0002082/0.5961, allocations: 189.7 kB / 1.03 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.109e-05/0.5962, allocations: 35.61 kB / 1.03 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004919/0.5967, allocations: 365.2 kB / 1.03 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.5967, allocations: 7.938 kB / 1.03 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.5967, allocations: 0 / 1.03 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.5967, allocations: 7.984 kB / 1.03 GB, free: 4.887 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008719/0.5976, allocations: 0.7485 MB / 1.031 GB, free: 4.082 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.5976, allocations: 7.875 kB / 1.031 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.5977, allocations: 39.86 kB / 1.031 GB, free: 4.035 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.5977, allocations: 0 / 1.031 GB, free: 4.035 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.5978, allocations: 11.98 kB / 1.031 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.5978, allocations: 0 / 1.031 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5978, allocations: 0 / 1.031 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004699/0.5983, allocations: 431.2 kB / 1.031 GB, free: 3.586 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.124e-05/0.5983, allocations: 120.5 kB / 1.032 GB, free: 3.449 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.004e-05/0.5984, allocations: 8 kB / 1.032 GB, free: 3.441 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.5985, allocations: 11.98 kB / 1.032 GB, free: 3.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/0.5986, allocations: 19.97 kB / 1.032 GB, free: 3.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.5986, allocations: 8 kB / 1.032 GB, free: 3.402 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001835/0.5988, allocations: 219.1 kB / 1.032 GB, free: 3.191 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5988, allocations: 0 / 1.032 GB, free: 3.191 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000376/0.5992, allocations: 88 kB / 1.032 GB, free: 3.105 MB / 0.7794 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.0007285/0.5999, allocations: 0.9877 MB / 1.033 GB, free: 2.09 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008786/0.6008, allocations: 0.7123 MB / 1.034 GB, free: 1.328 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.6008, allocations: 3.984 kB / 1.034 GB, free: 1.324 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.601, allocations: 139.9 kB / 1.034 GB, free: 1.188 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004952/0.6015, allocations: 81.8 kB / 1.034 GB, free: 1.109 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004384/0.6059, allocations: 3.82 MB / 1.037 GB, free: 13.11 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.6062, allocations: 0.7803 MB / 1.038 GB, free: 12.31 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000168/0.6064, allocations: 67.23 kB / 1.038 GB, free: 12.24 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.6065, allocations: 119.4 kB / 1.038 GB, free: 12.12 MB / 0.795 GB Notification: Performance of SimCode: time 6.42e-07/0.6065, allocations: 0 / 1.038 GB, free: 12.12 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02456/0.6311, allocations: 8.354 MB / 1.047 GB, free: 3.93 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.208/7.839, allocations: 22.94 kB / 1.047 GB, free: 3.91 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches