Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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.001819/0.001819, allocations: 105.8 kB / 16.45 MB, free: 6.445 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.002022/0.002022, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.445/1.445, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.666/2.666, allocations: 476.7 MB / 0.7611 GB, free: 15.7 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.EightPortHeatMassExchanger,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002139/0.002139, allocations: 67.89 kB / 1.104 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9883/0.9904, allocations: 168.7 MB / 1.269 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08229/1.073, allocations: 77.73 MB / 1.345 GB, free: 36 kB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.03136/1.104, allocations: 18.92 MB / 1.363 GB, free: 2.426 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004911/1.109, allocations: 109.5 kB / 1.363 GB, free: 2.387 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004233/1.113, allocations: 1.302 MB / 1.365 GB, free: 1.613 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01194/1.125, allocations: 3.815 MB / 1.368 GB, free: 15.35 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006274/1.131, allocations: 2.115 MB / 1.37 GB, free: 14.16 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01085/1.142, allocations: 6.675 MB / 1.377 GB, free: 10.34 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003402/1.146, allocations: 1.697 MB / 1.378 GB, free: 9.152 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006558/1.152, allocations: 2.371 MB / 1.381 GB, free: 7.758 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003759/1.156, allocations: 1.862 MB / 1.383 GB, free: 6.617 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000593/1.157, allocations: 199.6 kB / 1.383 GB, free: 6.617 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005522/1.162, allocations: 1.665 MB / 1.384 GB, free: 5.723 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0009536/1.163, allocations: 0.5704 MB / 1.385 GB, free: 5.266 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002706/1.166, allocations: 1.254 MB / 1.386 GB, free: 4.441 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.007906/1.174, allocations: 3.737 MB / 1.39 GB, free: 1.969 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/1.174, allocations: 0.8125 kB / 1.39 GB, free: 1.969 MB / 1.076 GB Notification: Performance of FrontEnd: time 9.82e-07/1.174, allocations: 4 kB / 1.39 GB, free: 1.965 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.416e-05/1.174, allocations: 1.094 kB / 1.39 GB, free: 1.965 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.005908/1.18, allocations: 2.793 MB / 1.393 GB, free: 15.87 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/1.18, allocations: 9.688 kB / 1.393 GB, free: 15.87 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002713/1.18, allocations: 201.8 kB / 1.393 GB, free: 15.71 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008547/1.181, allocations: 276 kB / 1.393 GB, free: 15.58 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004122/1.185, allocations: 2.035 MB / 1.395 GB, free: 14.04 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.279e-05/1.185, allocations: 109.5 kB / 1.395 GB, free: 13.99 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002404/1.185, allocations: 147 kB / 1.395 GB, free: 13.94 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00282/1.188, allocations: 1.519 MB / 1.397 GB, free: 12.97 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.853e-05/1.188, allocations: 6.062 kB / 1.397 GB, free: 12.97 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/1.188, allocations: 58.84 kB / 1.397 GB, free: 12.93 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.919e-05/1.188, allocations: 47.73 kB / 1.397 GB, free: 12.91 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002358/1.191, allocations: 1.12 MB / 1.398 GB, free: 12.35 MB / 1.092 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.01064/1.201, allocations: 7.616 MB / 1.405 GB, free: 5.492 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009961/1.202, allocations: 450.4 kB / 1.406 GB, free: 5.266 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006272/1.203, allocations: 310.7 kB / 1.406 GB, free: 5.113 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/1.204, allocations: 1.144 MB / 1.407 GB, free: 3.77 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.925e-05/1.204, allocations: 43.7 kB / 1.407 GB, free: 3.723 MB / 1.092 GB Notification: Performance of pre-optimization done (n=59): time 2.574e-06/1.204, allocations: 0 / 1.407 GB, free: 3.723 MB / 1.092 GB Notification: Performance of matching and sorting (n=59): time 0.002445/1.207, allocations: 0.973 MB / 1.408 GB, free: 3.242 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/1.207, allocations: 69.64 kB / 1.408 GB, free: 3.168 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002654/1.209, allocations: 1.788 MB / 1.41 GB, free: 2.176 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.000135/1.209, allocations: 39.2 kB / 1.41 GB, free: 2.137 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009503/1.21, allocations: 0.9521 MB / 1.411 GB, free: 1.293 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002629/1.211, allocations: 228 kB / 1.411 GB, free: 1.098 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000328/1.211, allocations: 224.9 kB / 1.411 GB, free: 0.9648 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000211/1.211, allocations: 348.3 kB / 1.412 GB, free: 0.6289 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006992/1.212, allocations: 332.8 kB / 1.412 GB, free: 480 kB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/1.213, allocations: 0.6831 MB / 1.413 GB, free: 15.86 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001705/1.215, allocations: 1.02 MB / 1.414 GB, free: 15.07 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/1.215, allocations: 3.094 kB / 1.414 GB, free: 15.07 MB / 1.107 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002531/1.217, allocations: 1.225 MB / 1.415 GB, free: 14.29 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/1.217, allocations: 8.875 kB / 1.415 GB, free: 14.29 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/1.217, allocations: 8 kB / 1.415 GB, free: 14.28 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.679e-05/1.217, allocations: 23.94 kB / 1.415 GB, free: 14.25 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/1.218, allocations: 291.5 kB / 1.415 GB, free: 13.97 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.453e-05/1.218, allocations: 23.92 kB / 1.415 GB, free: 13.95 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/1.22, allocations: 170.9 kB / 1.415 GB, free: 13.78 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-05/1.22, allocations: 51.98 kB / 1.416 GB, free: 13.73 MB / 1.107 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.0008366/1.221, allocations: 437.4 kB / 1.416 GB, free: 13.29 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005175/1.221, allocations: 198.7 kB / 1.416 GB, free: 13.09 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001926/1.223, allocations: 0.8676 MB / 1.417 GB, free: 12.21 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.836e-05/1.223, allocations: 15.92 kB / 1.417 GB, free: 12.2 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.223, allocations: 0 / 1.417 GB, free: 12.2 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001375/1.225, allocations: 0.7918 MB / 1.418 GB, free: 11.36 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004738/1.229, allocations: 2.451 MB / 1.42 GB, free: 8.812 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/1.229, allocations: 3.984 kB / 1.42 GB, free: 8.809 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008298/1.23, allocations: 179.7 kB / 1.42 GB, free: 8.633 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.121e-05/1.23, allocations: 8.234 kB / 1.42 GB, free: 8.625 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.263e-05/1.23, allocations: 20 kB / 1.42 GB, free: 8.605 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/1.23, allocations: 4 kB / 1.42 GB, free: 8.602 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/1.23, allocations: 7.938 kB / 1.42 GB, free: 8.594 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002653/1.233, allocations: 1.349 MB / 1.422 GB, free: 7.199 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009947/1.234, allocations: 375.5 kB / 1.422 GB, free: 6.812 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000315/1.234, allocations: 16 kB / 1.422 GB, free: 6.797 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000965/1.235, allocations: 59.92 kB / 1.422 GB, free: 6.738 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/1.235, allocations: 60.36 kB / 1.422 GB, free: 6.68 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.122e-05/1.235, allocations: 31.98 kB / 1.422 GB, free: 6.648 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001912/1.237, allocations: 1.243 MB / 1.423 GB, free: 5.387 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/1.237, allocations: 0 / 1.423 GB, free: 5.387 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002107/1.239, allocations: 0.6548 MB / 1.424 GB, free: 4.73 MB / 1.107 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.00427/1.244, allocations: 2.411 MB / 1.426 GB, free: 2.289 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.00186/1.245, allocations: 0.7766 MB / 1.427 GB, free: 1.512 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/1.245, allocations: 0 / 1.427 GB, free: 1.512 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0007148/1.246, allocations: 336.4 kB / 1.427 GB, free: 1.184 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00565/1.252, allocations: 1.203 MB / 1.429 GB, free: 4 kB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02183/1.274, allocations: 12.63 MB / 1.441 GB, free: 2.855 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001159/1.275, allocations: 1.412 MB / 1.442 GB, free: 1.406 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001519/1.276, allocations: 379.9 kB / 1.443 GB, free: 1.039 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001095/1.277, allocations: 0.7687 MB / 1.443 GB, free: 276 kB / 1.123 GB Notification: Performance of SimCode: time 9.81e-07/1.277, allocations: 0 / 1.443 GB, free: 276 kB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1096/1.387, allocations: 57.84 MB / 1.5 GB, free: 7.129 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/14.56, allocations: 15.78 kB / 1.5 GB, free: 7.117 MB / 1.186 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 20.685464545618743]