Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",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.0008052/0.0008051, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.005159/0.005159, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.342/1.342, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.607/2.607, allocations: 462.7 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003275/0.0003275, allocations: 11.03 kB / 0.9029 GB, free: 36.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2695, allocations: 159.6 MB / 1.059 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.8014/1.071, allocations: 321.9 MB / 1.373 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03014/1.101, allocations: 29.9 MB / 1.402 GB, free: 13.21 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003523/1.105, allocations: 90.44 kB / 1.402 GB, free: 13.21 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004587/1.109, allocations: 1.759 MB / 1.404 GB, free: 12.75 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01271/1.122, allocations: 4.7 MB / 1.409 GB, free: 9.996 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.008412/1.131, allocations: 3.348 MB / 1.412 GB, free: 7.539 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01218/1.143, allocations: 9.63 MB / 1.421 GB, free: 2.328 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003867/1.147, allocations: 2.364 MB / 1.424 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01224/1.159, allocations: 4.678 MB / 1.428 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004657/1.164, allocations: 2.397 MB / 1.431 GB, free: 12.69 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000432/1.164, allocations: 129.9 kB / 1.431 GB, free: 12.69 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009366/1.173, allocations: 5.589 MB / 1.436 GB, free: 9.477 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001015/1.174, allocations: 0.9007 MB / 1.437 GB, free: 8.848 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002113/1.177, allocations: 1.56 MB / 1.439 GB, free: 7.273 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00842/1.185, allocations: 5.81 MB / 1.444 GB, free: 1.445 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/1.185, allocations: 3.938 kB / 1.444 GB, free: 1.441 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.363e-06/1.185, allocations: 4 kB / 1.444 GB, free: 1.438 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.866e-05/1.185, allocations: 7.938 kB / 1.444 GB, free: 1.43 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 536 * Number of variables: 536 Notification: Performance of Generate backend data structure: time 0.006234/1.191, allocations: 3.047 MB / 1.447 GB, free: 14.3 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/1.191, allocations: 8.031 kB / 1.447 GB, free: 14.29 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004186/1.192, allocations: 307.5 kB / 1.448 GB, free: 13.98 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009514/1.201, allocations: 1.573 MB / 1.449 GB, free: 12.4 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004007/1.205, allocations: 1.987 MB / 1.451 GB, free: 10.33 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001295/1.207, allocations: 436.1 kB / 1.451 GB, free: 9.902 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003525/1.207, allocations: 223.9 kB / 1.452 GB, free: 9.684 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005898/1.213, allocations: 3.107 MB / 1.455 GB, free: 6.441 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.4e-05/1.213, allocations: 7.938 kB / 1.455 GB, free: 6.434 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002361/1.213, allocations: 88 kB / 1.455 GB, free: 6.348 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.463e-05/1.213, allocations: 88 kB / 1.455 GB, free: 6.258 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006983/1.22, allocations: 3.224 MB / 1.458 GB, free: 3.016 MB / 1.045 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02088/1.241, allocations: 14.29 MB / 1.472 GB, free: 3.625 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003939/1.245, allocations: 1.693 MB / 1.474 GB, free: 1.922 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001684/1.247, allocations: 0.7924 MB / 1.474 GB, free: 1.125 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005886/1.247, allocations: 336.2 kB / 1.475 GB, free: 0.7422 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/1.247, allocations: 51.56 kB / 1.475 GB, free: 0.6836 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001071/1.249, allocations: 194.1 kB / 1.475 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of pre-optimization done (n=110): time 3.256e-06/1.249, allocations: 0 / 1.475 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of matching and sorting (n=110): time 0.005549/1.254, allocations: 2.422 MB / 1.477 GB, free: 14.06 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/1.254, allocations: 68.34 kB / 1.477 GB, free: 13.98 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003693/1.258, allocations: 2.56 MB / 1.48 GB, free: 11.4 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001471/1.258, allocations: 53.7 kB / 1.48 GB, free: 11.34 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009588/1.259, allocations: 1.264 MB / 1.481 GB, free: 10.07 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002901/1.259, allocations: 382.5 kB / 1.482 GB, free: 9.688 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002106/1.26, allocations: 137.6 kB / 1.482 GB, free: 9.547 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.321e-05/1.26, allocations: 305.1 kB / 1.482 GB, free: 9.246 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002571/1.262, allocations: 0.9954 MB / 1.483 GB, free: 8.25 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003026/1.265, allocations: 1.616 MB / 1.485 GB, free: 6.367 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00473/1.27, allocations: 2.314 MB / 1.487 GB, free: 3.859 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/1.27, allocations: 4 kB / 1.487 GB, free: 3.855 MB / 1.076 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.006749/1.277, allocations: 2.867 MB / 1.49 GB, free: 0.9648 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003547/1.277, allocations: 0.5452 MB / 1.49 GB, free: 224 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/1.277, allocations: 16 kB / 1.49 GB, free: 208 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.93e-05/1.277, allocations: 20 kB / 1.49 GB, free: 188 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002963/1.28, allocations: 0.5774 MB / 1.491 GB, free: 15.6 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/1.281, allocations: 2.387 MB / 1.493 GB, free: 13.12 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0037/1.285, allocations: 447.1 kB / 1.493 GB, free: 12.69 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001718/1.285, allocations: 99.94 kB / 1.494 GB, free: 12.59 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/1.285, allocations: 6.031 kB / 1.494 GB, free: 12.59 MB / 1.092 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005988/1.291, allocations: 2.622 MB / 1.496 GB, free: 9.949 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/1.291, allocations: 12.75 kB / 1.496 GB, free: 9.938 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/1.291, allocations: 24 kB / 1.496 GB, free: 9.914 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002408/1.294, allocations: 0.5227 MB / 1.497 GB, free: 9.391 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-05/1.294, allocations: 31.88 kB / 1.497 GB, free: 9.359 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003123/1.297, allocations: 371.4 kB / 1.497 GB, free: 8.996 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/1.297, allocations: 91.95 kB / 1.497 GB, free: 8.906 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 4 (masExcRev.i2_w,masExcRev.i1_w,masExcFor.i2_w,masExcFor.i1_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (208): * Single equations (assignments): 202 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001155/1.298, allocations: 0.635 MB / 1.498 GB, free: 8.262 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003605/1.299, allocations: 256.8 kB / 1.498 GB, free: 8.008 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004288/1.303, allocations: 1.878 MB / 1.5 GB, free: 6.117 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/1.303, allocations: 12 kB / 1.5 GB, free: 6.105 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/1.303, allocations: 0 / 1.5 GB, free: 6.105 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/1.303, allocations: 15.91 kB / 1.5 GB, free: 6.09 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007771/1.311, allocations: 4.54 MB / 1.504 GB, free: 1.41 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/1.311, allocations: 4 kB / 1.504 GB, free: 1.406 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001653/1.312, allocations: 315.6 kB / 1.505 GB, free: 1.098 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-05/1.313, allocations: 12 kB / 1.505 GB, free: 1.086 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.311e-05/1.313, allocations: 35.97 kB / 1.505 GB, free: 1.051 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/1.314, allocations: 2.368 MB / 1.507 GB, free: 14.59 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/1.314, allocations: 11.94 kB / 1.507 GB, free: 14.58 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003891/1.318, allocations: 2.014 MB / 1.509 GB, free: 12.47 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/1.319, allocations: 0.5483 MB / 1.51 GB, free: 11.9 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002907/1.319, allocations: 24 kB / 1.51 GB, free: 11.88 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002479/1.321, allocations: 292.2 kB / 1.51 GB, free: 11.59 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/1.322, allocations: 80.73 kB / 1.51 GB, free: 11.51 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/1.322, allocations: 68.22 kB / 1.51 GB, free: 11.44 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.003082/1.325, allocations: 1.774 MB / 1.512 GB, free: 9.664 MB / 1.107 GB Notification: Performance of sort global known variables: time 3.01e-07/1.325, allocations: 0 / 1.512 GB, free: 9.664 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.003271/1.328, allocations: 1.302 MB / 1.513 GB, free: 8.359 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.06902/1.397, allocations: 2.822 MB / 1.516 GB, free: 5.453 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.009214/1.406, allocations: 3.686 MB / 1.519 GB, free: 1.727 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/1.406, allocations: 5.875 kB / 1.519 GB, free: 1.723 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001942/1.408, allocations: 0.8305 MB / 1.52 GB, free: 0.8906 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008283/1.417, allocations: 1.33 MB / 1.521 GB, free: 15.57 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03872/1.455, allocations: 22.6 MB / 1.543 GB, free: 7.039 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/1.457, allocations: 1.71 MB / 1.545 GB, free: 5.293 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.003406/1.46, allocations: 0.7819 MB / 1.546 GB, free: 4.504 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001451/1.462, allocations: 1.042 MB / 1.547 GB, free: 3.465 MB / 1.139 GB Notification: Performance of SimCode: time 4.21e-07/1.462, allocations: 0 / 1.547 GB, free: 3.465 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1176/1.579, allocations: 72.02 MB / 1.617 GB, free: 12.23 MB / 1.217 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/1.579, allocations: 294.8 kB / 1.618 GB, free: 11.85 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.726/5.306, allocations: 0 / 1.618 GB, free: 11.85 MB / 1.217 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches