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.008526/0.008526, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001944/0.001944, allocations: 202.4 kB / 16.68 MB, free: 5.969 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.627/2.627, allocations: 437.1 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 59.91 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3754, allocations: 151.6 MB / 1.166 GB, free: 7.344 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.003088/0.3785, allocations: 1.149 MB / 1.167 GB, free: 6.188 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002417/0.381, allocations: 1.506 MB / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001952/0.3812, allocations: 4 kB / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001812/0.3814, allocations: 35.61 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002003/0.3817, allocations: 59.52 kB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.3831, allocations: 495 kB / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0008919/0.384, allocations: 0.6206 MB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003564/0.3843, allocations: 156.7 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004042/0.3847, allocations: 235.4 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004016/0.3851, allocations: 215.2 kB / 1.171 GB, free: 2.875 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000164/0.3853, allocations: 60 kB / 1.171 GB, free: 2.816 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.3855, allocations: 75.92 kB / 1.171 GB, free: 2.742 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.3856, allocations: 71.77 kB / 1.171 GB, free: 2.672 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003327/0.386, allocations: 231.1 kB / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0007981/0.3868, allocations: 0.6228 MB / 1.172 GB, free: 1.82 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.3868, allocations: 0 / 1.172 GB, free: 1.82 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.465e-06/0.3868, allocations: 0 / 1.172 GB, free: 1.82 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.957e-05/0.3868, allocations: 4 kB / 1.172 GB, free: 1.816 MB / 0.92 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.001275/0.3881, allocations: 0.7468 MB / 1.172 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.3882, allocations: 16.02 kB / 1.172 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.497e-05/0.3883, allocations: 58.73 kB / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/0.3884, allocations: 44.7 kB / 1.172 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.3895, allocations: 416 kB / 1.173 GB, free: 432 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.112e-05/0.3895, allocations: 24.81 kB / 1.173 GB, free: 408 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.314e-05/0.3896, allocations: 36.36 kB / 1.173 GB, free: 372 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004483/0.3901, allocations: 251.5 kB / 1.173 GB, free: 112 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3901, allocations: 4 kB / 1.173 GB, free: 108 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.3901, allocations: 11.98 kB / 1.173 GB, free: 96 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.84e-05/0.3902, allocations: 8 kB / 1.173 GB, free: 88 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002762/0.3904, allocations: 149.7 kB / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.3918, allocations: 0.8531 MB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003391/0.3922, allocations: 222.7 kB / 1.174 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002847/0.3925, allocations: 204.8 kB / 1.175 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.3925, allocations: 0 / 1.175 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003517/0.3929, allocations: 252.5 kB / 1.175 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=28): time 1.613e-06/0.3929, allocations: 4 kB / 1.175 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28): time 0.0007754/0.3937, allocations: 431.2 kB / 1.175 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.969e-05/0.3938, allocations: 122.7 kB / 1.175 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000338/0.3941, allocations: 328.3 kB / 1.176 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.354e-05/0.3942, allocations: 37.7 kB / 1.176 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.3944, allocations: 184.7 kB / 1.176 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.967e-05/0.3944, allocations: 59.58 kB / 1.176 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002448/0.3947, allocations: 150 kB / 1.176 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.3948, allocations: 342.8 kB / 1.176 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003819/0.3952, allocations: 204.7 kB / 1.177 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004322/0.3956, allocations: 324.9 kB / 1.177 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007379/0.3964, allocations: 0.535 MB / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.3964, allocations: 0 / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001135/0.3975, allocations: 0.7406 MB / 1.178 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001371/0.3977, allocations: 122.8 kB / 1.178 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.3977, allocations: 4 kB / 1.178 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.774e-05/0.3977, allocations: 4 kB / 1.178 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.398, allocations: 63.84 kB / 1.178 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.398, allocations: 4 kB / 1.178 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006819/0.3987, allocations: 139.8 kB / 1.178 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.3988, allocations: 67.86 kB / 1.178 GB, free: 10.29 MB / 0.9356 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.0002662/0.3991, allocations: 189.8 kB / 1.179 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.758e-05/0.3992, allocations: 27.81 kB / 1.179 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005501/0.3997, allocations: 361.2 kB / 1.179 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.3997, allocations: 7.938 kB / 1.179 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3997, allocations: 0 / 1.179 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.3998, allocations: 11.98 kB / 1.179 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009316/0.4007, allocations: 0.753 MB / 1.18 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.4007, allocations: 3.938 kB / 1.18 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.4008, allocations: 39.92 kB / 1.18 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.4008, allocations: 0 / 1.18 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.4009, allocations: 11.98 kB / 1.18 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.4009, allocations: 0 / 1.18 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4009, allocations: 3.938 kB / 1.18 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004859/0.4014, allocations: 432.3 kB / 1.18 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.892e-05/0.4015, allocations: 112.8 kB / 1.18 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.392e-05/0.4015, allocations: 8 kB / 1.18 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.4017, allocations: 11.98 kB / 1.18 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.83e-05/0.4017, allocations: 23.97 kB / 1.18 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.4018, allocations: 8 kB / 1.18 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002126/0.402, allocations: 219 kB / 1.181 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.402, allocations: 0 / 1.181 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004197/0.4024, allocations: 103.9 kB / 1.181 GB, free: 7.891 MB / 0.9356 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.0008662/0.4033, allocations: 0.9882 MB / 1.182 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008887/0.4042, allocations: 0.673 MB / 1.182 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4042, allocations: 0 / 1.182 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.4044, allocations: 147.9 kB / 1.182 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005232/0.4049, allocations: 79.66 kB / 1.183 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005048/0.41, allocations: 3.831 MB / 1.186 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/0.4104, allocations: 0.7837 MB / 1.187 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001983/0.4107, allocations: 67.23 kB / 1.187 GB, free: 1.039 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.4108, allocations: 119.4 kB / 1.187 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of SimCode: time 1.162e-06/0.4108, allocations: 0 / 1.187 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03203/0.4429, allocations: 8.44 MB / 1.195 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.597/9.04, allocations: 9.406 kB / 1.195 GB, free: 8.664 MB / 0.9512 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