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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 107.4 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.065/3.065, allocations: 497.2 MB / 0.7811 GB, free: 33.64 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 67.92 kB / 1.134 GB, free: 33.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3458, allocations: 173.9 MB / 1.304 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.051/0.3968, allocations: 41.94 MB / 1.345 GB, free: 7.543 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01705/0.4138, allocations: 10.43 MB / 1.355 GB, free: 13.08 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003253/0.4171, allocations: 59.69 kB / 1.355 GB, free: 13.02 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002638/0.4197, allocations: 0.6716 MB / 1.356 GB, free: 12.35 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.006669/0.4264, allocations: 1.975 MB / 1.358 GB, free: 10.37 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00386/0.4303, allocations: 1.193 MB / 1.359 GB, free: 9.184 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.005783/0.436, allocations: 3.395 MB / 1.362 GB, free: 5.777 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001866/0.4379, allocations: 0.8646 MB / 1.363 GB, free: 4.895 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004296/0.4422, allocations: 1.431 MB / 1.364 GB, free: 3.465 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002075/0.4443, allocations: 0.9217 MB / 1.365 GB, free: 2.539 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002864/0.4446, allocations: 100 kB / 1.365 GB, free: 2.441 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002423/0.447, allocations: 0.8812 MB / 1.366 GB, free: 1.559 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000356/0.4473, allocations: 294.8 kB / 1.367 GB, free: 1.27 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0009386/0.4483, allocations: 0.6299 MB / 1.367 GB, free: 0.6367 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003806/0.4521, allocations: 1.939 MB / 1.369 GB, free: 14.69 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.4521, allocations: 0 / 1.369 GB, free: 14.69 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.395e-06/0.4521, allocations: 4 kB / 1.369 GB, free: 14.69 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.987e-05/0.4521, allocations: 4 kB / 1.369 GB, free: 14.68 MB / 1.076 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.003092/0.4552, allocations: 1.544 MB / 1.371 GB, free: 13.08 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.4553, allocations: 16.86 kB / 1.371 GB, free: 13.07 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001493/0.4554, allocations: 114.7 kB / 1.371 GB, free: 12.95 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004007/0.4558, allocations: 144.1 kB / 1.371 GB, free: 12.8 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002049/0.4579, allocations: 1.112 MB / 1.372 GB, free: 11.65 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.333e-05/0.4579, allocations: 54 kB / 1.372 GB, free: 11.6 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.458, allocations: 79.95 kB / 1.372 GB, free: 11.52 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.4595, allocations: 0.7866 MB / 1.373 GB, free: 10.7 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.4595, allocations: 4 kB / 1.373 GB, free: 10.7 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.968e-05/0.4596, allocations: 32 kB / 1.373 GB, free: 10.66 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.424e-05/0.4596, allocations: 23.98 kB / 1.373 GB, free: 10.64 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.4608, allocations: 0.5633 MB / 1.373 GB, free: 10.07 MB / 1.076 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.005045/0.4658, allocations: 3.715 MB / 1.377 GB, free: 6.094 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006253/0.4664, allocations: 242.4 kB / 1.377 GB, free: 5.848 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003426/0.4668, allocations: 164.8 kB / 1.378 GB, free: 5.684 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005977/0.4674, allocations: 0.6571 MB / 1.378 GB, free: 4.879 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.4674, allocations: 38.56 kB / 1.378 GB, free: 4.832 MB / 1.076 GB Notification: Performance of pre-optimization done (n=31): time 2.214e-06/0.4674, allocations: 0 / 1.378 GB, free: 4.832 MB / 1.076 GB Notification: Performance of matching and sorting (n=31): time 0.001342/0.4687, allocations: 0.5285 MB / 1.379 GB, free: 4.297 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.4688, allocations: 55.41 kB / 1.379 GB, free: 4.23 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/0.4701, allocations: 0.9495 MB / 1.38 GB, free: 3.262 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.667e-05/0.4702, allocations: 33.7 kB / 1.38 GB, free: 3.223 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004267/0.4706, allocations: 0.4926 MB / 1.38 GB, free: 2.723 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.4707, allocations: 119 kB / 1.38 GB, free: 2.605 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/0.4709, allocations: 122.1 kB / 1.38 GB, free: 2.48 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.471, allocations: 333.9 kB / 1.381 GB, free: 2.148 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003514/0.4714, allocations: 161 kB / 1.381 GB, free: 1.992 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005113/0.4719, allocations: 347 kB / 1.381 GB, free: 1.574 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008399/0.4727, allocations: 0.5195 MB / 1.382 GB, free: 0.9844 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.4727, allocations: 4 kB / 1.382 GB, free: 0.9805 MB / 1.076 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001217/0.474, allocations: 0.6177 MB / 1.382 GB, free: 364 kB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.474, allocations: 5.719 kB / 1.382 GB, free: 360 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.474, allocations: 8 kB / 1.382 GB, free: 352 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.474, allocations: 8 kB / 1.382 GB, free: 344 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004377/0.4744, allocations: 119.8 kB / 1.382 GB, free: 224 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/0.4745, allocations: 16.36 kB / 1.382 GB, free: 208 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006028/0.4751, allocations: 87.42 kB / 1.383 GB, free: 120 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.127e-05/0.4751, allocations: 31.92 kB / 1.383 GB, free: 88 kB / 1.076 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.0004912/0.4756, allocations: 273.7 kB / 1.383 GB, free: 15.8 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002005/0.4758, allocations: 111.3 kB / 1.383 GB, free: 15.7 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.4768, allocations: 495.8 kB / 1.383 GB, free: 15.21 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.529e-05/0.4769, allocations: 7.984 kB / 1.383 GB, free: 15.2 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.4769, allocations: 0 / 1.383 GB, free: 15.2 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007685/0.4776, allocations: 449.2 kB / 1.384 GB, free: 14.73 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002458/0.4801, allocations: 1.375 MB / 1.385 GB, free: 13.29 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.4801, allocations: 0 / 1.385 GB, free: 13.29 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003626/0.4805, allocations: 83.98 kB / 1.385 GB, free: 13.21 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/0.4805, allocations: 4 kB / 1.385 GB, free: 13.2 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.4805, allocations: 11.98 kB / 1.385 GB, free: 13.19 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.4805, allocations: 4 kB / 1.385 GB, free: 13.19 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4805, allocations: 0 / 1.385 GB, free: 13.19 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.4819, allocations: 0.7646 MB / 1.386 GB, free: 12.39 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004485/0.4824, allocations: 232.3 kB / 1.386 GB, free: 12.15 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/0.4825, allocations: 11.94 kB / 1.386 GB, free: 12.14 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004983/0.483, allocations: 32.02 kB / 1.386 GB, free: 12.11 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.032e-05/0.4831, allocations: 23.97 kB / 1.386 GB, free: 12.08 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.28e-05/0.4831, allocations: 19.98 kB / 1.386 GB, free: 12.06 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0009678/0.4841, allocations: 0.6628 MB / 1.387 GB, free: 11.39 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4841, allocations: 0 / 1.387 GB, free: 11.39 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001107/0.4852, allocations: 347.2 kB / 1.387 GB, free: 11.05 MB / 1.092 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.002531/0.4877, allocations: 1.596 MB / 1.389 GB, free: 9.422 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001005/0.4887, allocations: 403.9 kB / 1.389 GB, free: 9.027 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.4887, allocations: 3.938 kB / 1.389 GB, free: 9.023 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0004074/0.4891, allocations: 177.9 kB / 1.389 GB, free: 8.852 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002847/0.492, allocations: 0.5961 MB / 1.39 GB, free: 8.262 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/0.5029, allocations: 6.846 MB / 1.397 GB, free: 1.121 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007202/0.5036, allocations: 1.036 MB / 1.398 GB, free: 56 kB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0009052/0.5045, allocations: 199.6 kB / 1.398 GB, free: 15.86 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006387/0.5052, allocations: 375.3 kB / 1.398 GB, free: 15.49 MB / 1.107 GB Notification: Performance of SimCode: time 1.352e-06/0.5052, allocations: 0 / 1.398 GB, free: 15.49 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0956/0.6008, allocations: 29.89 MB / 1.427 GB, free: 2.016 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/10.96, allocations: 11.94 kB / 1.427 GB, free: 2.004 MB / 1.123 GB " [Timeout remaining time 289] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 17.369535412173718]