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.008681/0.008682, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001742/0.001743, allocations: 195.1 kB / 16.67 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 1.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.724/2.724, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 67.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2886, allocations: 151.6 MB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.00251/0.2912, allocations: 1.344 MB / 1.167 GB, free: 5.957 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002104/0.2933, allocations: 1.557 MB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001711/0.2935, allocations: 7.938 kB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001636/0.2937, allocations: 35.55 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.2939, allocations: 75.36 kB / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.2951, allocations: 0.4963 MB / 1.17 GB, free: 3.781 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0008039/0.2959, allocations: 0.6833 MB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003589/0.2963, allocations: 172.8 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000416/0.2967, allocations: 247.4 kB / 1.171 GB, free: 2.684 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004006/0.2971, allocations: 255.1 kB / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001464/0.2973, allocations: 64 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001767/0.2975, allocations: 75.98 kB / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.2976, allocations: 83.69 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002972/0.2979, allocations: 250.9 kB / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0007499/0.2986, allocations: 0.6812 MB / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2986, allocations: 0 / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.334e-06/0.2986, allocations: 0 / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.9e-05/0.2987, allocations: 0 / 1.172 GB, free: 1.285 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001384/0.3001, allocations: 0.9541 MB / 1.173 GB, free: 228 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.3001, allocations: 12.03 kB / 1.173 GB, free: 216 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.923e-05/0.3002, allocations: 58.73 kB / 1.173 GB, free: 148 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.3003, allocations: 56.64 kB / 1.173 GB, free: 92 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/0.3016, allocations: 476 kB / 1.174 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.577e-05/0.3017, allocations: 24.94 kB / 1.174 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-05/0.3018, allocations: 40.38 kB / 1.174 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006584/0.3024, allocations: 329.1 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3025, allocations: 0 / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.931e-05/0.3025, allocations: 15.98 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.3025, allocations: 4 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006509/0.3032, allocations: 254 kB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001501/0.3047, allocations: 0.9123 MB / 1.175 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006519/0.3053, allocations: 374.5 kB / 1.175 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004778/0.3058, allocations: 284.8 kB / 1.176 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.3059, allocations: 4 kB / 1.176 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000555/0.3064, allocations: 330.9 kB / 1.176 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=44): time 1.914e-06/0.3064, allocations: 7.938 kB / 1.176 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of matching and sorting (n=44): time 0.001513/0.308, allocations: 0.8345 MB / 1.177 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.979e-05/0.3081, allocations: 183.9 kB / 1.177 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/0.3084, allocations: 296.5 kB / 1.177 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.713e-05/0.3084, allocations: 49.64 kB / 1.177 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.3086, allocations: 169 kB / 1.177 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.3087, allocations: 138.8 kB / 1.178 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000233/0.3089, allocations: 130.1 kB / 1.178 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.309, allocations: 346.8 kB / 1.178 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005816/0.3096, allocations: 280.8 kB / 1.178 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000626/0.3103, allocations: 357.8 kB / 1.179 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.3114, allocations: 0.9128 MB / 1.18 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.3114, allocations: 0 / 1.18 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00159/0.313, allocations: 0.9939 MB / 1.181 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001276/0.3131, allocations: 259.3 kB / 1.181 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.3132, allocations: 0 / 1.181 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3132, allocations: 8.266 kB / 1.181 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/0.3135, allocations: 67.84 kB / 1.181 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.3135, allocations: 7.984 kB / 1.181 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007186/0.3142, allocations: 147.6 kB / 1.181 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.3143, allocations: 63.92 kB / 1.181 GB, free: 7.391 MB / 0.9356 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.0002557/0.3146, allocations: 320.3 kB / 1.181 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.6e-05/0.3146, allocations: 39.77 kB / 1.181 GB, free: 7 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.904e-05/0.3147, allocations: 39.48 kB / 1.181 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.3148, allocations: 8 kB / 1.181 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.3148, allocations: 0 / 1.181 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.3148, allocations: 7.922 kB / 1.181 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.3164, allocations: 1.191 MB / 1.183 GB, free: 5.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3165, allocations: 0 / 1.183 GB, free: 5.656 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/0.3167, allocations: 71.88 kB / 1.183 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.3167, allocations: 4 kB / 1.183 GB, free: 5.582 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.3167, allocations: 8 kB / 1.183 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.3168, allocations: 3.938 kB / 1.183 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3168, allocations: 4 kB / 1.183 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.3179, allocations: 0.7705 MB / 1.183 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-05/0.3179, allocations: 116.8 kB / 1.184 GB, free: 4.617 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.193e-05/0.318, allocations: 11.98 kB / 1.184 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.3182, allocations: 31.91 kB / 1.184 GB, free: 4.574 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.326e-05/0.3183, allocations: 35.95 kB / 1.184 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.388e-05/0.3184, allocations: 47.94 kB / 1.184 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001702/0.3186, allocations: 195.1 kB / 1.184 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3186, allocations: 0 / 1.184 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004222/0.319, allocations: 111.9 kB / 1.184 GB, free: 4.195 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: 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.001399/0.3204, allocations: 1.334 MB / 1.185 GB, free: 2.805 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00144/0.3219, allocations: 1.109 MB / 1.186 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3219, allocations: 0 / 1.186 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005669/0.3224, allocations: 0.5286 MB / 1.187 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005445/0.323, allocations: 86.52 kB / 1.187 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006386/0.3294, allocations: 4.659 MB / 1.192 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.3298, allocations: 0.7962 MB / 1.192 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002304/0.33, allocations: 91.2 kB / 1.192 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.3301, allocations: 115.4 kB / 1.193 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of SimCode: time 5.71e-07/0.3302, allocations: 0 / 1.193 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0722/0.4024, allocations: 9.829 MB / 1.202 GB, free: 1.395 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.495/8.897, allocations: 17.11 kB / 1.202 GB, free: 1.379 MB / 0.9512 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