Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",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.006514/0.006514, allocations: 101.4 kB / 15.73 MB, free: 6.035 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.001215/0.001215, allocations: 187.8 kB / 16.67 MB, free: 5.969 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.675/2.675, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 59.91 kB / 1.054 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3067, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04392/0.3506, allocations: 41.59 MB / 1.248 GB, free: 384 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6928/1.043, allocations: 10.39 MB / 1.258 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002142/1.046, allocations: 53.12 kB / 1.258 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002033/1.048, allocations: 0.6448 MB / 1.259 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006132/1.054, allocations: 1.881 MB / 1.261 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003777/1.058, allocations: 1.184 MB / 1.262 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005421/1.063, allocations: 3.401 MB / 1.265 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001884/1.065, allocations: 1.061 MB / 1.266 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003792/1.069, allocations: 1.262 MB / 1.267 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001988/1.071, allocations: 0.8867 MB / 1.268 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002994/1.071, allocations: 100.1 kB / 1.268 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002916/1.074, allocations: 0.8604 MB / 1.269 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004685/1.075, allocations: 278.6 kB / 1.269 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001095/1.076, allocations: 0.6332 MB / 1.27 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003807/1.079, allocations: 1.923 MB / 1.272 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.079, allocations: 0.6562 kB / 1.272 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.783e-06/1.079, allocations: 0.5938 kB / 1.272 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.174e-05/1.08, allocations: 0 / 1.272 GB, free: 1.848 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.00316/1.083, allocations: 1.517 MB / 1.273 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.081e-05/1.083, allocations: 10.64 kB / 1.273 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001622/1.083, allocations: 112.2 kB / 1.273 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004971/1.083, allocations: 136.9 kB / 1.274 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002143/1.086, allocations: 1.102 MB / 1.275 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.532e-05/1.086, allocations: 57.06 kB / 1.275 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001618/1.086, allocations: 77 kB / 1.275 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/1.088, allocations: 0.7951 MB / 1.276 GB, free: 404 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/1.088, allocations: 1.906 kB / 1.276 GB, free: 404 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.812e-05/1.088, allocations: 32.27 kB / 1.276 GB, free: 404 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.502e-05/1.088, allocations: 18.55 kB / 1.276 GB, free: 404 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/1.089, allocations: 0.5729 MB / 1.276 GB, free: 388 kB / 0.9981 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.004644/1.093, allocations: 3.541 MB / 1.28 GB, free: 14.51 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005813/1.094, allocations: 263 kB / 1.28 GB, free: 14.48 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003585/1.094, allocations: 178.2 kB / 1.28 GB, free: 14.47 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005096/1.095, allocations: 0.6603 MB / 1.281 GB, free: 13.72 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/1.095, allocations: 40.66 kB / 1.281 GB, free: 13.68 MB / 1.014 GB Notification: Performance of pre-optimization done (n=31): time 1.794e-06/1.095, allocations: 0 / 1.281 GB, free: 13.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=31): time 0.001285/1.096, allocations: 0.5124 MB / 1.281 GB, free: 13.59 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/1.096, allocations: 54.88 kB / 1.281 GB, free: 13.53 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/1.098, allocations: 0.9489 MB / 1.282 GB, free: 13.38 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.094e-05/1.098, allocations: 39.86 kB / 1.282 GB, free: 13.34 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000388/1.098, allocations: 498.7 kB / 1.283 GB, free: 13.15 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000128/1.098, allocations: 116.4 kB / 1.283 GB, free: 13.08 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/1.098, allocations: 118.5 kB / 1.283 GB, free: 13.05 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000109/1.099, allocations: 327.8 kB / 1.283 GB, free: 12.75 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003234/1.099, allocations: 163.6 kB / 1.283 GB, free: 12.75 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004526/1.099, allocations: 352.8 kB / 1.284 GB, free: 12.54 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007453/1.1, allocations: 0.5074 MB / 1.284 GB, free: 12.32 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/1.1, allocations: 2.5 kB / 1.284 GB, free: 12.32 MB / 1.014 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001179/1.101, allocations: 0.6186 MB / 1.285 GB, free: 12.2 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/1.101, allocations: 11.75 kB / 1.285 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/1.101, allocations: 6.469 kB / 1.285 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/1.101, allocations: 7.656 kB / 1.285 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000433/1.102, allocations: 124 kB / 1.285 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.698e-05/1.102, allocations: 17.77 kB / 1.285 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007731/1.103, allocations: 84.98 kB / 1.285 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.87e-05/1.103, allocations: 25.72 kB / 1.285 GB, free: 12.14 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 initialization (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * 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.0004024/1.103, allocations: 281.4 kB / 1.285 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/1.103, allocations: 99.08 kB / 1.285 GB, free: 11.95 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009493/1.104, allocations: 480.7 kB / 1.286 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/1.104, allocations: 4.797 kB / 1.286 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/1.104, allocations: 4.75 kB / 1.286 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006881/1.105, allocations: 461.4 kB / 1.286 GB, free: 11.72 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002347/1.107, allocations: 1.358 MB / 1.288 GB, free: 11.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/1.107, allocations: 2.031 kB / 1.288 GB, free: 11.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003315/1.108, allocations: 78.14 kB / 1.288 GB, free: 11.31 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/1.108, allocations: 10.06 kB / 1.288 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/1.108, allocations: 9.75 kB / 1.288 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/1.108, allocations: 7.859 kB / 1.288 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.108, allocations: 1.094 kB / 1.288 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/1.109, allocations: 0.7626 MB / 1.289 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004573/1.11, allocations: 225.6 kB / 1.289 GB, free: 10.71 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/1.11, allocations: 11.52 kB / 1.289 GB, free: 10.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000509/1.11, allocations: 32.66 kB / 1.289 GB, free: 10.7 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/1.11, allocations: 28.47 kB / 1.289 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.627e-05/1.11, allocations: 24.38 kB / 1.289 GB, free: 10.68 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001055/1.111, allocations: 0.6569 MB / 1.29 GB, free: 10.39 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.111, allocations: 1.188 kB / 1.29 GB, free: 10.39 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001264/1.113, allocations: 330.5 kB / 1.29 GB, free: 10.33 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * 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.002355/1.115, allocations: 1.603 MB / 1.291 GB, free: 9.312 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001005/1.116, allocations: 434.7 kB / 1.292 GB, free: 9.176 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/1.116, allocations: 1.281 kB / 1.292 GB, free: 9.176 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004009/1.117, allocations: 182.3 kB / 1.292 GB, free: 9.125 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002714/1.119, allocations: 0.6138 MB / 1.293 GB, free: 8.938 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/1.13, allocations: 6.806 MB / 1.299 GB, free: 5.266 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006853/1.131, allocations: 1.034 MB / 1.3 GB, free: 4.535 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000971/1.132, allocations: 196.3 kB / 1.3 GB, free: 4.484 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005602/1.132, allocations: 377.4 kB / 1.301 GB, free: 4.211 MB / 1.014 GB Notification: Performance of SimCode: time 6.72e-07/1.132, allocations: 0 / 1.301 GB, free: 4.211 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0758/1.208, allocations: 30.19 MB / 1.33 GB, free: 10.18 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.856/11.06, allocations: 13.62 kB / 1.33 GB, free: 10.17 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches