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.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.0008909/0.0008909, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008992/0.0008992, allocations: 177.9 kB / 23.21 MB, free: 1.344 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.8986/0.8986, allocations: 177.1 MB / 203.5 MB, free: 5.688 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.743/1.743, allocations: 389 MB / 0.6338 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fouPor.Q1_flow|fouPor.Q2_flow|fouPor.vol1.T|fouPor.vol2.T|sou2.T|sou1.T_in|sin.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fouPor.Q1_flow|fouPor.Q2_flow|fouPor.vol1.T|fouPor.vol2.T|sou2.T|sou1.T_in|sin.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.295e-06/2.295e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.314e-05/4.544e-05, allocations: 2.281 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03049/0.03053, allocations: 38.16 MB / 1.038 GB, free: 6.684 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.508/0.5385, allocations: 9.643 MB / 1.048 GB, free: 44.3 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001436/0.54, allocations: 78.38 kB / 1.048 GB, free: 44.3 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001332/0.5413, allocations: 0.6415 MB / 1.048 GB, free: 44.29 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.003258/0.5446, allocations: 2.061 MB / 1.05 GB, free: 43.99 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002117/0.5467, allocations: 1.249 MB / 1.052 GB, free: 43.93 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002281/0.549, allocations: 3.457 MB / 1.055 GB, free: 43.28 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000638/0.5496, allocations: 0.7743 MB / 1.056 GB, free: 43.2 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001949/0.5515, allocations: 1.879 MB / 1.057 GB, free: 42.98 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005799/0.5521, allocations: 0.7858 MB / 1.058 GB, free: 42.88 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 8.29e-05/0.5522, allocations: 99.44 kB / 1.058 GB, free: 42.88 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.5532, allocations: 0.7212 MB / 1.059 GB, free: 42.81 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.5534, allocations: 306.8 kB / 1.059 GB, free: 42.74 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002795/0.5537, allocations: 436.4 kB / 1.06 GB, free: 42.69 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0014/0.5551, allocations: 1.96 MB / 1.062 GB, free: 42.5 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.5551, allocations: 2.062 kB / 1.062 GB, free: 42.5 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5551, allocations: 0 / 1.062 GB, free: 42.5 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.5551, allocations: 0 / 1.062 GB, free: 42.5 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.001396/0.5565, allocations: 1.461 MB / 1.063 GB, free: 41.75 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.5565, allocations: 8.875 kB / 1.063 GB, free: 41.75 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002123/0.5567, allocations: 144.7 kB / 1.063 GB, free: 41.68 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.5578, allocations: 1.048 MB / 1.064 GB, free: 41.38 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.564e-05/0.5578, allocations: 60 kB / 1.064 GB, free: 41.38 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.905e-05/0.5579, allocations: 70.62 kB / 1.064 GB, free: 41.38 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007934/0.5587, allocations: 0.9503 MB / 1.065 GB, free: 41.05 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.5587, allocations: 2.906 kB / 1.065 GB, free: 41.05 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.983e-05/0.5587, allocations: 26.28 kB / 1.065 GB, free: 41.05 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.142e-05/0.5588, allocations: 26.62 kB / 1.065 GB, free: 41.05 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006206/0.5594, allocations: 0.5635 MB / 1.066 GB, free: 41.05 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.001917/0.5613, allocations: 2.604 MB / 1.068 GB, free: 39.71 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003726/0.5617, allocations: 243.5 kB / 1.069 GB, free: 39.62 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.5619, allocations: 164.3 kB / 1.069 GB, free: 39.57 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001364/0.562, allocations: 69.78 kB / 1.069 GB, free: 39.55 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/0.562, allocations: 42.38 kB / 1.069 GB, free: 39.5 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=31): time 1.693e-06/0.562, allocations: 0 / 1.069 GB, free: 39.5 MB / 0.9948 GB Notification: Performance of matching and sorting (n=31): time 0.0006251/0.5626, allocations: 0.4976 MB / 1.069 GB, free: 39.32 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.5627, allocations: 67.19 kB / 1.07 GB, free: 39.25 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005357/0.5632, allocations: 0.807 MB / 1.07 GB, free: 38.9 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.5632, allocations: 34.77 kB / 1.07 GB, free: 38.87 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.5634, allocations: 0.5127 MB / 1.071 GB, free: 38.46 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 6.501e-05/0.5635, allocations: 118.6 kB / 1.071 GB, free: 38.37 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.816e-05/0.5636, allocations: 112.3 kB / 1.071 GB, free: 38.31 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.966e-05/0.5636, allocations: 326.3 kB / 1.071 GB, free: 38 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.5638, allocations: 163.2 kB / 1.072 GB, free: 37.95 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/0.564, allocations: 0.5 MB / 1.072 GB, free: 37.49 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004403/0.5645, allocations: 0.5112 MB / 1.073 GB, free: 37.17 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.5645, allocations: 5.375 kB / 1.073 GB, free: 37.17 MB / 0.9948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005857/0.5651, allocations: 0.6091 MB / 1.073 GB, free: 36.95 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.5651, allocations: 7.75 kB / 1.073 GB, free: 36.95 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.5651, allocations: 5.25 kB / 1.073 GB, free: 36.95 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.5651, allocations: 8.5 kB / 1.073 GB, free: 36.95 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.5653, allocations: 128.3 kB / 1.073 GB, free: 36.94 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.5653, allocations: 11.34 kB / 1.073 GB, free: 36.94 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002422/0.5656, allocations: 73.05 kB / 1.073 GB, free: 36.9 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.5656, allocations: 25 kB / 1.073 GB, free: 36.89 MB / 0.9948 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.0001936/0.5658, allocations: 273 kB / 1.074 GB, free: 36.7 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.706e-05/0.5659, allocations: 93.66 kB / 1.074 GB, free: 36.65 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005274/0.5664, allocations: 474.8 kB / 1.074 GB, free: 36.46 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.5664, allocations: 8.438 kB / 1.074 GB, free: 36.46 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.5664, allocations: 0 / 1.074 GB, free: 36.46 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003773/0.5668, allocations: 456.3 kB / 1.075 GB, free: 36.21 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.5678, allocations: 1.174 MB / 1.076 GB, free: 35.61 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.5678, allocations: 0 / 1.076 GB, free: 35.61 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.568, allocations: 75.41 kB / 1.076 GB, free: 35.61 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.568, allocations: 3 kB / 1.076 GB, free: 35.61 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.568, allocations: 11.22 kB / 1.076 GB, free: 35.61 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.175e-06/0.568, allocations: 2.875 kB / 1.076 GB, free: 35.61 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.568, allocations: 9.406 kB / 1.076 GB, free: 35.61 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006484/0.5687, allocations: 0.7534 MB / 1.077 GB, free: 35.21 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.5688, allocations: 134.7 kB / 1.077 GB, free: 35.13 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.919e-05/0.5689, allocations: 14.34 kB / 1.077 GB, free: 35.12 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.5691, allocations: 23.62 kB / 1.077 GB, free: 35.12 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/0.5691, allocations: 33.36 kB / 1.077 GB, free: 35.11 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.5691, allocations: 20.84 kB / 1.077 GB, free: 35.11 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0003631/0.5695, allocations: 0.5503 MB / 1.077 GB, free: 34.88 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.5695, allocations: 0 / 1.077 GB, free: 34.88 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0005823/0.5701, allocations: 359.6 kB / 1.078 GB, free: 34.78 MB / 0.9948 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.0004294/0.5705, allocations: 385.7 kB / 1.078 GB, free: 34.63 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0004628/0.571, allocations: 406.5 kB / 1.078 GB, free: 34.53 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.571, allocations: 3.281 kB / 1.078 GB, free: 34.53 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.5712, allocations: 177.2 kB / 1.079 GB, free: 34.49 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.5724, allocations: 465.8 kB / 1.079 GB, free: 34.37 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.5742, allocations: 1.574 MB / 1.081 GB, free: 33.45 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.5745, allocations: 442.9 kB / 1.081 GB, free: 33.32 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.5747, allocations: 77.75 kB / 1.081 GB, free: 33.3 MB / 0.9948 GB Notification: Performance of SimCode: time 6.61e-07/0.5747, allocations: 0 / 1.081 GB, free: 33.3 MB / 0.9948 GB Notification: Performance of Templates: time 0.01981/0.5945, allocations: 16.91 MB / 1.098 GB, free: 30.96 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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: 10.704486434347928]