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.002133/0.002132, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002546/0.002546, allocations: 192.2 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.265/3.265, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 7.345/7.345, allocations: 461.9 MB / 0.7344 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002675/0.002675, allocations: 64.91 kB / 0.8987 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6784/0.6811, allocations: 157.4 MB / 1.052 GB, free: 8.691 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.1846/0.8657, allocations: 41.28 MB / 1.093 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.03747/0.9033, allocations: 10.32 MB / 1.103 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006183/0.9096, allocations: 55.62 kB / 1.103 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.005066/0.9148, allocations: 0.5635 MB / 1.103 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01269/0.9275, allocations: 1.746 MB / 1.105 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.006809/0.9344, allocations: 1.09 MB / 1.106 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.008926/0.9433, allocations: 3.422 MB / 1.11 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003703/0.9471, allocations: 1.04 MB / 1.111 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006764/0.9539, allocations: 1.245 MB / 1.112 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003132/0.9571, allocations: 0.9218 MB / 1.113 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0006252/0.9577, allocations: 100 kB / 1.113 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004533/0.9623, allocations: 0.8654 MB / 1.114 GB, free: 9.836 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0009214/0.9633, allocations: 279 kB / 1.114 GB, free: 9.562 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002283/0.9656, allocations: 0.6299 MB / 1.114 GB, free: 8.93 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.006564/0.9722, allocations: 1.916 MB / 1.116 GB, free: 7.008 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.9722, allocations: 0 / 1.116 GB, free: 7.008 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.026e-06/0.9723, allocations: 0 / 1.116 GB, free: 7.008 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.506e-05/0.9723, allocations: 0 / 1.116 GB, free: 7.008 MB / 0.8731 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.006478/0.9788, allocations: 1.52 MB / 1.118 GB, free: 5.438 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 7.319e-05/0.9789, allocations: 8.625 kB / 1.118 GB, free: 5.43 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003147/0.9793, allocations: 114.7 kB / 1.118 GB, free: 5.309 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007548/0.98, allocations: 135.4 kB / 1.118 GB, free: 5.176 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003332/0.9834, allocations: 1.076 MB / 1.119 GB, free: 4.055 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-05/0.9835, allocations: 57.94 kB / 1.119 GB, free: 4 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002165/0.9837, allocations: 75.91 kB / 1.119 GB, free: 3.926 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002759/0.9865, allocations: 0.7905 MB / 1.12 GB, free: 3.098 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.421e-05/0.9866, allocations: 4 kB / 1.12 GB, free: 3.094 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/0.9867, allocations: 24 kB / 1.12 GB, free: 3.07 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.766e-05/0.9868, allocations: 24 kB / 1.12 GB, free: 3.047 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002076/0.9889, allocations: 0.5711 MB / 1.121 GB, free: 2.477 MB / 0.8731 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.007624/0.9965, allocations: 3.548 MB / 1.124 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.9975, allocations: 260.2 kB / 1.124 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006295/0.9982, allocations: 178 kB / 1.125 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009404/0.9992, allocations: 0.6609 MB / 1.125 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.428e-05/0.9992, allocations: 38.56 kB / 1.125 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=31): time 4.238e-06/0.9992, allocations: 3.938 kB / 1.125 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of matching and sorting (n=31): time 0.002253/1.002, allocations: 0.5091 MB / 1.126 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/1.002, allocations: 59.34 kB / 1.126 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002076/1.004, allocations: 0.9338 MB / 1.127 GB, free: 11.87 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001106/1.004, allocations: 33.7 kB / 1.127 GB, free: 11.83 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006827/1.005, allocations: 495.6 kB / 1.127 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002198/1.005, allocations: 122.4 kB / 1.127 GB, free: 11.22 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002773/1.005, allocations: 110.1 kB / 1.127 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001923/1.005, allocations: 337.8 kB / 1.128 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006275/1.006, allocations: 169 kB / 1.128 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008629/1.007, allocations: 344.5 kB / 1.128 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/1.008, allocations: 0.5147 MB / 1.129 GB, free: 9.609 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/1.008, allocations: 0 / 1.129 GB, free: 9.609 MB / 0.8887 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002296/1.011, allocations: 0.6096 MB / 1.129 GB, free: 8.992 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.434e-05/1.011, allocations: 8 kB / 1.129 GB, free: 8.984 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/1.011, allocations: 4 kB / 1.129 GB, free: 8.98 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.209e-05/1.011, allocations: 8 kB / 1.129 GB, free: 8.973 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008087/1.012, allocations: 127.8 kB / 1.129 GB, free: 8.848 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-05/1.012, allocations: 15.92 kB / 1.129 GB, free: 8.832 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/1.013, allocations: 111.5 kB / 1.13 GB, free: 8.723 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-05/1.013, allocations: 27.94 kB / 1.13 GB, free: 8.695 MB / 0.8887 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.0008455/1.014, allocations: 274.7 kB / 1.13 GB, free: 8.418 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003344/1.014, allocations: 102.8 kB / 1.13 GB, free: 8.316 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001721/1.016, allocations: 496 kB / 1.13 GB, free: 7.82 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.25e-05/1.016, allocations: 7.984 kB / 1.13 GB, free: 7.812 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/1.016, allocations: 0 / 1.13 GB, free: 7.812 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001284/1.018, allocations: 447 kB / 1.131 GB, free: 7.348 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003872/1.021, allocations: 1.358 MB / 1.132 GB, free: 5.918 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/1.021, allocations: 4 kB / 1.132 GB, free: 5.914 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005617/1.022, allocations: 75.83 kB / 1.132 GB, free: 5.84 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/1.022, allocations: 4.156 kB / 1.132 GB, free: 5.836 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.952e-05/1.022, allocations: 16.05 kB / 1.132 GB, free: 5.82 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-06/1.022, allocations: 4 kB / 1.132 GB, free: 5.816 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/1.022, allocations: 4 kB / 1.132 GB, free: 5.812 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002196/1.024, allocations: 0.7589 MB / 1.133 GB, free: 5.023 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009415/1.025, allocations: 235.5 kB / 1.133 GB, free: 4.773 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002366/1.026, allocations: 8 kB / 1.133 GB, free: 4.766 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/1.027, allocations: 56 kB / 1.133 GB, free: 4.711 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/1.027, allocations: 23.97 kB / 1.133 GB, free: 4.688 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-05/1.027, allocations: 19.98 kB / 1.133 GB, free: 4.668 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001738/1.029, allocations: 0.651 MB / 1.134 GB, free: 4.008 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.4e-07/1.029, allocations: 0 / 1.134 GB, free: 4.008 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002202/1.031, allocations: 327.5 kB / 1.134 GB, free: 3.688 MB / 0.8887 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.004543/1.035, allocations: 1.589 MB / 1.136 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001878/1.037, allocations: 457.5 kB / 1.136 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/1.037, allocations: 0 / 1.136 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006384/1.038, allocations: 196.3 kB / 1.136 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005/1.043, allocations: 0.6114 MB / 1.137 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02996/1.073, allocations: 7.472 MB / 1.144 GB, free: 8.973 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001401/1.075, allocations: 1.044 MB / 1.145 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001757/1.076, allocations: 190.9 kB / 1.146 GB, free: 7.711 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001112/1.077, allocations: 371.3 kB / 1.146 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of SimCode: time 2.495e-06/1.078, allocations: 4 kB / 1.146 GB, free: 7.344 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2185/1.296, allocations: 28.95 MB / 1.174 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005949/1.297, allocations: 258 kB / 1.174 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.784/8.081, allocations: 3.938 kB / 1.174 GB, free: 10.49 MB / 0.9356 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