Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_11_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.007517/0.007517, allocations: 99.53 kB / 15.73 MB, free: 6.496 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.002064/0.002064, allocations: 196 kB / 16.68 MB, free: 6.375 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.963/2.963, allocations: 469.8 MB / 0.7425 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00202/0.002019, allocations: 67.89 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.278, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002507/0.2806, allocations: 1.336 MB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00203/0.2826, allocations: 1.548 MB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.299e-05/0.2827, allocations: 4 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001322/0.2829, allocations: 35.53 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001315/0.283, allocations: 67.44 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.2841, allocations: 0.4896 MB / 1.224 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007296/0.2849, allocations: 0.695 MB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002945/0.2852, allocations: 160.9 kB / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002807/0.2854, allocations: 259.3 kB / 1.225 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000323/0.2858, allocations: 247.1 kB / 1.225 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.2859, allocations: 68 kB / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.2861, allocations: 75.98 kB / 1.225 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.964e-05/0.2861, allocations: 83.7 kB / 1.225 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002653/0.2864, allocations: 239 kB / 1.225 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007056/0.2871, allocations: 0.6889 MB / 1.226 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.2871, allocations: 0 / 1.226 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2872, allocations: 3.938 kB / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.2872, allocations: 0 / 1.226 GB, free: 8.301 MB / 0.9825 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.001315/0.2885, allocations: 0.9582 MB / 1.227 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.2885, allocations: 8.031 kB / 1.227 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.935e-05/0.2886, allocations: 62.72 kB / 1.227 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.2887, allocations: 52.66 kB / 1.227 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.2901, allocations: 476 kB / 1.228 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.285e-05/0.2901, allocations: 28.94 kB / 1.228 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.15e-05/0.2902, allocations: 48.3 kB / 1.228 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006781/0.2909, allocations: 321.1 kB / 1.228 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.2909, allocations: 4 kB / 1.228 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/0.2909, allocations: 8 kB / 1.228 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.291, allocations: 4 kB / 1.228 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007123/0.2917, allocations: 250.1 kB / 1.228 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001588/0.2933, allocations: 0.9083 MB / 1.229 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007424/0.294, allocations: 389.5 kB / 1.229 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005474/0.2946, allocations: 286.7 kB / 1.23 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.2946, allocations: 8 kB / 1.23 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000616/0.2952, allocations: 319 kB / 1.23 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=44): time 2.044e-06/0.2953, allocations: 0 / 1.23 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of matching and sorting (n=44): time 0.001703/0.297, allocations: 0.8384 MB / 1.231 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.2971, allocations: 191.9 kB / 1.231 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003125/0.2974, allocations: 292.5 kB / 1.231 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.178e-05/0.2975, allocations: 41.7 kB / 1.231 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.2977, allocations: 164.9 kB / 1.231 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.2978, allocations: 142.8 kB / 1.232 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002471/0.298, allocations: 134 kB / 1.232 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.2982, allocations: 346.8 kB / 1.232 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006554/0.2989, allocations: 280.8 kB / 1.232 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007196/0.2996, allocations: 357.8 kB / 1.233 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/0.301, allocations: 0.9167 MB / 1.234 GB, free: 56 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.301, allocations: 4 kB / 1.234 GB, free: 52 kB / 0.9825 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001889/0.3029, allocations: 0.9938 MB / 1.235 GB, free: 15 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001801/0.3031, allocations: 261 kB / 1.235 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.3031, allocations: 4 kB / 1.235 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.3031, allocations: 8 kB / 1.235 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/0.3034, allocations: 72.17 kB / 1.235 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.3034, allocations: 7.938 kB / 1.235 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007782/0.3042, allocations: 139.6 kB / 1.235 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.3043, allocations: 67.92 kB / 1.235 GB, free: 14.39 MB / 0.9981 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.0003083/0.3047, allocations: 318.2 kB / 1.235 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.92e-05/0.3047, allocations: 47.64 kB / 1.235 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.6e-05/0.3048, allocations: 39.48 kB / 1.235 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.3048, allocations: 8 kB / 1.235 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3049, allocations: 4 kB / 1.235 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.3049, allocations: 3.984 kB / 1.235 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001896/0.3068, allocations: 1.195 MB / 1.237 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.3068, allocations: 0 / 1.237 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002527/0.307, allocations: 59.89 kB / 1.237 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.3071, allocations: 4 kB / 1.237 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.134e-05/0.3071, allocations: 12 kB / 1.237 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.3071, allocations: 7.938 kB / 1.237 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3071, allocations: 3.984 kB / 1.237 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.3083, allocations: 0.759 MB / 1.237 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.026e-05/0.3084, allocations: 112.8 kB / 1.238 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.94e-05/0.3085, allocations: 8 kB / 1.238 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/0.3087, allocations: 35.91 kB / 1.238 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.254e-05/0.3089, allocations: 39.95 kB / 1.238 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.989e-05/0.3089, allocations: 47.88 kB / 1.238 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002009/0.3091, allocations: 199.1 kB / 1.238 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3092, allocations: 0 / 1.238 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004354/0.3096, allocations: 111.9 kB / 1.238 GB, free: 11.2 MB / 0.9981 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.001612/0.3112, allocations: 1.327 MB / 1.239 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001643/0.3129, allocations: 1.117 MB / 1.24 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3129, allocations: 0 / 1.24 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006797/0.3136, allocations: 0.5289 MB / 1.241 GB, free: 8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005682/0.3142, allocations: 96.45 kB / 1.241 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007081/0.3212, allocations: 4.653 MB / 1.246 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004345/0.3217, allocations: 0.7924 MB / 1.246 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002371/0.3219, allocations: 91.19 kB / 1.246 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.3221, allocations: 119.4 kB / 1.247 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of SimCode: time 2.415e-06/0.3221, allocations: 0 / 1.247 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5327/0.8548, allocations: 9.82 MB / 1.256 GB, free: 29.68 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.172/9.027, allocations: 11.09 kB / 1.256 GB, free: 29.68 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches