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.0107/0.0107, allocations: 96.44 kB / 15.73 MB, free: 6.055 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.002268/0.002268, allocations: 195.4 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.454/2.454, allocations: 222.9 MB / 240.4 MB, free: 4.309 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 4.576/4.576, allocations: 437 MB / 0.7105 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002074, allocations: 75.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4749/0.4771, allocations: 151.6 MB / 1.166 GB, free: 7.309 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.003048/0.4802, allocations: 1.152 MB / 1.167 GB, free: 6.148 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002635/0.4828, allocations: 1.514 MB / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.483, allocations: 4 kB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001897/0.4833, allocations: 27.61 kB / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.4834, allocations: 55.45 kB / 1.169 GB, free: 4.531 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00135/0.4848, allocations: 0.4895 MB / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0008021/0.4856, allocations: 0.6167 MB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003809/0.486, allocations: 148.7 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002915/0.4863, allocations: 227.4 kB / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003469/0.4866, allocations: 227.1 kB / 1.171 GB, free: 2.844 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.4867, allocations: 60 kB / 1.171 GB, free: 2.785 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.4869, allocations: 75.98 kB / 1.171 GB, free: 2.711 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.487, allocations: 75.7 kB / 1.171 GB, free: 2.637 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003085/0.4874, allocations: 227.1 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0007944/0.4882, allocations: 0.6267 MB / 1.172 GB, free: 1.785 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4882, allocations: 0 / 1.172 GB, free: 1.785 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4882, allocations: 0 / 1.172 GB, free: 1.785 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.4882, allocations: 0 / 1.172 GB, free: 1.785 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.001236/0.4895, allocations: 0.7585 MB / 1.172 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.4895, allocations: 12.03 kB / 1.172 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.063e-05/0.4896, allocations: 54.73 kB / 1.172 GB, free: 0.875 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.4897, allocations: 52.69 kB / 1.172 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.4909, allocations: 404.1 kB / 1.173 GB, free: 400 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.429e-05/0.491, allocations: 24.81 kB / 1.173 GB, free: 376 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-05/0.491, allocations: 36.38 kB / 1.173 GB, free: 340 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000497/0.4915, allocations: 259.5 kB / 1.173 GB, free: 72 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.4916, allocations: 0 / 1.173 GB, free: 72 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.4916, allocations: 12 kB / 1.173 GB, free: 60 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.4916, allocations: 4 kB / 1.173 GB, free: 56 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003096/0.4919, allocations: 161.6 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/0.4935, allocations: 0.8492 MB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003783/0.4939, allocations: 220.5 kB / 1.174 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003249/0.4942, allocations: 204.8 kB / 1.174 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.4942, allocations: 4 kB / 1.174 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004462/0.4947, allocations: 256.5 kB / 1.175 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=28): time 1.903e-06/0.4947, allocations: 0 / 1.175 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28): time 0.0008368/0.4956, allocations: 435.1 kB / 1.175 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.945e-05/0.4957, allocations: 114.7 kB / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004052/0.4961, allocations: 328.3 kB / 1.176 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.645e-05/0.4962, allocations: 41.7 kB / 1.176 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.4964, allocations: 188.7 kB / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.31e-05/0.4964, allocations: 59.58 kB / 1.176 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002546/0.4967, allocations: 146 kB / 1.176 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002162/0.4969, allocations: 338.8 kB / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004412/0.4974, allocations: 208.7 kB / 1.177 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005616/0.4979, allocations: 325 kB / 1.177 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008202/0.4988, allocations: 0.5272 MB / 1.177 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.4988, allocations: 4 kB / 1.177 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001336/0.5001, allocations: 0.7404 MB / 1.178 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001199/0.5003, allocations: 127.2 kB / 1.178 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.5003, allocations: 8 kB / 1.178 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-05/0.5003, allocations: 4 kB / 1.178 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.5006, allocations: 67.78 kB / 1.178 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.877e-05/0.5006, allocations: 4 kB / 1.178 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007476/0.5013, allocations: 135.5 kB / 1.178 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/0.5015, allocations: 63.92 kB / 1.178 GB, free: 10.25 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.000297/0.5018, allocations: 189.7 kB / 1.179 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.955e-05/0.5019, allocations: 31.81 kB / 1.179 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008272/0.5027, allocations: 361.2 kB / 1.179 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.5027, allocations: 7.938 kB / 1.179 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.5027, allocations: 0 / 1.179 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.5028, allocations: 0 / 1.179 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00165/0.5044, allocations: 0.7608 MB / 1.18 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.5044, allocations: 3.938 kB / 1.18 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002202/0.5047, allocations: 35.92 kB / 1.18 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.164e-05/0.5047, allocations: 4 kB / 1.18 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.929e-05/0.5047, allocations: 4 kB / 1.18 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/0.5048, allocations: 4 kB / 1.18 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.5048, allocations: 3.938 kB / 1.18 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008331/0.5056, allocations: 428.2 kB / 1.18 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.5058, allocations: 124.8 kB / 1.18 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.802e-05/0.5058, allocations: 7.984 kB / 1.18 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.506, allocations: 12 kB / 1.18 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.526e-05/0.5061, allocations: 23.97 kB / 1.18 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.5062, allocations: 15.98 kB / 1.18 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002809/0.5065, allocations: 211.1 kB / 1.181 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5065, allocations: 0 / 1.181 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006299/0.5071, allocations: 95.89 kB / 1.181 GB, free: 7.855 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.001205/0.5083, allocations: 0.9921 MB / 1.182 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00131/0.5096, allocations: 0.6738 MB / 1.182 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.5097, allocations: 4.062 kB / 1.182 GB, free: 6.105 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003314/0.51, allocations: 147.8 kB / 1.182 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005961/0.5106, allocations: 76.97 kB / 1.183 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006355/0.517, allocations: 3.82 MB / 1.186 GB, free: 1.875 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005569/0.5176, allocations: 0.7838 MB / 1.187 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002513/0.5178, allocations: 75.22 kB / 1.187 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/0.5181, allocations: 111.4 kB / 1.187 GB, free: 0.8906 MB / 0.9356 GB Notification: Performance of SimCode: time 1.482e-06/0.5181, allocations: 0 / 1.187 GB, free: 0.8906 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04454/0.5626, allocations: 8.439 MB / 1.195 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/13.84, allocations: 9.5 kB / 1.195 GB, free: 8.633 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