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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00151/0.00151, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001862/0.001862, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.603/1.603, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.098/3.098, allocations: 461.9 MB / 0.7343 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 67.75 kB / 0.8987 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4004/0.4026, allocations: 157.4 MB / 1.052 GB, free: 8.613 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.003681/0.4064, allocations: 1.388 MB / 1.054 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002838/0.4092, allocations: 1.548 MB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003063/0.4096, allocations: 4 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.4098, allocations: 27.73 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002855/0.4101, allocations: 51.56 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001438/0.4116, allocations: 473.4 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001053/0.4127, allocations: 0.6795 MB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004239/0.4131, allocations: 169.1 kB / 1.057 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004751/0.4136, allocations: 255.4 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003559/0.4139, allocations: 219.1 kB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0002036/0.4142, allocations: 68 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002313/0.4144, allocations: 76 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.4145, allocations: 83.69 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003909/0.4149, allocations: 247 kB / 1.058 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0009082/0.4158, allocations: 0.6621 MB / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.4159, allocations: 0 / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.236e-06/0.4159, allocations: 0 / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.401e-05/0.4159, allocations: 0 / 1.058 GB, free: 2.691 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.001839/0.4178, allocations: 0.939 MB / 1.059 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.4178, allocations: 12.62 kB / 1.059 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001202/0.4179, allocations: 58.72 kB / 1.059 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001759/0.4181, allocations: 52.41 kB / 1.059 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.4197, allocations: 479.8 kB / 1.06 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.519e-05/0.4197, allocations: 28.94 kB / 1.06 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.4198, allocations: 36.38 kB / 1.06 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006994/0.4206, allocations: 329.1 kB / 1.06 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.4206, allocations: 0 / 1.06 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.205e-05/0.4206, allocations: 16 kB / 1.06 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.4206, allocations: 4 kB / 1.06 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006658/0.4213, allocations: 254 kB / 1.06 GB, free: 356 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001925/0.4232, allocations: 0.9276 MB / 1.061 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006885/0.4239, allocations: 378.6 kB / 1.062 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005022/0.4245, allocations: 286.6 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.4245, allocations: 7.938 kB / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006948/0.4252, allocations: 319 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=44): time 3.366e-06/0.4252, allocations: 0 / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44): time 0.001735/0.427, allocations: 0.8371 MB / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.4271, allocations: 191.9 kB / 1.063 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003636/0.4275, allocations: 288.5 kB / 1.063 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.77e-05/0.4276, allocations: 41.7 kB / 1.063 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.4277, allocations: 164.8 kB / 1.064 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.4279, allocations: 130.2 kB / 1.064 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002578/0.4282, allocations: 138.1 kB / 1.064 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002266/0.4284, allocations: 350.8 kB / 1.064 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006273/0.429, allocations: 272.8 kB / 1.064 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006658/0.4297, allocations: 369.8 kB / 1.065 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/0.431, allocations: 0.9128 MB / 1.066 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.331e-06/0.431, allocations: 4 kB / 1.066 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001803/0.4328, allocations: 0.9939 MB / 1.067 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001954/0.4331, allocations: 259.3 kB / 1.067 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.4331, allocations: 4 kB / 1.067 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.4331, allocations: 4 kB / 1.067 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000291/0.4334, allocations: 71.83 kB / 1.067 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/0.4334, allocations: 4 kB / 1.067 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007751/0.4342, allocations: 143.6 kB / 1.067 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/0.4344, allocations: 67.92 kB / 1.067 GB, free: 8.809 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.0004175/0.4348, allocations: 326.1 kB / 1.068 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.997e-05/0.4349, allocations: 39.53 kB / 1.068 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.527e-05/0.435, allocations: 35.48 kB / 1.068 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.435, allocations: 7.938 kB / 1.068 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.435, allocations: 4 kB / 1.068 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.435, allocations: 0 / 1.068 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002211/0.4372, allocations: 1.191 MB / 1.069 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.4373, allocations: 4 kB / 1.069 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.4375, allocations: 63.89 kB / 1.069 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/0.4375, allocations: 4 kB / 1.069 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-05/0.4376, allocations: 15.98 kB / 1.069 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.426e-06/0.4376, allocations: 7.938 kB / 1.069 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4376, allocations: 0 / 1.069 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/0.439, allocations: 0.7651 MB / 1.07 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.4392, allocations: 116.5 kB / 1.07 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.997e-05/0.4392, allocations: 12 kB / 1.07 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/0.4395, allocations: 31.89 kB / 1.07 GB, free: 6 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.4396, allocations: 39.91 kB / 1.07 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.08e-05/0.4397, allocations: 47.94 kB / 1.07 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002553/0.44, allocations: 199.1 kB / 1.07 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of sort global known variables: time 6.01e-07/0.44, allocations: 4 kB / 1.07 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004943/0.4405, allocations: 104 kB / 1.07 GB, free: 5.617 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.001711/0.4422, allocations: 1.326 MB / 1.071 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002048/0.4443, allocations: 1.203 MB / 1.073 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.4443, allocations: 0 / 1.073 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000713/0.445, allocations: 0.5164 MB / 1.073 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006338/0.4456, allocations: 90.27 kB / 1.073 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007978/0.4536, allocations: 4.745 MB / 1.078 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006312/0.4543, allocations: 0.7963 MB / 1.079 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003223/0.4546, allocations: 95.19 kB / 1.079 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.4548, allocations: 111.4 kB / 1.079 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of SimCode: time 1.172e-06/0.4548, allocations: 0 / 1.079 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03028/0.4851, allocations: 9.495 MB / 1.088 GB, free: 3.012 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003603/0.4856, allocations: 228.3 kB / 1.088 GB, free: 2.746 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.486/2.971, allocations: 1 kB / 1.088 GB, free: 2.746 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