Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.RealExtractor,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",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.009026/0.009026, allocations: 101.1 kB / 15.73 MB, free: 6.062 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.001913/0.001913, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.422/2.422, 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 10.1.1-maint.10.0.x/package.mo): time 4.71/4.71, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003475/0.003475, allocations: 68.12 kB / 1.018 GB, free: 9.922 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.211/1.215, allocations: 151.6 MB / 1.166 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.003948/1.219, allocations: 1.34 MB / 1.167 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003921/1.223, allocations: 1.549 MB / 1.169 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000375/1.223, allocations: 7.938 kB / 1.169 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002844/1.224, allocations: 31.59 kB / 1.169 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0004042/1.224, allocations: 67.38 kB / 1.169 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002104/1.226, allocations: 0.4996 MB / 1.17 GB, free: 304 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001514/1.228, allocations: 0.6833 MB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005683/1.228, allocations: 168.8 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006483/1.229, allocations: 251.3 kB / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006343/1.23, allocations: 251 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002923/1.23, allocations: 64 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003098/1.23, allocations: 83.98 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001719/1.231, allocations: 83.69 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004965/1.231, allocations: 247 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001243/1.232, allocations: 0.6808 MB / 1.172 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/1.232, allocations: 7.938 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.805e-06/1.232, allocations: 0 / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.356e-05/1.232, allocations: 0 / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002344/1.235, allocations: 0.9541 MB / 1.173 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 7.437e-05/1.235, allocations: 12.92 kB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001213/1.235, allocations: 58.72 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001999/1.235, allocations: 52.66 kB / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001869/1.237, allocations: 476.1 kB / 1.174 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.717e-05/1.237, allocations: 28.88 kB / 1.174 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/1.237, allocations: 44.36 kB / 1.174 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009822/1.238, allocations: 325 kB / 1.174 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/1.238, allocations: 4 kB / 1.174 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.176e-05/1.238, allocations: 12 kB / 1.174 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/1.238, allocations: 8 kB / 1.174 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009235/1.239, allocations: 250 kB / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002332/1.242, allocations: 0.9122 MB / 1.175 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/1.243, allocations: 374.6 kB / 1.175 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007622/1.244, allocations: 290.9 kB / 1.176 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.314e-05/1.244, allocations: 4 kB / 1.176 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009581/1.245, allocations: 323 kB / 1.176 GB, free: 9.492 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=44): time 3.586e-06/1.245, allocations: 0 / 1.176 GB, free: 9.492 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44): time 0.002489/1.247, allocations: 0.8345 MB / 1.177 GB, free: 8.621 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001546/1.247, allocations: 191.9 kB / 1.177 GB, free: 8.391 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004956/1.248, allocations: 288.5 kB / 1.177 GB, free: 8.105 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001354/1.248, allocations: 49.7 kB / 1.177 GB, free: 8.051 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002222/1.248, allocations: 168.9 kB / 1.177 GB, free: 7.879 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/1.248, allocations: 142.8 kB / 1.178 GB, free: 7.738 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003527/1.249, allocations: 130.1 kB / 1.178 GB, free: 7.605 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002187/1.249, allocations: 350.7 kB / 1.178 GB, free: 7.254 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009246/1.25, allocations: 276.8 kB / 1.178 GB, free: 6.984 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/1.251, allocations: 361.8 kB / 1.179 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001905/1.253, allocations: 0.9128 MB / 1.18 GB, free: 5.566 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/1.253, allocations: 3.938 kB / 1.18 GB, free: 5.562 MB / 0.9044 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002153/1.255, allocations: 0.9939 MB / 1.181 GB, free: 4.508 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001945/1.255, allocations: 259.3 kB / 1.181 GB, free: 4.199 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/1.255, allocations: 0 / 1.181 GB, free: 4.199 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-05/1.255, allocations: 4 kB / 1.181 GB, free: 4.195 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003187/1.256, allocations: 68.17 kB / 1.181 GB, free: 4.129 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/1.256, allocations: 8 kB / 1.181 GB, free: 4.121 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009012/1.257, allocations: 143.6 kB / 1.181 GB, free: 3.98 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002237/1.257, allocations: 71.86 kB / 1.181 GB, free: 3.91 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.0004912/1.257, allocations: 315.8 kB / 1.181 GB, free: 3.562 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/1.257, allocations: 39.77 kB / 1.181 GB, free: 3.523 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001396/1.258, allocations: 39.48 kB / 1.181 GB, free: 3.48 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/1.258, allocations: 4 kB / 1.181 GB, free: 3.477 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/1.258, allocations: 0 / 1.181 GB, free: 3.477 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/1.258, allocations: 11.98 kB / 1.181 GB, free: 3.465 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002951/1.261, allocations: 1.198 MB / 1.183 GB, free: 2.176 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/1.261, allocations: 0 / 1.183 GB, free: 2.176 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003925/1.261, allocations: 63.95 kB / 1.183 GB, free: 2.113 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/1.261, allocations: 0 / 1.183 GB, free: 2.113 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.472e-05/1.261, allocations: 12 kB / 1.183 GB, free: 2.102 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-05/1.261, allocations: 11.86 kB / 1.183 GB, free: 2.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.261, allocations: 0 / 1.183 GB, free: 2.09 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/1.263, allocations: 0.7667 MB / 1.183 GB, free: 1.277 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/1.263, allocations: 116.8 kB / 1.184 GB, free: 1.145 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.731e-05/1.263, allocations: 8 kB / 1.184 GB, free: 1.137 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003703/1.264, allocations: 31.91 kB / 1.184 GB, free: 1.105 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/1.264, allocations: 39.95 kB / 1.184 GB, free: 1.066 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001387/1.264, allocations: 51.88 kB / 1.184 GB, free: 1.016 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003916/1.264, allocations: 195.1 kB / 1.184 GB, free: 0.8281 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.8e-07/1.264, allocations: 0 / 1.184 GB, free: 0.8281 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001017/1.265, allocations: 115.9 kB / 1.184 GB, free: 0.7109 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * 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.002689/1.268, allocations: 1.322 MB / 1.185 GB, free: 15.33 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002859/1.271, allocations: 1.117 MB / 1.186 GB, free: 14.11 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.271, allocations: 0 / 1.186 GB, free: 14.11 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/1.272, allocations: 0.5168 MB / 1.187 GB, free: 13.53 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009925/1.273, allocations: 88.47 kB / 1.187 GB, free: 13.44 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/1.285, allocations: 4.661 MB / 1.192 GB, free: 8.594 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006919/1.286, allocations: 0.7963 MB / 1.192 GB, free: 7.773 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0004642/1.286, allocations: 91.19 kB / 1.192 GB, free: 7.68 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002855/1.287, allocations: 115.4 kB / 1.192 GB, free: 7.566 MB / 0.92 GB Notification: Performance of SimCode: time 1.182e-06/1.287, allocations: 0 / 1.192 GB, free: 7.566 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05558/1.342, allocations: 9.831 MB / 1.202 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/14.53, allocations: 10.44 kB / 1.202 GB, free: 13.91 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_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_RealExtractor.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches