Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008182/0.008181, allocations: 101.1 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002089/0.00209, allocations: 195.8 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.698/2.698, allocations: 437 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 71.88 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3628, allocations: 151.6 MB / 1.166 GB, free: 7.281 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08586/0.4487, allocations: 77.17 MB / 1.242 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6789/1.128, allocations: 18.88 MB / 1.26 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004182/1.132, allocations: 109.9 kB / 1.26 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003665/1.136, allocations: 1.243 MB / 1.261 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01328/1.149, allocations: 3.631 MB / 1.265 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006587/1.156, allocations: 2.094 MB / 1.267 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01456/1.17, allocations: 6.672 MB / 1.273 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005975/1.176, allocations: 2.091 MB / 1.275 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007843/1.184, allocations: 2.312 MB / 1.278 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005107/1.189, allocations: 1.763 MB / 1.279 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001131/1.19, allocations: 198.7 kB / 1.28 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006946/1.197, allocations: 1.62 MB / 1.281 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001399/1.199, allocations: 0.539 MB / 1.282 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003896/1.203, allocations: 1.249 MB / 1.283 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008134/1.211, allocations: 3.742 MB / 1.287 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/1.211, allocations: 1.125 kB / 1.287 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.497e-06/1.211, allocations: 0.6094 kB / 1.287 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.098e-05/1.211, allocations: 0 / 1.287 GB, free: 2.527 MB / 0.9981 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.005643/1.216, allocations: 2.785 MB / 1.289 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/1.217, allocations: 9.594 kB / 1.289 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002746/1.217, allocations: 204.7 kB / 1.29 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007431/1.218, allocations: 277.3 kB / 1.29 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003437/1.221, allocations: 2.049 MB / 1.292 GB, free: 464 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.855e-05/1.221, allocations: 104.4 kB / 1.292 GB, free: 416 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002179/1.221, allocations: 148.8 kB / 1.292 GB, free: 364 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003173/1.225, allocations: 1.523 MB / 1.294 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.032e-05/1.225, allocations: 2.312 kB / 1.294 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001535/1.225, allocations: 56 kB / 1.294 GB, free: 15.6 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.695e-05/1.225, allocations: 41.67 kB / 1.294 GB, free: 15.6 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002519/1.227, allocations: 1.127 MB / 1.295 GB, free: 15.2 MB / 1.014 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.01099/1.238, allocations: 7.62 MB / 1.302 GB, free: 9.477 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/1.239, allocations: 479.4 kB / 1.303 GB, free: 9.309 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000733/1.24, allocations: 338.4 kB / 1.303 GB, free: 9.195 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001111/1.241, allocations: 1.154 MB / 1.304 GB, free: 7.863 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.272e-05/1.241, allocations: 43.36 kB / 1.304 GB, free: 7.816 MB / 1.014 GB Notification: Performance of pre-optimization done (n=59): time 2.875e-06/1.241, allocations: 0 / 1.304 GB, free: 7.816 MB / 1.014 GB Notification: Performance of matching and sorting (n=59): time 0.002649/1.244, allocations: 0.9678 MB / 1.305 GB, free: 7.457 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/1.244, allocations: 59.05 kB / 1.305 GB, free: 7.395 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002672/1.247, allocations: 1.791 MB / 1.307 GB, free: 6.672 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.13e-05/1.247, allocations: 39.11 kB / 1.307 GB, free: 6.633 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009338/1.248, allocations: 0.9451 MB / 1.308 GB, free: 5.887 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002846/1.248, allocations: 230.4 kB / 1.308 GB, free: 5.715 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003526/1.248, allocations: 221.5 kB / 1.308 GB, free: 5.605 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001749/1.249, allocations: 356.6 kB / 1.309 GB, free: 5.273 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007183/1.249, allocations: 333.8 kB / 1.309 GB, free: 5.168 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/1.25, allocations: 0.6841 MB / 1.31 GB, free: 4.625 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001746/1.252, allocations: 1.014 MB / 1.311 GB, free: 3.938 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-06/1.252, allocations: 7.406 kB / 1.311 GB, free: 3.934 MB / 1.014 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002531/1.255, allocations: 1.229 MB / 1.312 GB, free: 3.449 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/1.255, allocations: 9.031 kB / 1.312 GB, free: 3.449 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/1.255, allocations: 9.812 kB / 1.312 GB, free: 3.449 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.413e-05/1.255, allocations: 19.48 kB / 1.312 GB, free: 3.445 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/1.256, allocations: 283.7 kB / 1.312 GB, free: 3.422 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.239e-05/1.256, allocations: 26.53 kB / 1.312 GB, free: 3.414 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/1.258, allocations: 168.4 kB / 1.312 GB, free: 3.316 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/1.258, allocations: 52.11 kB / 1.312 GB, free: 3.309 MB / 1.014 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.0009703/1.259, allocations: 441.8 kB / 1.313 GB, free: 3.008 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003843/1.259, allocations: 200.7 kB / 1.313 GB, free: 2.902 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001813/1.261, allocations: 0.8675 MB / 1.314 GB, free: 2.562 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/1.261, allocations: 5.875 kB / 1.314 GB, free: 2.562 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/1.261, allocations: 4 kB / 1.314 GB, free: 2.559 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00137/1.262, allocations: 0.7924 MB / 1.315 GB, free: 2.129 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004496/1.267, allocations: 2.455 MB / 1.317 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/1.267, allocations: 1.531 kB / 1.317 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007651/1.268, allocations: 189 kB / 1.317 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/1.268, allocations: 4.656 kB / 1.317 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.752e-05/1.268, allocations: 18.38 kB / 1.317 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.081e-05/1.268, allocations: 7.812 kB / 1.317 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/1.268, allocations: 2.719 kB / 1.317 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002692/1.27, allocations: 1.342 MB / 1.318 GB, free: 280 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009124/1.271, allocations: 376.1 kB / 1.319 GB, free: 0 / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002567/1.272, allocations: 14.08 kB / 1.319 GB, free: 0 / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009827/1.273, allocations: 75.2 kB / 1.319 GB, free: 15.97 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/1.273, allocations: 46.77 kB / 1.319 GB, free: 15.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.752e-05/1.273, allocations: 33.59 kB / 1.319 GB, free: 15.96 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002105/1.275, allocations: 1.246 MB / 1.32 GB, free: 15.46 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.275, allocations: 0 / 1.32 GB, free: 15.46 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002256/1.277, allocations: 0.6564 MB / 1.321 GB, free: 15.3 MB / 1.029 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.004338/1.282, allocations: 2.417 MB / 1.323 GB, free: 13.98 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002143/1.284, allocations: 0.8188 MB / 1.324 GB, free: 13.74 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/1.284, allocations: 1.062 kB / 1.324 GB, free: 13.74 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00078/1.285, allocations: 359.2 kB / 1.324 GB, free: 13.63 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005349/1.29, allocations: 1.2 MB / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02036/1.31, allocations: 12.61 MB / 1.338 GB, free: 7 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/1.311, allocations: 1.408 MB / 1.339 GB, free: 6.211 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.00164/1.313, allocations: 375.1 kB / 1.34 GB, free: 6.125 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001024/1.314, allocations: 0.7701 MB / 1.34 GB, free: 5.543 MB / 1.029 GB Notification: Performance of SimCode: time 7.21e-07/1.314, allocations: 0 / 1.34 GB, free: 5.543 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1111/1.425, allocations: 57.6 MB / 1.397 GB, free: 2.434 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/13.89, allocations: 7.938 kB / 1.397 GB, free: 2.426 MB / 1.076 GB (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_10_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches