Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001349/0.001349, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001557/0.001557, allocations: 216.7 kB / 23.03 MB, free: 4.945 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.394/1.394, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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 3.08/3.08, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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.EightPortHeatMassExchanger,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="cs",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.001914/0.001914, allocations: 66.91 kB / 1.17 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3404, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07985/0.4203, allocations: 71.07 MB / 1.415 GB, free: 8.625 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02748/0.4478, allocations: 17.54 MB / 1.432 GB, free: 7.043 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00371/0.4515, allocations: 150.7 kB / 1.432 GB, free: 6.895 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.00396/0.4554, allocations: 1.246 MB / 1.433 GB, free: 5.641 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01089/0.4663, allocations: 3.882 MB / 1.437 GB, free: 1.742 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.005347/0.4717, allocations: 2.168 MB / 1.439 GB, free: 15.59 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.009956/0.4816, allocations: 6.858 MB / 1.446 GB, free: 8.715 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00404/0.4857, allocations: 1.591 MB / 1.447 GB, free: 7.078 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007199/0.4929, allocations: 2.763 MB / 1.45 GB, free: 4.316 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003769/0.4966, allocations: 1.832 MB / 1.452 GB, free: 2.477 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0005681/0.4972, allocations: 200 kB / 1.452 GB, free: 2.281 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004097/0.5013, allocations: 1.341 MB / 1.453 GB, free: 0.9375 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0007904/0.5021, allocations: 0.5679 MB / 1.454 GB, free: 376 kB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001872/0.504, allocations: 1.011 MB / 1.455 GB, free: 15.35 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.006874/0.5108, allocations: 3.803 MB / 1.459 GB, free: 11.54 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.5108, allocations: 3.938 kB / 1.459 GB, free: 11.53 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.405e-06/0.5109, allocations: 3.938 kB / 1.459 GB, free: 11.53 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.252e-05/0.5109, allocations: 0 / 1.459 GB, free: 11.53 MB / 1.154 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.004905/0.5158, allocations: 2.707 MB / 1.461 GB, free: 8.77 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.5159, allocations: 12.03 kB / 1.461 GB, free: 8.758 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.858e-05/0.5159, allocations: 38.89 kB / 1.461 GB, free: 8.719 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002484/0.5162, allocations: 202.8 kB / 1.461 GB, free: 8.512 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007579/0.5169, allocations: 283 kB / 1.462 GB, free: 8.234 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003692/0.5206, allocations: 1.976 MB / 1.464 GB, free: 6.215 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.401e-05/0.5207, allocations: 106.7 kB / 1.464 GB, free: 6.109 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002219/0.5209, allocations: 144 kB / 1.464 GB, free: 5.969 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003006/0.524, allocations: 1.818 MB / 1.466 GB, free: 4 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.609e-05/0.524, allocations: 7.953 kB / 1.466 GB, free: 3.992 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/0.5241, allocations: 63.92 kB / 1.466 GB, free: 3.93 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-05/0.5242, allocations: 40 kB / 1.466 GB, free: 3.891 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00228/0.5265, allocations: 1.13 MB / 1.467 GB, free: 2.754 MB / 1.154 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.008275/0.5347, allocations: 5.336 MB / 1.472 GB, free: 13.27 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009963/0.5357, allocations: 437 kB / 1.473 GB, free: 12.83 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006295/0.5364, allocations: 304.5 kB / 1.473 GB, free: 12.53 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004008/0.5368, allocations: 112.4 kB / 1.473 GB, free: 12.42 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.731e-05/0.5368, allocations: 55.09 kB / 1.473 GB, free: 12.36 MB / 1.17 GB Notification: Performance of pre-optimization done (n=59): time 3.427e-06/0.5368, allocations: 0 / 1.473 GB, free: 12.36 MB / 1.17 GB Notification: Performance of matching and sorting (n=59): time 0.002432/0.5393, allocations: 0.9643 MB / 1.474 GB, free: 11.39 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.5393, allocations: 59.91 kB / 1.474 GB, free: 11.32 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002557/0.5419, allocations: 1.799 MB / 1.476 GB, free: 9.484 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.653e-05/0.542, allocations: 41.7 kB / 1.476 GB, free: 9.438 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008976/0.5429, allocations: 0.9568 MB / 1.477 GB, free: 8.473 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.000256/0.5431, allocations: 234 kB / 1.477 GB, free: 8.242 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003231/0.5434, allocations: 226.8 kB / 1.477 GB, free: 8.016 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.5436, allocations: 345.9 kB / 1.477 GB, free: 7.672 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006975/0.5443, allocations: 330.4 kB / 1.478 GB, free: 7.348 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/0.5455, allocations: 0.9738 MB / 1.479 GB, free: 6.148 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001689/0.5472, allocations: 1.009 MB / 1.48 GB, free: 5.004 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.687e-06/0.5472, allocations: 4 kB / 1.48 GB, free: 5 MB / 1.17 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002406/0.5496, allocations: 1.226 MB / 1.481 GB, free: 3.762 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.5497, allocations: 12.88 kB / 1.481 GB, free: 3.75 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.5497, allocations: 8 kB / 1.481 GB, free: 3.742 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.915e-05/0.5497, allocations: 16 kB / 1.481 GB, free: 3.727 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.5507, allocations: 295.5 kB / 1.481 GB, free: 3.438 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.257e-05/0.5507, allocations: 23.88 kB / 1.481 GB, free: 3.414 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.5519, allocations: 174.9 kB / 1.481 GB, free: 3.242 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.058e-05/0.552, allocations: 51.98 kB / 1.481 GB, free: 3.191 MB / 1.17 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.0007458/0.5527, allocations: 445.3 kB / 1.482 GB, free: 2.746 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003451/0.5531, allocations: 202.7 kB / 1.482 GB, free: 2.547 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001793/0.5549, allocations: 0.8775 MB / 1.483 GB, free: 1.668 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.71e-05/0.5549, allocations: 8 kB / 1.483 GB, free: 1.66 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.5549, allocations: 0 / 1.483 GB, free: 1.66 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001347/0.5562, allocations: 0.8018 MB / 1.484 GB, free: 0.8125 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004019/0.5603, allocations: 2.242 MB / 1.486 GB, free: 14.48 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.5603, allocations: 4 kB / 1.486 GB, free: 14.48 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000772/0.561, allocations: 180 kB / 1.486 GB, free: 14.3 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/0.5611, allocations: 4 kB / 1.486 GB, free: 14.3 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.158e-05/0.5611, allocations: 16 kB / 1.486 GB, free: 14.28 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.025e-05/0.5611, allocations: 11.92 kB / 1.486 GB, free: 14.27 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.5611, allocations: 0 / 1.486 GB, free: 14.27 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002522/0.5637, allocations: 1.367 MB / 1.487 GB, free: 12.86 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007427/0.5644, allocations: 294.4 kB / 1.488 GB, free: 12.57 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002402/0.5646, allocations: 20 kB / 1.488 GB, free: 12.55 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009452/0.5656, allocations: 59.92 kB / 1.488 GB, free: 12.5 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.5657, allocations: 52.41 kB / 1.488 GB, free: 12.44 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.367e-05/0.5658, allocations: 35.91 kB / 1.488 GB, free: 12.41 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001823/0.5676, allocations: 1.255 MB / 1.489 GB, free: 11.13 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5676, allocations: 0 / 1.489 GB, free: 11.13 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001837/0.5694, allocations: 0.6626 MB / 1.49 GB, free: 10.47 MB / 1.186 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.003746/0.5732, allocations: 2.396 MB / 1.492 GB, free: 8.023 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001718/0.5749, allocations: 0.7802 MB / 1.493 GB, free: 7.25 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.5749, allocations: 1.375 kB / 1.493 GB, free: 7.25 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0007004/0.5756, allocations: 339.1 kB / 1.493 GB, free: 6.922 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004844/0.5805, allocations: 1.204 MB / 1.494 GB, free: 5.734 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01978/0.6002, allocations: 12.7 MB / 1.507 GB, free: 8.512 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009081/0.6011, allocations: 0.832 MB / 1.508 GB, free: 7.641 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001505/0.6026, allocations: 377.8 kB / 1.508 GB, free: 7.273 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/0.6037, allocations: 0.7648 MB / 1.509 GB, free: 6.508 MB / 1.201 GB Notification: Performance of SimCode: time 9.82e-07/0.6037, allocations: 4 kB / 1.509 GB, free: 6.504 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1098/0.7135, allocations: 62.61 MB / 1.57 GB, free: 8.914 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.12/15.84, allocations: 15.11 kB / 1.57 GB, free: 8.902 MB / 1.264 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 22.672834731987678]