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.008221/0.008221, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001718/0.001718, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.539/2.539, allocations: 437 MB / 0.7105 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 67.89 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2815, 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.08116/0.3627, allocations: 77.17 MB / 1.242 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6815/1.044, allocations: 18.87 MB / 1.26 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005003/1.049, allocations: 112.4 kB / 1.26 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004333/1.054, allocations: 1.284 MB / 1.261 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01294/1.067, allocations: 3.817 MB / 1.265 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006515/1.073, allocations: 2.099 MB / 1.267 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01493/1.088, allocations: 6.685 MB / 1.274 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005555/1.094, allocations: 2.095 MB / 1.276 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008348/1.102, allocations: 2.376 MB / 1.278 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004848/1.107, allocations: 1.755 MB / 1.28 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009417/1.108, allocations: 199.8 kB / 1.28 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006827/1.115, allocations: 1.627 MB / 1.281 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001224/1.116, allocations: 0.5333 MB / 1.282 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003447/1.12, allocations: 1.246 MB / 1.283 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009222/1.129, allocations: 3.736 MB / 1.287 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/1.129, allocations: 0 / 1.287 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.144e-06/1.129, allocations: 0 / 1.287 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001052/1.129, allocations: 0 / 1.287 GB, free: 1.98 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.006931/1.136, allocations: 2.708 MB / 1.29 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/1.136, allocations: 11.39 kB / 1.29 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003082/1.136, allocations: 202.6 kB / 1.29 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/1.137, allocations: 275.9 kB / 1.29 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004463/1.142, allocations: 2.008 MB / 1.292 GB, free: 8 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/1.142, allocations: 106.1 kB / 1.292 GB, free: 4 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002597/1.142, allocations: 144.6 kB / 1.292 GB, free: 4 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003461/1.146, allocations: 1.522 MB / 1.294 GB, free: 15.36 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.414e-05/1.146, allocations: 2.5 kB / 1.294 GB, free: 15.36 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001609/1.146, allocations: 58.34 kB / 1.294 GB, free: 15.32 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.684e-05/1.146, allocations: 45.33 kB / 1.294 GB, free: 15.31 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002865/1.149, allocations: 1.123 MB / 1.295 GB, free: 14.92 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.01253/1.161, allocations: 7.604 MB / 1.302 GB, free: 9.207 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/1.163, allocations: 483.4 kB / 1.303 GB, free: 9.035 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007269/1.163, allocations: 334 kB / 1.303 GB, free: 8.93 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001063/1.164, allocations: 1.157 MB / 1.304 GB, free: 7.594 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.137e-05/1.164, allocations: 48.02 kB / 1.304 GB, free: 7.543 MB / 1.014 GB Notification: Performance of pre-optimization done (n=59): time 3.787e-06/1.164, allocations: 0 / 1.304 GB, free: 7.543 MB / 1.014 GB Notification: Performance of matching and sorting (n=59): time 0.003084/1.168, allocations: 0.9586 MB / 1.305 GB, free: 7.191 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/1.168, allocations: 62.22 kB / 1.305 GB, free: 7.129 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004002/1.172, allocations: 1.789 MB / 1.307 GB, free: 6.41 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001863/1.172, allocations: 38.98 kB / 1.307 GB, free: 6.371 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001036/1.173, allocations: 0.9315 MB / 1.308 GB, free: 5.641 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003124/1.173, allocations: 217.4 kB / 1.308 GB, free: 5.477 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004362/1.174, allocations: 232.3 kB / 1.308 GB, free: 5.359 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001434/1.174, allocations: 349 kB / 1.309 GB, free: 5.035 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007657/1.175, allocations: 329.7 kB / 1.309 GB, free: 4.93 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/1.176, allocations: 0.6898 MB / 1.31 GB, free: 4.383 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001906/1.178, allocations: 1.006 MB / 1.311 GB, free: 3.703 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-05/1.178, allocations: 3.344 kB / 1.311 GB, free: 3.703 MB / 1.014 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003392/1.181, allocations: 1.221 MB / 1.312 GB, free: 3.223 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/1.181, allocations: 9.75 kB / 1.312 GB, free: 3.223 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-05/1.181, allocations: 12.66 kB / 1.312 GB, free: 3.223 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.33e-05/1.181, allocations: 15.66 kB / 1.312 GB, free: 3.223 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/1.182, allocations: 290.9 kB / 1.312 GB, free: 3.191 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4e-05/1.182, allocations: 22.23 kB / 1.312 GB, free: 3.188 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00213/1.184, allocations: 163.8 kB / 1.312 GB, free: 3.094 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001781/1.185, allocations: 51.88 kB / 1.312 GB, free: 3.086 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.001224/1.186, allocations: 446 kB / 1.313 GB, free: 2.781 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008048/1.187, allocations: 192.8 kB / 1.313 GB, free: 2.684 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002308/1.189, allocations: 0.8657 MB / 1.314 GB, free: 2.348 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-05/1.189, allocations: 7.109 kB / 1.314 GB, free: 2.348 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/1.189, allocations: 1.062 kB / 1.314 GB, free: 2.348 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001427/1.19, allocations: 0.7892 MB / 1.315 GB, free: 1.918 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006781/1.197, allocations: 2.451 MB / 1.317 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.648e-05/1.197, allocations: 2.594 kB / 1.317 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009014/1.198, allocations: 182.2 kB / 1.317 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.97e-05/1.198, allocations: 5.469 kB / 1.317 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.034e-05/1.198, allocations: 21.36 kB / 1.317 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.139e-05/1.198, allocations: 9.25 kB / 1.317 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/1.198, allocations: 2.438 kB / 1.317 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003296/1.202, allocations: 1.331 MB / 1.319 GB, free: 80 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001485/1.203, allocations: 371.7 kB / 1.319 GB, free: 15.81 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009451/1.204, allocations: 20.06 kB / 1.319 GB, free: 15.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001577/1.206, allocations: 61.53 kB / 1.319 GB, free: 15.79 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/1.206, allocations: 52.27 kB / 1.319 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/1.206, allocations: 41.7 kB / 1.319 GB, free: 15.76 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002872/1.209, allocations: 1.237 MB / 1.32 GB, free: 15.27 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.31e-07/1.209, allocations: 0 / 1.32 GB, free: 15.27 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003234/1.212, allocations: 0.6546 MB / 1.321 GB, free: 15.12 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.005185/1.217, allocations: 2.396 MB / 1.323 GB, free: 13.8 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002037/1.219, allocations: 0.8139 MB / 1.324 GB, free: 13.56 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/1.219, allocations: 5.188 kB / 1.324 GB, free: 13.56 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007537/1.22, allocations: 353.2 kB / 1.324 GB, free: 13.45 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006463/1.227, allocations: 1.209 MB / 1.326 GB, free: 13.07 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02559/1.252, allocations: 12.55 MB / 1.338 GB, free: 6.875 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001396/1.254, allocations: 1.408 MB / 1.339 GB, free: 6.086 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002041/1.256, allocations: 378.9 kB / 1.34 GB, free: 5.996 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001245/1.257, allocations: 0.7653 MB / 1.34 GB, free: 5.418 MB / 1.029 GB Notification: Performance of SimCode: time 9.82e-07/1.257, allocations: 0 / 1.34 GB, free: 5.418 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1017/1.359, allocations: 57.6 MB / 1.397 GB, free: 2.246 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/12.73, allocations: 7.938 kB / 1.397 GB, free: 2.238 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 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.mat","/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