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.006646/0.006646, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001728/0.001728, allocations: 198.9 kB / 16.67 MB, free: 5.934 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.577/2.577, allocations: 469.8 MB / 0.7425 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 67.89 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6496/0.6514, allocations: 159.1 MB / 1.22 GB, free: 1.965 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002422/0.6539, allocations: 1.325 MB / 1.221 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001895/0.6558, allocations: 1.553 MB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.568e-05/0.6559, allocations: 0 / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.656, allocations: 39.55 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.6561, allocations: 55.44 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.6571, allocations: 0.5065 MB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0006603/0.6578, allocations: 0.695 MB / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002664/0.6581, allocations: 156.9 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002562/0.6584, allocations: 255.3 kB / 1.225 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002846/0.6586, allocations: 239.2 kB / 1.225 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.547e-05/0.6587, allocations: 64 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.6589, allocations: 83.97 kB / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.969e-05/0.659, allocations: 79.7 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002423/0.6592, allocations: 250.9 kB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006294/0.6599, allocations: 0.6809 MB / 1.226 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.6599, allocations: 0 / 1.226 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6599, allocations: 0 / 1.226 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.6599, allocations: 4 kB / 1.226 GB, free: 12 MB / 0.9512 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.001187/0.6611, allocations: 0.9503 MB / 1.227 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.6611, allocations: 11.97 kB / 1.227 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.124e-05/0.6612, allocations: 62.73 kB / 1.227 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.6613, allocations: 56.66 kB / 1.227 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/0.6625, allocations: 484 kB / 1.228 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.931e-05/0.6626, allocations: 24.94 kB / 1.228 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.497e-05/0.6627, allocations: 40.38 kB / 1.228 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006176/0.6633, allocations: 321.1 kB / 1.228 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.6633, allocations: 3.984 kB / 1.228 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.6633, allocations: 12 kB / 1.228 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.6634, allocations: 8 kB / 1.228 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006408/0.664, allocations: 258 kB / 1.228 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/0.6655, allocations: 0.9122 MB / 1.229 GB, free: 8.676 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006463/0.6661, allocations: 383.5 kB / 1.229 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005027/0.6666, allocations: 281.9 kB / 1.23 GB, free: 8.016 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.6666, allocations: 4 kB / 1.23 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005533/0.6672, allocations: 330.9 kB / 1.23 GB, free: 7.676 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=44): time 1.833e-06/0.6672, allocations: 0 / 1.23 GB, free: 7.676 MB / 0.9512 GB Notification: Performance of matching and sorting (n=44): time 0.001514/0.6687, allocations: 0.8345 MB / 1.231 GB, free: 6.805 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.6689, allocations: 191.9 kB / 1.231 GB, free: 6.574 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.6691, allocations: 284.5 kB / 1.231 GB, free: 6.281 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.802e-05/0.6692, allocations: 45.7 kB / 1.231 GB, free: 6.23 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.6693, allocations: 168.9 kB / 1.231 GB, free: 6.062 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.6695, allocations: 138.9 kB / 1.232 GB, free: 5.926 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002193/0.6697, allocations: 138.1 kB / 1.232 GB, free: 5.781 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.6698, allocations: 346.8 kB / 1.232 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005877/0.6704, allocations: 272.8 kB / 1.232 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006471/0.6711, allocations: 365.8 kB / 1.233 GB, free: 4.777 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.6723, allocations: 0.909 MB / 1.234 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.6723, allocations: 0 / 1.234 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00159/0.6739, allocations: 0.9979 MB / 1.235 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001524/0.6741, allocations: 263.3 kB / 1.235 GB, free: 2.379 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.6741, allocations: 0 / 1.235 GB, free: 2.379 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.6741, allocations: 4 kB / 1.235 GB, free: 2.375 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/0.6744, allocations: 67.83 kB / 1.235 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.6744, allocations: 4 kB / 1.235 GB, free: 2.305 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007006/0.6751, allocations: 147.6 kB / 1.235 GB, free: 2.16 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.6752, allocations: 67.92 kB / 1.235 GB, free: 2.094 MB / 0.9512 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.0002649/0.6755, allocations: 322.1 kB / 1.235 GB, free: 1.738 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.193e-05/0.6755, allocations: 39.77 kB / 1.235 GB, free: 1.699 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.889e-05/0.6756, allocations: 39.48 kB / 1.235 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.6756, allocations: 4 kB / 1.235 GB, free: 1.652 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.6756, allocations: 3.938 kB / 1.235 GB, free: 1.648 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.6756, allocations: 0 / 1.235 GB, free: 1.648 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001672/0.6773, allocations: 1.198 MB / 1.237 GB, free: 372 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.6773, allocations: 0 / 1.237 GB, free: 372 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.6776, allocations: 71.89 kB / 1.237 GB, free: 300 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.6776, allocations: 0 / 1.237 GB, free: 300 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/0.6776, allocations: 15.98 kB / 1.237 GB, free: 284 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.6776, allocations: 3.938 kB / 1.237 GB, free: 280 kB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.6776, allocations: 0 / 1.237 GB, free: 280 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.6788, allocations: 0.7667 MB / 1.237 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.619e-05/0.6788, allocations: 112.8 kB / 1.238 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.563e-05/0.6789, allocations: 16 kB / 1.238 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.6791, allocations: 31.91 kB / 1.238 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.037e-05/0.6792, allocations: 35.95 kB / 1.238 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.29e-05/0.6793, allocations: 51.94 kB / 1.238 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001826/0.6795, allocations: 199.1 kB / 1.238 GB, free: 15 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6795, allocations: 0 / 1.238 GB, free: 15 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003756/0.6799, allocations: 111.9 kB / 1.238 GB, free: 14.89 MB / 0.9669 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.001456/0.6813, allocations: 1.33 MB / 1.239 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001482/0.6828, allocations: 1.109 MB / 1.24 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.6828, allocations: 0 / 1.24 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006151/0.6834, allocations: 0.5205 MB / 1.241 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005144/0.684, allocations: 103.2 kB / 1.241 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006372/0.6903, allocations: 4.656 MB / 1.246 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.6908, allocations: 0.8002 MB / 1.246 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002107/0.691, allocations: 91.2 kB / 1.246 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.6911, allocations: 115.4 kB / 1.247 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/0.6911, allocations: 0 / 1.247 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7638/1.455, allocations: 9.825 MB / 1.256 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.2/11.65, allocations: 10.94 kB / 1.256 GB, free: 12.07 MB / 0.9825 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/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