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.0008467/0.0008467, 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.0009534/0.0009534, 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.8874/0.8874, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.717/1.717, allocations: 389 MB / 0.633 GB, free: 12.68 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: "" <> 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.27e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.02417/0.02419, allocations: 38.16 MB / 1.037 GB, free: 7.176 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.446/0.4702, allocations: 9.655 MB / 1.046 GB, free: 43.93 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001544/0.4717, allocations: 76.92 kB / 1.046 GB, free: 43.93 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.4729, allocations: 0.6446 MB / 1.047 GB, free: 43.93 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002649/0.4755, allocations: 2.06 MB / 1.049 GB, free: 43.62 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001519/0.477, allocations: 1.247 MB / 1.05 GB, free: 43.57 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001631/0.4787, allocations: 3.456 MB / 1.054 GB, free: 42.92 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000554/0.4792, allocations: 0.7768 MB / 1.054 GB, free: 42.84 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001686/0.4809, allocations: 1.882 MB / 1.056 GB, free: 42.62 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005057/0.4814, allocations: 0.7796 MB / 1.057 GB, free: 42.52 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 8.311e-05/0.4815, allocations: 100.3 kB / 1.057 GB, free: 42.52 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007157/0.4822, allocations: 0.7132 MB / 1.058 GB, free: 42.45 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.4824, allocations: 307.5 kB / 1.058 GB, free: 42.39 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002719/0.4826, allocations: 446.5 kB / 1.059 GB, free: 42.33 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001245/0.4839, allocations: 1.954 MB / 1.06 GB, free: 42.14 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.4839, allocations: 6.422 kB / 1.06 GB, free: 42.14 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.694e-06/0.4839, allocations: 0 / 1.06 GB, free: 42.14 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.185e-05/0.4839, allocations: 0 / 1.06 GB, free: 42.14 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.00129/0.4852, allocations: 1.462 MB / 1.062 GB, free: 41.39 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.4852, allocations: 11.94 kB / 1.062 GB, free: 41.39 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.684e-05/0.4853, allocations: 118.6 kB / 1.062 GB, free: 41.35 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.4855, allocations: 142 kB / 1.062 GB, free: 41.29 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009874/0.4865, allocations: 1.04 MB / 1.063 GB, free: 40.98 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/0.4865, allocations: 67.33 kB / 1.063 GB, free: 40.98 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.61e-05/0.4866, allocations: 69.75 kB / 1.063 GB, free: 40.98 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007575/0.4874, allocations: 0.9469 MB / 1.064 GB, free: 40.66 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.4874, allocations: 6.094 kB / 1.064 GB, free: 40.66 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.247e-05/0.4874, allocations: 28.41 kB / 1.064 GB, free: 40.66 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.458e-05/0.4874, allocations: 18.78 kB / 1.064 GB, free: 40.66 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006364/0.4881, allocations: 0.5769 MB / 1.065 GB, free: 40.65 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.001992/0.4901, allocations: 2.729 MB / 1.067 GB, free: 39.23 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003429/0.4904, allocations: 251.6 kB / 1.068 GB, free: 39.14 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.4906, allocations: 166.3 kB / 1.068 GB, free: 39.08 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001414/0.4907, allocations: 64.95 kB / 1.068 GB, free: 39.07 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.4907, allocations: 38.47 kB / 1.068 GB, free: 39.03 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=31): time 1.583e-06/0.4907, allocations: 0 / 1.068 GB, free: 39.03 MB / 0.9948 GB Notification: Performance of matching and sorting (n=31): time 0.0006449/0.4914, allocations: 0.5191 MB / 1.068 GB, free: 38.84 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.4914, allocations: 55.53 kB / 1.069 GB, free: 38.77 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006511/0.4921, allocations: 0.9634 MB / 1.069 GB, free: 38.36 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.4921, allocations: 32.58 kB / 1.07 GB, free: 38.33 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.4923, allocations: 0.4946 MB / 1.07 GB, free: 37.93 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.137e-05/0.4923, allocations: 120.5 kB / 1.07 GB, free: 37.84 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.479e-05/0.4924, allocations: 113.1 kB / 1.07 GB, free: 37.78 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.099e-05/0.4925, allocations: 327.1 kB / 1.071 GB, free: 37.47 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.4926, allocations: 165.9 kB / 1.071 GB, free: 37.42 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002466/0.4929, allocations: 0.4942 MB / 1.071 GB, free: 36.96 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004149/0.4933, allocations: 0.5126 MB / 1.072 GB, free: 36.64 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.4933, allocations: 2.938 kB / 1.072 GB, free: 36.64 MB / 0.9948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.000586/0.4939, allocations: 0.621 MB / 1.072 GB, free: 36.41 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.4939, allocations: 8.562 kB / 1.072 GB, free: 36.41 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.4939, allocations: 5.25 kB / 1.072 GB, free: 36.41 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.4939, allocations: 11.88 kB / 1.072 GB, free: 36.41 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.4941, allocations: 124.5 kB / 1.072 GB, free: 36.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.4942, allocations: 10.59 kB / 1.072 GB, free: 36.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002711/0.4944, allocations: 94.31 kB / 1.073 GB, free: 36.35 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/0.4945, allocations: 25 kB / 1.073 GB, free: 36.34 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.0001874/0.4946, allocations: 272.4 kB / 1.073 GB, free: 36.15 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.394e-05/0.4947, allocations: 109.2 kB / 1.073 GB, free: 36.09 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005042/0.4952, allocations: 487 kB / 1.073 GB, free: 35.9 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.4952, allocations: 8.531 kB / 1.073 GB, free: 35.9 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4952, allocations: 2.625 kB / 1.073 GB, free: 35.9 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003538/0.4956, allocations: 461.5 kB / 1.074 GB, free: 35.64 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.4966, allocations: 1.244 MB / 1.075 GB, free: 35 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.4966, allocations: 0 / 1.075 GB, free: 35 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.4968, allocations: 81.72 kB / 1.075 GB, free: 34.99 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.4968, allocations: 2.719 kB / 1.075 GB, free: 34.99 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.4968, allocations: 15.97 kB / 1.075 GB, free: 34.98 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.4968, allocations: 6.188 kB / 1.075 GB, free: 34.98 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4968, allocations: 3.938 kB / 1.075 GB, free: 34.98 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006436/0.4974, allocations: 0.7766 MB / 1.076 GB, free: 34.58 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000158/0.4976, allocations: 149.8 kB / 1.076 GB, free: 34.49 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.911e-05/0.4977, allocations: 6.938 kB / 1.076 GB, free: 34.48 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.4979, allocations: 29.42 kB / 1.076 GB, free: 34.48 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/0.4979, allocations: 30.92 kB / 1.076 GB, free: 34.47 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.498, allocations: 21 kB / 1.076 GB, free: 34.47 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0004499/0.4984, allocations: 0.6656 MB / 1.077 GB, free: 34.18 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4984, allocations: 0 / 1.077 GB, free: 34.18 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0005103/0.4989, allocations: 346.1 kB / 1.077 GB, free: 34.1 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.001154/0.5001, allocations: 1.597 MB / 1.079 GB, free: 33.1 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0006007/0.5007, allocations: 406.5 kB / 1.079 GB, free: 33 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5007, allocations: 1.062 kB / 1.079 GB, free: 33 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.000288/0.501, allocations: 179.1 kB / 1.079 GB, free: 32.96 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/0.5024, allocations: 0.5943 MB / 1.08 GB, free: 32.79 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00678/0.5091, allocations: 6.825 MB / 1.086 GB, free: 29.19 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.5095, allocations: 458 kB / 1.087 GB, free: 29.05 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0004866/0.51, allocations: 199.5 kB / 1.087 GB, free: 29 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000313/0.5103, allocations: 373.6 kB / 1.087 GB, free: 28.73 MB / 0.9948 GB Notification: Performance of SimCode: time 8.22e-07/0.5103, allocations: 0 / 1.087 GB, free: 28.73 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05281/0.5631, allocations: 32.51 MB / 1.119 GB, free: 24.3 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.118/7.681, allocations: 4.531 kB / 1.119 GB, free: 24.3 MB / 0.9948 GB " [Timeout remaining time 292] (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 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 840.0] 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: 11.735261600464582]