Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001414/0.001414, allocations: 110.4 kB / 18.94 MB, free: 2.793 MB / 14.72 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.001684/0.001684, allocations: 221 kB / 22.25 MB, free: 5.215 MB / 14.72 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 1.444/1.444, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.742/2.742, allocations: 476.7 MB / 0.7707 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.FourPortHeatMassExchanger,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 64.45 kB / 1.117 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3392, allocations: 170 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.05358/0.3928, allocations: 42.5 MB / 1.325 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01647/0.4093, allocations: 10.44 MB / 1.335 GB, free: 6.613 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002099/0.4114, allocations: 79.31 kB / 1.335 GB, free: 6.535 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002043/0.4134, allocations: 0.6638 MB / 1.336 GB, free: 5.867 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00582/0.4192, allocations: 2.025 MB / 1.338 GB, free: 3.836 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003818/0.423, allocations: 1.231 MB / 1.339 GB, free: 2.613 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.006324/0.4294, allocations: 3.488 MB / 1.342 GB, free: 15.12 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001639/0.431, allocations: 0.8224 MB / 1.343 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003796/0.4348, allocations: 1.295 MB / 1.344 GB, free: 12.98 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001856/0.4367, allocations: 0.9411 MB / 1.345 GB, free: 12.04 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002218/0.4369, allocations: 104 kB / 1.345 GB, free: 11.94 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002403/0.4393, allocations: 0.9357 MB / 1.346 GB, free: 11 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003769/0.4397, allocations: 294.8 kB / 1.347 GB, free: 10.71 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0008827/0.4405, allocations: 0.626 MB / 1.347 GB, free: 10.08 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003565/0.4441, allocations: 1.981 MB / 1.349 GB, free: 8.094 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.4441, allocations: 0 / 1.349 GB, free: 8.094 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.013e-06/0.4441, allocations: 0 / 1.349 GB, free: 8.094 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.172e-05/0.4441, allocations: 0 / 1.349 GB, free: 8.094 MB / 1.045 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.002891/0.447, allocations: 1.485 MB / 1.351 GB, free: 6.57 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.4471, allocations: 12.03 kB / 1.351 GB, free: 6.559 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001658/0.4473, allocations: 114.7 kB / 1.351 GB, free: 6.438 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004132/0.4477, allocations: 140.1 kB / 1.351 GB, free: 6.301 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002081/0.4498, allocations: 1.048 MB / 1.352 GB, free: 5.219 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.625e-05/0.4498, allocations: 54 kB / 1.352 GB, free: 5.164 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.4499, allocations: 72 kB / 1.352 GB, free: 5.094 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.4514, allocations: 0.7944 MB / 1.353 GB, free: 4.266 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/0.4514, allocations: 0 / 1.353 GB, free: 4.266 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.699e-05/0.4515, allocations: 28 kB / 1.353 GB, free: 4.238 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.184e-05/0.4515, allocations: 16 kB / 1.353 GB, free: 4.223 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.4526, allocations: 0.575 MB / 1.353 GB, free: 3.648 MB / 1.045 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.004704/0.4573, allocations: 3.48 MB / 1.357 GB, free: 15.95 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006193/0.458, allocations: 249 kB / 1.357 GB, free: 15.7 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003455/0.4583, allocations: 168.7 kB / 1.357 GB, free: 15.54 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002601/0.4586, allocations: 56.48 kB / 1.357 GB, free: 15.48 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.4586, allocations: 42.56 kB / 1.357 GB, free: 15.43 MB / 1.061 GB Notification: Performance of pre-optimization done (n=31): time 2.384e-06/0.4586, allocations: 3.938 kB / 1.357 GB, free: 15.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=31): time 0.001278/0.4599, allocations: 0.5202 MB / 1.358 GB, free: 14.9 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.105e-05/0.4599, allocations: 55.41 kB / 1.358 GB, free: 14.83 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.4612, allocations: 0.9612 MB / 1.359 GB, free: 13.85 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.953e-05/0.4613, allocations: 33.7 kB / 1.359 GB, free: 13.81 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004628/0.4618, allocations: 0.4966 MB / 1.359 GB, free: 13.31 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.4619, allocations: 126.9 kB / 1.359 GB, free: 13.18 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/0.4621, allocations: 114.3 kB / 1.36 GB, free: 13.07 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.4622, allocations: 325.9 kB / 1.36 GB, free: 12.74 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003668/0.4626, allocations: 173.1 kB / 1.36 GB, free: 12.57 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005219/0.4631, allocations: 351.8 kB / 1.36 GB, free: 12.16 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008842/0.464, allocations: 0.5108 MB / 1.361 GB, free: 11.57 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.464, allocations: 0 / 1.361 GB, free: 11.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001291/0.4653, allocations: 0.6181 MB / 1.361 GB, free: 10.95 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.4653, allocations: 8.062 kB / 1.362 GB, free: 10.94 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.4653, allocations: 8 kB / 1.362 GB, free: 10.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.654e-05/0.4654, allocations: 11.98 kB / 1.362 GB, free: 10.92 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004555/0.4658, allocations: 127.8 kB / 1.362 GB, free: 10.8 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/0.4658, allocations: 8.062 kB / 1.362 GB, free: 10.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006342/0.4665, allocations: 87.48 kB / 1.362 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.346e-05/0.4665, allocations: 31.92 kB / 1.362 GB, free: 10.67 MB / 1.061 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.0004534/0.467, allocations: 273.6 kB / 1.362 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001933/0.4672, allocations: 103.3 kB / 1.362 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.4682, allocations: 498 kB / 1.363 GB, free: 9.797 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.4682, allocations: 4 kB / 1.363 GB, free: 9.793 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.4682, allocations: 0 / 1.363 GB, free: 9.793 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007653/0.469, allocations: 465 kB / 1.363 GB, free: 9.309 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002315/0.4713, allocations: 1.338 MB / 1.364 GB, free: 7.902 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.4713, allocations: 4 kB / 1.364 GB, free: 7.898 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003533/0.4717, allocations: 79.81 kB / 1.364 GB, free: 7.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.4717, allocations: 0 / 1.364 GB, free: 7.82 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.4717, allocations: 8 kB / 1.364 GB, free: 7.812 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.4717, allocations: 4 kB / 1.364 GB, free: 7.809 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.4717, allocations: 4.156 kB / 1.364 GB, free: 7.805 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.4732, allocations: 0.7772 MB / 1.365 GB, free: 7 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004166/0.4736, allocations: 167 kB / 1.365 GB, free: 6.836 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.4737, allocations: 8 kB / 1.365 GB, free: 6.828 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004908/0.4742, allocations: 27.97 kB / 1.365 GB, free: 6.801 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.67e-05/0.4743, allocations: 28.02 kB / 1.365 GB, free: 6.773 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.145e-05/0.4743, allocations: 19.98 kB / 1.365 GB, free: 6.754 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009839/0.4753, allocations: 0.6627 MB / 1.366 GB, free: 6.082 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4753, allocations: 0 / 1.366 GB, free: 6.082 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001141/0.4764, allocations: 339.3 kB / 1.366 GB, free: 5.75 MB / 1.061 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.002394/0.4788, allocations: 1.581 MB / 1.368 GB, free: 4.129 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001018/0.4799, allocations: 411.8 kB / 1.368 GB, free: 3.727 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.4799, allocations: 5.312 kB / 1.368 GB, free: 3.723 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003993/0.4803, allocations: 184.8 kB / 1.369 GB, free: 3.543 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002829/0.4831, allocations: 0.5991 MB / 1.369 GB, free: 2.953 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/0.494, allocations: 6.862 MB / 1.376 GB, free: 11.8 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007839/0.4948, allocations: 1.036 MB / 1.377 GB, free: 10.73 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0008913/0.4957, allocations: 204.6 kB / 1.377 GB, free: 10.53 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00054/0.4963, allocations: 371.3 kB / 1.377 GB, free: 10.17 MB / 1.076 GB Notification: Performance of SimCode: time 9.82e-07/0.4963, allocations: 0 / 1.377 GB, free: 10.17 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08133/0.5776, allocations: 30.24 MB / 1.407 GB, free: 12.34 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.2/14.78, allocations: 4.062 kB / 1.407 GB, free: 12.34 MB / 1.107 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 21.356336480006576]