Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000947/0.000947, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009149/0.0009149, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.891/0.891, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.614/1.614, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.54e-05/1.699e-05, allocations: 8.891 kB / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.04319/0.04321, allocations: 70.44 MB / 1.019 GB, free: 12.79 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01787/0.06108, allocations: 17.61 MB / 1.036 GB, free: 11.14 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003004/0.06408, allocations: 154.7 kB / 1.037 GB, free: 10.99 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.002699/0.06678, allocations: 1.253 MB / 1.038 GB, free: 9.73 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.007506/0.07429, allocations: 3.984 MB / 1.042 GB, free: 5.727 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003853/0.07814, allocations: 2.232 MB / 1.044 GB, free: 3.512 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.4761/0.5543, allocations: 6.852 MB / 1.051 GB, free: 48.57 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001845/0.5561, allocations: 1.585 MB / 1.052 GB, free: 48.46 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003564/0.5597, allocations: 3.244 MB / 1.055 GB, free: 48.46 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00128/0.5609, allocations: 1.594 MB / 1.057 GB, free: 48.27 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001874/0.5611, allocations: 199.3 kB / 1.057 GB, free: 48.27 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00223/0.5634, allocations: 1.375 MB / 1.058 GB, free: 48.16 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003008/0.5637, allocations: 0.5829 MB / 1.059 GB, free: 48.03 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005815/0.5642, allocations: 0.8492 MB / 1.06 GB, free: 47.93 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.003573/0.5678, allocations: 3.792 MB / 1.064 GB, free: 47.71 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.5678, allocations: 0 / 1.064 GB, free: 47.71 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5678, allocations: 0 / 1.064 GB, free: 47.71 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.087e-05/0.5678, allocations: 0 / 1.064 GB, free: 47.71 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.002471/0.5703, allocations: 2.697 MB / 1.066 GB, free: 46.45 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.5704, allocations: 12.25 kB / 1.066 GB, free: 46.44 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001609/0.5705, allocations: 207.1 kB / 1.066 GB, free: 46.4 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003682/0.5709, allocations: 281.1 kB / 1.067 GB, free: 46.26 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001863/0.5728, allocations: 1.996 MB / 1.069 GB, free: 45.77 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.543e-05/0.5728, allocations: 108.6 kB / 1.069 GB, free: 45.77 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.5729, allocations: 143.3 kB / 1.069 GB, free: 45.76 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.5745, allocations: 1.82 MB / 1.071 GB, free: 45.16 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.239e-05/0.5745, allocations: 6.031 kB / 1.071 GB, free: 45.16 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.028e-05/0.5746, allocations: 56.66 kB / 1.071 GB, free: 45.16 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.291e-05/0.5746, allocations: 40.44 kB / 1.071 GB, free: 45.16 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.5759, allocations: 1.125 MB / 1.072 GB, free: 45.14 MB / 0.9948 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.004081/0.58, allocations: 5.336 MB / 1.077 GB, free: 43.06 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005752/0.5806, allocations: 444.6 kB / 1.077 GB, free: 43.04 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003304/0.5809, allocations: 316.5 kB / 1.078 GB, free: 43.02 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000214/0.5811, allocations: 109.5 kB / 1.078 GB, free: 43.02 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.5811, allocations: 44.75 kB / 1.078 GB, free: 42.98 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=59): time 1.824e-06/0.5811, allocations: 0 / 1.078 GB, free: 42.98 MB / 0.9948 GB Notification: Performance of matching and sorting (n=59): time 0.001204/0.5823, allocations: 0.978 MB / 1.079 GB, free: 42.82 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.5824, allocations: 57.47 kB / 1.079 GB, free: 42.76 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001986/0.5844, allocations: 1.83 MB / 1.081 GB, free: 42.51 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.5844, allocations: 39.95 kB / 1.081 GB, free: 42.48 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004698/0.5849, allocations: 0.9524 MB / 1.082 GB, free: 42.15 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.585, allocations: 226.1 kB / 1.082 GB, free: 42.01 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.5852, allocations: 225.8 kB / 1.082 GB, free: 41.98 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.898e-05/0.5852, allocations: 351.3 kB / 1.082 GB, free: 41.67 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004087/0.5856, allocations: 327 kB / 1.083 GB, free: 41.67 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005744/0.5862, allocations: 0.9657 MB / 1.084 GB, free: 40.93 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009457/0.5871, allocations: 1.02 MB / 1.085 GB, free: 40.55 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.5871, allocations: 3.5 kB / 1.085 GB, free: 40.55 MB / 0.9948 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001341/0.5885, allocations: 1.227 MB / 1.086 GB, free: 40.4 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.5885, allocations: 13.78 kB / 1.086 GB, free: 40.39 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.5885, allocations: 9.281 kB / 1.086 GB, free: 40.39 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/0.5885, allocations: 16.38 kB / 1.086 GB, free: 40.39 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005514/0.5891, allocations: 294.2 kB / 1.086 GB, free: 40.39 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.778e-05/0.5891, allocations: 22.47 kB / 1.086 GB, free: 40.39 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005588/0.5897, allocations: 165.8 kB / 1.086 GB, free: 40.31 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.498e-05/0.5897, allocations: 57.48 kB / 1.086 GB, free: 40.31 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * 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.0003934/0.5901, allocations: 440.4 kB / 1.087 GB, free: 40.19 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.5903, allocations: 201.6 kB / 1.087 GB, free: 40.08 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.5914, allocations: 0.8802 MB / 1.088 GB, free: 40.01 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.5914, allocations: 9.875 kB / 1.088 GB, free: 40.01 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.5914, allocations: 3.938 kB / 1.088 GB, free: 40.01 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007644/0.5922, allocations: 0.7991 MB / 1.089 GB, free: 39.75 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00229/0.5945, allocations: 2.232 MB / 1.091 GB, free: 39.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.5945, allocations: 9.281 kB / 1.091 GB, free: 39.34 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004521/0.5949, allocations: 182.8 kB / 1.091 GB, free: 39.33 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.5949, allocations: 4.562 kB / 1.091 GB, free: 39.33 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.265e-05/0.595, allocations: 16.58 kB / 1.091 GB, free: 39.33 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.595, allocations: 5.219 kB / 1.091 GB, free: 39.33 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.595, allocations: 4.094 kB / 1.091 GB, free: 39.33 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/0.5966, allocations: 1.361 MB / 1.092 GB, free: 39 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003908/0.5969, allocations: 299.9 kB / 1.093 GB, free: 38.88 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.5971, allocations: 16.75 kB / 1.093 GB, free: 38.88 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005015/0.5976, allocations: 65.33 kB / 1.093 GB, free: 38.87 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.5977, allocations: 56.56 kB / 1.093 GB, free: 38.86 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.046e-05/0.5977, allocations: 33.78 kB / 1.093 GB, free: 38.86 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001211/0.5989, allocations: 1.259 MB / 1.094 GB, free: 38.72 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5989, allocations: 0 / 1.094 GB, free: 38.72 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001241/0.6002, allocations: 0.6627 MB / 1.095 GB, free: 38.62 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.002423/0.6026, allocations: 2.419 MB / 1.097 GB, free: 37.65 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001131/0.6037, allocations: 0.7814 MB / 1.098 GB, free: 37.64 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6037, allocations: 2.062 kB / 1.098 GB, free: 37.64 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004577/0.6042, allocations: 341.7 kB / 1.098 GB, free: 37.63 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002906/0.6071, allocations: 1.199 MB / 1.099 GB, free: 37.31 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/0.6211, allocations: 12.67 MB / 1.112 GB, free: 31.22 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000821/0.6219, allocations: 0.8427 MB / 1.113 GB, free: 31 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001074/0.623, allocations: 386.7 kB / 1.113 GB, free: 30.9 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000617/0.6236, allocations: 0.775 MB / 1.114 GB, free: 30.31 MB / 0.9948 GB Notification: Performance of SimCode: time 1.122e-06/0.6236, allocations: 0 / 1.114 GB, free: 30.31 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06433/0.6879, allocations: 63.24 MB / 1.175 GB, free: 4.512 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.23/9.918, allocations: 4.203 kB / 1.175 GB, free: 4.512 MB / 0.9948 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.948405585251749]