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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001125/0.001125, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.319/1.319, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.527/2.527, allocations: 437.1 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 67.89 kB / 0.8694 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6259/0.6273, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.00232/0.6296, allocations: 1.345 MB / 1.019 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001846/0.6315, allocations: 1.549 MB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.6316, allocations: 4 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.6318, allocations: 35.53 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.6319, allocations: 63.38 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.633, allocations: 490 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005621/0.6336, allocations: 0.6911 MB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002813/0.6338, allocations: 167.2 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002235/0.6341, allocations: 251.4 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002065/0.6343, allocations: 223.1 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.401e-05/0.6344, allocations: 64 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.6345, allocations: 79.98 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.918e-05/0.6346, allocations: 79.75 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002198/0.6348, allocations: 246.9 kB / 1.023 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005806/0.6354, allocations: 0.6699 MB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.6354, allocations: 3.938 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6355, allocations: 0 / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.856e-06/0.6355, allocations: 0 / 1.023 GB, free: 12.52 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.001177/0.6367, allocations: 0.9467 MB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.6367, allocations: 8.031 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.421e-05/0.6368, allocations: 54.73 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.6369, allocations: 56.45 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.6382, allocations: 479.7 kB / 1.025 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.679e-05/0.6382, allocations: 32.92 kB / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.792e-05/0.6383, allocations: 40.38 kB / 1.025 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005934/0.6389, allocations: 325.1 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.6389, allocations: 0 / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/0.6389, allocations: 8 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.639, allocations: 7.984 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006291/0.6396, allocations: 250.1 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.641, allocations: 0.9199 MB / 1.026 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006465/0.6417, allocations: 382.6 kB / 1.027 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004718/0.6422, allocations: 283.2 kB / 1.027 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.6422, allocations: 4 kB / 1.027 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005574/0.6428, allocations: 326.9 kB / 1.027 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=44): time 3.937e-06/0.6428, allocations: 0 / 1.027 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44): time 0.001522/0.6443, allocations: 0.8381 MB / 1.028 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.935e-05/0.6444, allocations: 191.9 kB / 1.028 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002726/0.6447, allocations: 292.4 kB / 1.028 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.488e-05/0.6448, allocations: 41.7 kB / 1.029 GB, free: 6.766 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.6449, allocations: 160.9 kB / 1.029 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.645, allocations: 142.1 kB / 1.029 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002258/0.6453, allocations: 130.1 kB / 1.029 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.6454, allocations: 350.8 kB / 1.029 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005833/0.646, allocations: 268.8 kB / 1.03 GB, free: 5.715 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006356/0.6466, allocations: 365.8 kB / 1.03 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.6478, allocations: 0.9205 MB / 1.031 GB, free: 4.289 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.6478, allocations: 0 / 1.031 GB, free: 4.289 MB / 0.7794 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001545/0.6493, allocations: 0.9939 MB / 1.032 GB, free: 3.23 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001262/0.6495, allocations: 255.3 kB / 1.032 GB, free: 2.926 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.6495, allocations: 4 kB / 1.032 GB, free: 2.922 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.6495, allocations: 4 kB / 1.032 GB, free: 2.918 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002725/0.6498, allocations: 67.89 kB / 1.032 GB, free: 2.852 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.6498, allocations: 7.938 kB / 1.032 GB, free: 2.844 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007051/0.6505, allocations: 139.5 kB / 1.032 GB, free: 2.707 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.6506, allocations: 71.92 kB / 1.032 GB, free: 2.637 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.0002407/0.6509, allocations: 314.2 kB / 1.033 GB, free: 2.289 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.402e-05/0.6509, allocations: 47.52 kB / 1.033 GB, free: 2.242 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.589e-05/0.651, allocations: 35.48 kB / 1.033 GB, free: 2.207 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.651, allocations: 12 kB / 1.033 GB, free: 2.195 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.651, allocations: 3.938 kB / 1.033 GB, free: 2.191 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.651, allocations: 3.984 kB / 1.033 GB, free: 2.188 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001642/0.6527, allocations: 1.206 MB / 1.034 GB, free: 0.8945 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.6527, allocations: 0 / 1.034 GB, free: 0.8945 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/0.6529, allocations: 63.89 kB / 1.034 GB, free: 0.832 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.6529, allocations: 4 kB / 1.034 GB, free: 0.8281 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.653, allocations: 12 kB / 1.034 GB, free: 0.8164 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.578e-06/0.653, allocations: 7.938 kB / 1.034 GB, free: 0.8086 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.653, allocations: 0 / 1.034 GB, free: 0.8086 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.6541, allocations: 0.7652 MB / 1.035 GB, free: 15.99 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.848e-05/0.6541, allocations: 108.7 kB / 1.035 GB, free: 15.87 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.916e-05/0.6542, allocations: 11.94 kB / 1.035 GB, free: 15.86 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.6544, allocations: 35.91 kB / 1.035 GB, free: 15.82 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.346e-05/0.6545, allocations: 31.95 kB / 1.035 GB, free: 15.79 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.309e-05/0.6546, allocations: 51.88 kB / 1.035 GB, free: 15.74 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001887/0.6548, allocations: 203.1 kB / 1.035 GB, free: 15.54 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.6548, allocations: 0 / 1.035 GB, free: 15.54 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004101/0.6552, allocations: 107.8 kB / 1.035 GB, free: 15.44 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.001387/0.6566, allocations: 1.318 MB / 1.036 GB, free: 14.06 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001556/0.6582, allocations: 1.203 MB / 1.038 GB, free: 12.75 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.6582, allocations: 0 / 1.038 GB, free: 12.75 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005479/0.6587, allocations: 0.5202 MB / 1.038 GB, free: 12.16 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005446/0.6593, allocations: 104.9 kB / 1.038 GB, free: 12.06 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006174/0.6655, allocations: 4.635 MB / 1.043 GB, free: 7.238 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.6658, allocations: 0.7963 MB / 1.044 GB, free: 6.418 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002512/0.6661, allocations: 91.2 kB / 1.044 GB, free: 6.328 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.6663, allocations: 115.4 kB / 1.044 GB, free: 6.215 MB / 0.795 GB Notification: Performance of SimCode: time 2.034e-06/0.6663, allocations: 0 / 1.044 GB, free: 6.215 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02861/0.6949, allocations: 9.741 MB / 1.053 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.202/7.897, allocations: 3.938 kB / 1.053 GB, free: 12.63 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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