Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_latest_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.001172/0.001172, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001563/0.001563, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.273/1.273, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.537/2.537, allocations: 461.9 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 68.44 kB / 0.8985 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2827, allocations: 157.4 MB / 1.052 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002502/0.2853, allocations: 1.386 MB / 1.054 GB, free: 6.844 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002108/0.2874, allocations: 1.626 MB / 1.055 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001749/0.2876, allocations: 7.938 kB / 1.055 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.2878, allocations: 15.8 kB / 1.055 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001663/0.2879, allocations: 51.56 kB / 1.055 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.289, allocations: 477.3 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005334/0.2896, allocations: 0.5585 MB / 1.056 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003013/0.2899, allocations: 157.1 kB / 1.056 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003056/0.2902, allocations: 219.3 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.2904, allocations: 203.1 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.2905, allocations: 32 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.2907, allocations: 47.98 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.344e-05/0.2908, allocations: 67.77 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002505/0.291, allocations: 214.9 kB / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005616/0.2916, allocations: 0.6426 MB / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.2916, allocations: 4 kB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.073e-06/0.2916, allocations: 0 / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.244e-05/0.2916, allocations: 0 / 1.058 GB, free: 2.543 MB / 0.8106 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.001433/0.2931, allocations: 0.9312 MB / 1.059 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.2931, allocations: 15.97 kB / 1.059 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.066e-05/0.2932, allocations: 62.72 kB / 1.059 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.2934, allocations: 48.47 kB / 1.059 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.2948, allocations: 475.7 kB / 1.059 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.357e-05/0.2948, allocations: 36.92 kB / 1.059 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.385e-05/0.295, allocations: 36.38 kB / 1.059 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006852/0.2956, allocations: 333.1 kB / 1.06 GB, free: 480 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.2957, allocations: 0 / 1.06 GB, free: 480 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.253e-05/0.2957, allocations: 15.97 kB / 1.06 GB, free: 464 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.2957, allocations: 7.938 kB / 1.06 GB, free: 456 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006459/0.2964, allocations: 254.1 kB / 1.06 GB, free: 196 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/0.298, allocations: 0.9198 MB / 1.061 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006419/0.2986, allocations: 378.6 kB / 1.061 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004972/0.2991, allocations: 290.6 kB / 1.061 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/0.2992, allocations: 4 kB / 1.061 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005903/0.2998, allocations: 323 kB / 1.062 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=44): time 2.565e-06/0.2998, allocations: 4 kB / 1.062 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44): time 0.001452/0.3012, allocations: 0.8332 MB / 1.063 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.3013, allocations: 191.9 kB / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002826/0.3016, allocations: 292.5 kB / 1.063 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.874e-05/0.3017, allocations: 37.7 kB / 1.063 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.3019, allocations: 164.9 kB / 1.063 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.302, allocations: 130.2 kB / 1.063 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002579/0.3022, allocations: 134.1 kB / 1.063 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.3024, allocations: 346.8 kB / 1.064 GB, free: 12 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005854/0.303, allocations: 276.8 kB / 1.064 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006179/0.3036, allocations: 361.8 kB / 1.064 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.3047, allocations: 0.9128 MB / 1.065 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.3048, allocations: 4 kB / 1.065 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001537/0.3063, allocations: 0.9975 MB / 1.066 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001195/0.3064, allocations: 259.3 kB / 1.067 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.3064, allocations: 4 kB / 1.067 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3065, allocations: 4.281 kB / 1.067 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/0.3067, allocations: 71.89 kB / 1.067 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.3068, allocations: 7.938 kB / 1.067 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006783/0.3074, allocations: 135.5 kB / 1.067 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.3076, allocations: 67.92 kB / 1.067 GB, free: 8.664 MB / 0.8262 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.0002687/0.3078, allocations: 322.1 kB / 1.067 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.948e-05/0.3079, allocations: 39.53 kB / 1.067 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.74e-05/0.308, allocations: 43.48 kB / 1.067 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/0.308, allocations: 4 kB / 1.067 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.308, allocations: 7.938 kB / 1.067 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.308, allocations: 3.984 kB / 1.067 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/0.3096, allocations: 1.199 MB / 1.068 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.3096, allocations: 4 kB / 1.068 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/0.3099, allocations: 63.83 kB / 1.068 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.3099, allocations: 4 kB / 1.068 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/0.3099, allocations: 12 kB / 1.068 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.3099, allocations: 3.938 kB / 1.068 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3099, allocations: 4 kB / 1.068 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.3109, allocations: 0.7571 MB / 1.069 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.924e-05/0.311, allocations: 120.5 kB / 1.069 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.724e-05/0.3111, allocations: 8 kB / 1.069 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.3113, allocations: 31.91 kB / 1.069 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.239e-05/0.3114, allocations: 39.91 kB / 1.069 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.227e-05/0.3115, allocations: 51.88 kB / 1.069 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001659/0.3116, allocations: 195.1 kB / 1.07 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3116, allocations: 0 / 1.07 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003972/0.312, allocations: 108 kB / 1.07 GB, free: 5.469 MB / 0.8262 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.001298/0.3133, allocations: 1.322 MB / 1.071 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001351/0.3147, allocations: 1.12 MB / 1.072 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3147, allocations: 0 / 1.072 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005338/0.3153, allocations: 0.5208 MB / 1.073 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005144/0.3158, allocations: 84.53 kB / 1.073 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00608/0.3219, allocations: 4.745 MB / 1.077 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.3222, allocations: 0.8043 MB / 1.078 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002306/0.3224, allocations: 95.14 kB / 1.078 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.3226, allocations: 115.4 kB / 1.078 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of SimCode: time 3.01e-07/0.3226, allocations: 0 / 1.078 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01971/0.3423, allocations: 9.17 MB / 1.087 GB, free: 3.234 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/0.3426, allocations: 220.6 kB / 1.088 GB, free: 2.977 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.844/2.187, allocations: 0 / 1.088 GB, free: 2.977 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches