Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001605/0.001605, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001722/0.001722, allocations: 217.6 kB / 23.03 MB, free: 4.922 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.42/1.42, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.165/3.165, allocations: 0.49 GB / 0.7959 GB, free: 35.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.EightPortHeatMassExchanger,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_12_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.001928/0.001928, allocations: 60.67 kB / 1.155 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.353, allocations: 176.1 MB / 1.327 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07773/0.4308, allocations: 71.07 MB / 1.396 GB, free: 10.13 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02758/0.4583, allocations: 17.54 MB / 1.413 GB, free: 8.559 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004057/0.4624, allocations: 154.7 kB / 1.413 GB, free: 8.406 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004118/0.4665, allocations: 1.246 MB / 1.415 GB, free: 7.152 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01229/0.4788, allocations: 3.893 MB / 1.418 GB, free: 3.246 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00668/0.4855, allocations: 2.163 MB / 1.42 GB, free: 1.098 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0107/0.4962, allocations: 6.86 MB / 1.427 GB, free: 10.22 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002987/0.4992, allocations: 1.588 MB / 1.429 GB, free: 8.59 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006804/0.506, allocations: 2.755 MB / 1.431 GB, free: 5.836 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003783/0.5098, allocations: 1.836 MB / 1.433 GB, free: 3.992 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0007081/0.5105, allocations: 200 kB / 1.433 GB, free: 3.797 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004243/0.5147, allocations: 1.349 MB / 1.435 GB, free: 2.445 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001026/0.5157, allocations: 0.564 MB / 1.435 GB, free: 1.879 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002341/0.5181, allocations: 1.007 MB / 1.436 GB, free: 0.8672 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.007629/0.5257, allocations: 3.803 MB / 1.44 GB, free: 13.05 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 9.889e-06/0.5257, allocations: 4 kB / 1.44 GB, free: 13.05 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5257, allocations: 0 / 1.44 GB, free: 13.05 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001194/0.5258, allocations: 4 kB / 1.44 GB, free: 13.04 MB / 1.139 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.006525/0.5324, allocations: 2.715 MB / 1.443 GB, free: 10.28 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.5324, allocations: 8.031 kB / 1.443 GB, free: 10.27 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.275e-05/0.5325, allocations: 42.89 kB / 1.443 GB, free: 10.23 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004562/0.5329, allocations: 206.8 kB / 1.443 GB, free: 10.02 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.5339, allocations: 279.1 kB / 1.443 GB, free: 9.742 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004549/0.5385, allocations: 1.976 MB / 1.445 GB, free: 7.723 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.5386, allocations: 102.7 kB / 1.445 GB, free: 7.621 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003593/0.539, allocations: 140 kB / 1.445 GB, free: 7.484 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003607/0.5426, allocations: 1.825 MB / 1.447 GB, free: 5.508 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.778e-05/0.5426, allocations: 0 / 1.447 GB, free: 5.508 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001771/0.5428, allocations: 60 kB / 1.447 GB, free: 5.449 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.243e-05/0.5429, allocations: 43.98 kB / 1.447 GB, free: 5.406 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002391/0.5453, allocations: 1.126 MB / 1.448 GB, free: 4.273 MB / 1.139 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.009068/0.5543, allocations: 5.343 MB / 1.453 GB, free: 14.77 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.5554, allocations: 445.1 kB / 1.454 GB, free: 14.33 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000652/0.556, allocations: 307.3 kB / 1.454 GB, free: 14.03 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004344/0.5565, allocations: 112.4 kB / 1.454 GB, free: 13.92 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.837e-05/0.5565, allocations: 47 kB / 1.454 GB, free: 13.86 MB / 1.154 GB Notification: Performance of pre-optimization done (n=59): time 3.287e-06/0.5565, allocations: 0 / 1.454 GB, free: 13.86 MB / 1.154 GB Notification: Performance of matching and sorting (n=59): time 0.002526/0.559, allocations: 0.9682 MB / 1.455 GB, free: 12.89 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.5591, allocations: 59.91 kB / 1.455 GB, free: 12.82 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002965/0.5621, allocations: 1.803 MB / 1.457 GB, free: 10.98 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001341/0.5622, allocations: 41.7 kB / 1.457 GB, free: 10.93 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009418/0.5631, allocations: 0.9491 MB / 1.458 GB, free: 9.973 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002906/0.5634, allocations: 226.1 kB / 1.458 GB, free: 9.75 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003646/0.5638, allocations: 238.7 kB / 1.458 GB, free: 9.512 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.564, allocations: 349.9 kB / 1.459 GB, free: 9.164 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007282/0.5647, allocations: 326.4 kB / 1.459 GB, free: 8.844 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/0.5659, allocations: 0.966 MB / 1.46 GB, free: 7.656 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001779/0.5677, allocations: 1.021 MB / 1.461 GB, free: 6.5 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/0.5677, allocations: 4 kB / 1.461 GB, free: 6.496 MB / 1.154 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002607/0.5703, allocations: 1.226 MB / 1.462 GB, free: 5.262 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/0.5704, allocations: 12 kB / 1.462 GB, free: 5.25 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.5704, allocations: 8.875 kB / 1.462 GB, free: 5.242 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.523e-05/0.5704, allocations: 16 kB / 1.462 GB, free: 5.227 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.5714, allocations: 291.5 kB / 1.463 GB, free: 4.941 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.469e-05/0.5715, allocations: 23.92 kB / 1.463 GB, free: 4.918 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.5728, allocations: 170.9 kB / 1.463 GB, free: 4.75 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.495e-05/0.5729, allocations: 51.98 kB / 1.463 GB, free: 4.699 MB / 1.154 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.000796/0.5737, allocations: 445.3 kB / 1.463 GB, free: 4.254 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005059/0.5742, allocations: 198.7 kB / 1.463 GB, free: 4.059 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/0.5761, allocations: 0.8739 MB / 1.464 GB, free: 3.18 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/0.5761, allocations: 12 kB / 1.464 GB, free: 3.168 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.5761, allocations: 0 / 1.464 GB, free: 3.168 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001358/0.5775, allocations: 0.8095 MB / 1.465 GB, free: 2.309 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00476/0.5823, allocations: 2.231 MB / 1.467 GB, free: 15.99 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.968e-06/0.5823, allocations: 4 kB / 1.467 GB, free: 15.99 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007939/0.5831, allocations: 176 kB / 1.467 GB, free: 15.82 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.474e-05/0.5831, allocations: 8 kB / 1.467 GB, free: 15.81 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.252e-05/0.5831, allocations: 19.92 kB / 1.467 GB, free: 15.79 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/0.5831, allocations: 7.938 kB / 1.467 GB, free: 15.79 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.5831, allocations: 8 kB / 1.467 GB, free: 15.78 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002671/0.5858, allocations: 1.367 MB / 1.469 GB, free: 14.37 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008875/0.5867, allocations: 294.4 kB / 1.469 GB, free: 14.08 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004114/0.5871, allocations: 16 kB / 1.469 GB, free: 14.06 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.5882, allocations: 63.92 kB / 1.469 GB, free: 14 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.5884, allocations: 48.41 kB / 1.469 GB, free: 13.95 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-05/0.5885, allocations: 39.91 kB / 1.469 GB, free: 13.91 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002175/0.5906, allocations: 1.255 MB / 1.47 GB, free: 12.64 MB / 1.17 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5906, allocations: 0 / 1.47 GB, free: 12.64 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002045/0.5927, allocations: 0.6588 MB / 1.471 GB, free: 11.98 MB / 1.17 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.004066/0.5968, allocations: 2.4 MB / 1.473 GB, free: 9.531 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001873/0.5986, allocations: 0.7842 MB / 1.474 GB, free: 8.746 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.5986, allocations: 1.25 kB / 1.474 GB, free: 8.746 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0007446/0.5994, allocations: 347 kB / 1.475 GB, free: 8.41 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005706/0.6051, allocations: 1.202 MB / 1.476 GB, free: 7.227 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02341/0.6285, allocations: 12.69 MB / 1.488 GB, free: 10.03 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001206/0.6297, allocations: 0.8359 MB / 1.489 GB, free: 9.152 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001647/0.6313, allocations: 376.8 kB / 1.489 GB, free: 8.789 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00119/0.6325, allocations: 0.7726 MB / 1.49 GB, free: 8.016 MB / 1.186 GB Notification: Performance of SimCode: time 1.202e-06/0.6325, allocations: 4 kB / 1.49 GB, free: 8.012 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1138/0.7464, allocations: 62.63 MB / 1.551 GB, free: 10.5 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.87/15.61, allocations: 4.062 kB / 1.551 GB, free: 10.49 MB / 1.248 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.66338805097621]