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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.005437/0.005437, allocations: 99.02 kB / 15.73 MB, free: 6.004 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.001549/0.001549, allocations: 191.6 kB / 16.67 MB, free: 5.922 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.869/2.869, allocations: 482.4 MB / 0.7548 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 64.11 kB / 1.083 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2865, allocations: 162.2 MB / 1.241 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002508/0.2891, allocations: 1.339 MB / 1.243 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002008/0.2911, allocations: 1.548 MB / 1.244 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.97e-05/0.2912, allocations: 4 kB / 1.244 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.2913, allocations: 31.55 kB / 1.244 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.2915, allocations: 67.36 kB / 1.244 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.2926, allocations: 0.4917 MB / 1.245 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0007044/0.2933, allocations: 0.695 MB / 1.246 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002901/0.2936, allocations: 168.9 kB / 1.246 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00027/0.2939, allocations: 255.3 kB / 1.246 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003133/0.2942, allocations: 247.1 kB / 1.246 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.2943, allocations: 64 kB / 1.246 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.2944, allocations: 79.98 kB / 1.246 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.017e-05/0.2945, allocations: 75.77 kB / 1.246 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002685/0.2948, allocations: 242.9 kB / 1.247 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006907/0.2955, allocations: 0.6928 MB / 1.247 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2955, allocations: 0 / 1.247 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2955, allocations: 0 / 1.247 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.2956, allocations: 7.938 kB / 1.247 GB, free: 4.203 MB / 0.9981 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.001352/0.2969, allocations: 0.9504 MB / 1.248 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.297, allocations: 11.97 kB / 1.248 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.174e-05/0.297, allocations: 58.73 kB / 1.248 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.2972, allocations: 56.64 kB / 1.248 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.2985, allocations: 476.1 kB / 1.249 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.497e-05/0.2986, allocations: 24.94 kB / 1.249 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.84e-05/0.2987, allocations: 40.38 kB / 1.249 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006813/0.2994, allocations: 325.1 kB / 1.249 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.2994, allocations: 3.938 kB / 1.249 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.2994, allocations: 11.98 kB / 1.249 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.2995, allocations: 8 kB / 1.249 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006778/0.3001, allocations: 250.1 kB / 1.249 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001553/0.3017, allocations: 0.9083 MB / 1.25 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007013/0.3024, allocations: 385.6 kB / 1.251 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005397/0.303, allocations: 283.8 kB / 1.251 GB, free: 240 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.303, allocations: 4 kB / 1.251 GB, free: 236 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4825/0.7855, allocations: 322.6 kB / 1.251 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=44): time 4.719e-06/0.7855, allocations: 0.875 kB / 1.251 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44): time 0.00171/0.7872, allocations: 0.8274 MB / 1.252 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.7873, allocations: 193.2 kB / 1.252 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002911/0.7876, allocations: 290.1 kB / 1.253 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.701e-05/0.7876, allocations: 41.95 kB / 1.253 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.7878, allocations: 170.6 kB / 1.253 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.221e-05/0.7879, allocations: 134.6 kB / 1.253 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002357/0.7881, allocations: 135 kB / 1.253 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.435e-05/0.7882, allocations: 350.1 kB / 1.253 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006133/0.7888, allocations: 274.8 kB / 1.254 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006677/0.7895, allocations: 360.3 kB / 1.254 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.7906, allocations: 0.9173 MB / 1.255 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.7906, allocations: 1.469 kB / 1.255 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001649/0.7923, allocations: 0.9926 MB / 1.256 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.138e-05/0.7924, allocations: 262.1 kB / 1.256 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.7924, allocations: 2.438 kB / 1.256 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.7924, allocations: 7.812 kB / 1.256 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002943/0.7927, allocations: 63.08 kB / 1.256 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.7927, allocations: 8.953 kB / 1.256 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007784/0.7935, allocations: 147.1 kB / 1.256 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.7936, allocations: 68.59 kB / 1.256 GB, free: 12.56 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.000204/0.7938, allocations: 326.4 kB / 1.257 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.105e-05/0.7939, allocations: 41.56 kB / 1.257 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.502e-05/0.794, allocations: 39.53 kB / 1.257 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.794, allocations: 5.344 kB / 1.257 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.794, allocations: 0.6094 kB / 1.257 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.794, allocations: 1.781 kB / 1.257 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/0.7957, allocations: 1.197 MB / 1.258 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.7957, allocations: 0.875 kB / 1.258 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002599/0.796, allocations: 67.12 kB / 1.258 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.796, allocations: 4.969 kB / 1.258 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/0.796, allocations: 12.19 kB / 1.258 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.7961, allocations: 2.406 kB / 1.258 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.7961, allocations: 5 kB / 1.258 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.7972, allocations: 0.7636 MB / 1.259 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.865e-05/0.7972, allocations: 112 kB / 1.259 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.023e-05/0.7973, allocations: 14.33 kB / 1.259 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.7975, allocations: 30.19 kB / 1.259 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.7976, allocations: 38.17 kB / 1.259 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.469e-05/0.7977, allocations: 53.72 kB / 1.259 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001909/0.7979, allocations: 196.5 kB / 1.259 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7979, allocations: 0.7812 kB / 1.259 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004825/0.7984, allocations: 107.9 kB / 1.259 GB, free: 10.79 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.001355/0.7998, allocations: 1.332 MB / 1.261 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001476/0.8013, allocations: 1.113 MB / 1.262 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.8013, allocations: 5.188 kB / 1.262 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005662/0.8019, allocations: 0.5161 MB / 1.262 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005515/0.8024, allocations: 94 kB / 1.262 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00575/0.8082, allocations: 4.643 MB / 1.267 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/0.8084, allocations: 0.8019 MB / 1.268 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002209/0.8086, allocations: 90.62 kB / 1.268 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.8088, allocations: 115.7 kB / 1.268 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of SimCode: time 4.81e-07/0.8088, allocations: 0 / 1.268 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03376/0.8425, allocations: 9.835 MB / 1.277 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.318/9.161, allocations: 11.97 kB / 1.277 GB, free: 4.309 MB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_latest_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_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.csv","/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