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.007269/0.007269, allocations: 100.7 kB / 15.73 MB, free: 6.039 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.001645/0.001645, allocations: 186.9 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.809/2.809, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 71.88 kB / 1.054 GB, free: 7.672 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3581, allocations: 157.4 MB / 1.207 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002737/0.3609, allocations: 1.336 MB / 1.209 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002225/0.3632, allocations: 1.549 MB / 1.21 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002207/0.3634, allocations: 4 kB / 1.21 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001862/0.3636, allocations: 35.55 kB / 1.21 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002188/0.3639, allocations: 71.36 kB / 1.21 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.3652, allocations: 499.8 kB / 1.211 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0008568/0.3661, allocations: 0.6911 MB / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003577/0.3665, allocations: 168.8 kB / 1.212 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003683/0.3668, allocations: 255.3 kB / 1.212 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000403/0.3672, allocations: 247.1 kB / 1.212 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002097/0.3675, allocations: 64 kB / 1.212 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001799/0.3676, allocations: 75.98 kB / 1.212 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.3678, allocations: 87.73 kB / 1.212 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00029/0.3681, allocations: 246.9 kB / 1.212 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007421/0.3688, allocations: 0.6815 MB / 1.213 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3688, allocations: 0 / 1.213 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3688, allocations: 0 / 1.213 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.956e-05/0.3689, allocations: 0 / 1.213 GB, free: 4.184 MB / 0.9669 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.001505/0.3704, allocations: 0.9428 MB / 1.214 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.3704, allocations: 12.62 kB / 1.214 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.264e-05/0.3705, allocations: 66.72 kB / 1.214 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.3707, allocations: 52.41 kB / 1.214 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.372, allocations: 471.9 kB / 1.215 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.185e-05/0.3721, allocations: 28.88 kB / 1.215 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.82e-05/0.3722, allocations: 40.38 kB / 1.215 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006803/0.3729, allocations: 325.1 kB / 1.215 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.3729, allocations: 0 / 1.215 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.599e-05/0.373, allocations: 15.98 kB / 1.215 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.373, allocations: 4 kB / 1.215 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006445/0.3736, allocations: 258 kB / 1.215 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.3753, allocations: 0.912 MB / 1.216 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000649/0.376, allocations: 378.4 kB / 1.217 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005217/0.3765, allocations: 279.2 kB / 1.217 GB, free: 224 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.3766, allocations: 4 kB / 1.217 GB, free: 220 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006364/0.3772, allocations: 326.9 kB / 1.217 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=44): time 2.815e-06/0.3772, allocations: 0 / 1.217 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of matching and sorting (n=44): time 0.001644/0.3789, allocations: 0.8372 MB / 1.218 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.379, allocations: 187.9 kB / 1.218 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003247/0.3793, allocations: 288.5 kB / 1.218 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.256e-05/0.3794, allocations: 41.7 kB / 1.218 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.3796, allocations: 172.8 kB / 1.219 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.3797, allocations: 134.2 kB / 1.219 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002222/0.3799, allocations: 130.1 kB / 1.219 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3801, allocations: 346.8 kB / 1.219 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000601/0.3807, allocations: 276.8 kB / 1.219 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006404/0.3813, allocations: 361.8 kB / 1.22 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.3826, allocations: 0.9167 MB / 1.221 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.3826, allocations: 0 / 1.221 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001661/0.3842, allocations: 0.9938 MB / 1.222 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001384/0.3844, allocations: 259.3 kB / 1.222 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.3844, allocations: 3.984 kB / 1.222 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.3844, allocations: 8 kB / 1.222 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002903/0.3847, allocations: 63.83 kB / 1.222 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.3848, allocations: 8 kB / 1.222 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007369/0.3855, allocations: 147.5 kB / 1.222 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.3856, allocations: 67.91 kB / 1.222 GB, free: 10.32 MB / 0.9825 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.0002843/0.3859, allocations: 322.1 kB / 1.222 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.877e-05/0.386, allocations: 35.62 kB / 1.223 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.278e-05/0.3861, allocations: 39.48 kB / 1.223 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.3861, allocations: 4 kB / 1.223 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.3861, allocations: 0 / 1.223 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.3861, allocations: 3.984 kB / 1.223 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/0.3879, allocations: 1.192 MB / 1.224 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.3879, allocations: 7.984 kB / 1.224 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/0.3881, allocations: 67.89 kB / 1.224 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.3882, allocations: 4 kB / 1.224 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.3882, allocations: 8 kB / 1.224 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.3882, allocations: 7.938 kB / 1.224 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3882, allocations: 0 / 1.224 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.3893, allocations: 0.7626 MB / 1.225 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.079e-05/0.3894, allocations: 120.5 kB / 1.225 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.482e-05/0.3895, allocations: 11.98 kB / 1.225 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.3897, allocations: 31.91 kB / 1.225 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.67e-05/0.3898, allocations: 35.95 kB / 1.225 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.206e-05/0.3899, allocations: 51.94 kB / 1.225 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001796/0.3901, allocations: 195.1 kB / 1.225 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.573e-06/0.3901, allocations: 0 / 1.225 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004345/0.3905, allocations: 111.8 kB / 1.225 GB, free: 7.129 MB / 0.9825 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.00145/0.392, allocations: 1.334 MB / 1.226 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001552/0.3935, allocations: 1.113 MB / 1.227 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3936, allocations: 0 / 1.227 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006136/0.3942, allocations: 0.5163 MB / 1.228 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006107/0.3948, allocations: 86.39 kB / 1.228 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008004/0.4028, allocations: 4.639 MB / 1.233 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004943/0.4033, allocations: 0.7963 MB / 1.233 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002932/0.4037, allocations: 91.2 kB / 1.233 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/0.4039, allocations: 115.4 kB / 1.234 GB, free: 14 MB / 0.9981 GB Notification: Performance of SimCode: time 1.242e-06/0.4039, allocations: 4 kB / 1.234 GB, free: 14 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03098/0.4349, allocations: 10.04 MB / 1.243 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.218/8.653, allocations: 9.625 kB / 1.243 GB, free: 4.141 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 & /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