Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_10_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.001319/0.001319, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001793/0.001793, allocations: 195.7 kB / 16.14 MB, free: 6.656 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.269/1.269, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.373/2.373, allocations: 437 MB / 0.7099 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 71.89 kB / 0.8687 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5244/0.5259, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002284/0.5282, allocations: 1.385 MB / 1.018 GB, free: 1.383 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001851/0.5301, allocations: 1.623 MB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.5302, allocations: 4 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001259/0.5304, allocations: 19.73 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.5305, allocations: 59.56 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009417/0.5314, allocations: 462.1 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004412/0.5319, allocations: 0.5583 MB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002565/0.5321, allocations: 171 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002382/0.5324, allocations: 219.3 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/0.5326, allocations: 203.2 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.274e-05/0.5327, allocations: 35.98 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.5328, allocations: 43.98 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.885e-05/0.5329, allocations: 75.7 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002057/0.5331, allocations: 211 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005194/0.5336, allocations: 0.6425 MB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.5336, allocations: 3.938 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.82e-07/0.5336, allocations: 0 / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.5337, allocations: 3.938 kB / 1.022 GB, free: 13.07 MB / 0.7794 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.001133/0.5348, allocations: 0.939 MB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.5348, allocations: 8.031 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.975e-05/0.5349, allocations: 62.73 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.535, allocations: 48.47 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.5363, allocations: 483.8 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.45e-05/0.5363, allocations: 24.94 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.393e-05/0.5364, allocations: 44.36 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005898/0.537, allocations: 325 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.537, allocations: 0 / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.537, allocations: 8 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.537, allocations: 8 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000614/0.5377, allocations: 258 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.539, allocations: 0.9121 MB / 1.025 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005981/0.5396, allocations: 375.2 kB / 1.026 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004559/0.5401, allocations: 290.3 kB / 1.026 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.5401, allocations: 4 kB / 1.026 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005145/0.5407, allocations: 327 kB / 1.026 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=44): time 3.086e-06/0.5407, allocations: 0 / 1.026 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44): time 0.001429/0.5421, allocations: 0.8342 MB / 1.027 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.023e-05/0.5422, allocations: 195.9 kB / 1.027 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.5424, allocations: 292.4 kB / 1.028 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.993e-05/0.5425, allocations: 49.69 kB / 1.028 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.5426, allocations: 156.9 kB / 1.028 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.059e-05/0.5427, allocations: 126.1 kB / 1.028 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/0.543, allocations: 142.1 kB / 1.028 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.5431, allocations: 350.8 kB / 1.028 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005543/0.5436, allocations: 276.8 kB / 1.029 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006006/0.5442, allocations: 361.8 kB / 1.029 GB, free: 5.883 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.5453, allocations: 0.9088 MB / 1.03 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-05/0.5453, allocations: 0 / 1.03 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001488/0.5468, allocations: 0.9975 MB / 1.031 GB, free: 3.797 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.5469, allocations: 259.6 kB / 1.031 GB, free: 3.488 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.547, allocations: 4 kB / 1.031 GB, free: 3.484 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.547, allocations: 4 kB / 1.031 GB, free: 3.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.5472, allocations: 67.89 kB / 1.031 GB, free: 3.414 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.5472, allocations: 4 kB / 1.031 GB, free: 3.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006622/0.5479, allocations: 151.5 kB / 1.031 GB, free: 3.262 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.741e-05/0.548, allocations: 75.84 kB / 1.031 GB, free: 3.188 MB / 0.7794 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.0002329/0.5482, allocations: 314.2 kB / 1.032 GB, free: 2.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.5483, allocations: 43.53 kB / 1.032 GB, free: 2.797 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.531e-05/0.5484, allocations: 43.48 kB / 1.032 GB, free: 2.754 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.5484, allocations: 4 kB / 1.032 GB, free: 2.75 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5484, allocations: 0 / 1.032 GB, free: 2.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.5484, allocations: 3.984 kB / 1.032 GB, free: 2.746 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/0.5499, allocations: 1.206 MB / 1.033 GB, free: 1.453 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.55, allocations: 0 / 1.033 GB, free: 1.453 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/0.5502, allocations: 63.89 kB / 1.033 GB, free: 1.391 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.5502, allocations: 0 / 1.033 GB, free: 1.391 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-05/0.5502, allocations: 19.98 kB / 1.033 GB, free: 1.371 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.5502, allocations: 3.938 kB / 1.033 GB, free: 1.367 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.5502, allocations: 4 kB / 1.033 GB, free: 1.363 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.5512, allocations: 0.769 MB / 1.034 GB, free: 0.5469 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.88e-05/0.5513, allocations: 108.6 kB / 1.034 GB, free: 432 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.492e-05/0.5514, allocations: 12 kB / 1.034 GB, free: 420 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.5516, allocations: 39.89 kB / 1.034 GB, free: 380 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.311e-05/0.5517, allocations: 31.95 kB / 1.034 GB, free: 348 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.474e-05/0.5517, allocations: 47.94 kB / 1.034 GB, free: 300 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001602/0.5519, allocations: 195.1 kB / 1.034 GB, free: 104 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5519, allocations: 0 / 1.034 GB, free: 104 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000384/0.5523, allocations: 108 kB / 1.034 GB, free: 15.99 MB / 0.795 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.0013/0.5536, allocations: 1.329 MB / 1.036 GB, free: 14.61 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001319/0.5549, allocations: 1.105 MB / 1.037 GB, free: 13.39 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.555, allocations: 0.5625 kB / 1.037 GB, free: 13.39 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005416/0.5555, allocations: 0.528 MB / 1.037 GB, free: 12.8 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004984/0.556, allocations: 95.08 kB / 1.037 GB, free: 12.71 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006165/0.5622, allocations: 4.732 MB / 1.042 GB, free: 7.789 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.5626, allocations: 0.7927 MB / 1.043 GB, free: 6.973 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002637/0.5629, allocations: 99.17 kB / 1.043 GB, free: 6.875 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.563, allocations: 111.4 kB / 1.043 GB, free: 6.766 MB / 0.795 GB Notification: Performance of SimCode: time 7.91e-07/0.563, allocations: 0 / 1.043 GB, free: 6.766 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01961/0.5827, allocations: 9.172 MB / 1.052 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/0.5829, allocations: 204.4 kB / 1.052 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.784/2.367, allocations: 11.88 kB / 1.052 GB, free: 13.52 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches