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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 107.5 kB / 16.45 MB, free: 6.504 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.001823/0.001823, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.366/1.366, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.51/2.51, allocations: 443.5 MB / 0.7287 GB, free: 13.25 MB / 0.5919 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 71.89 kB / 1.056 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8363/0.8382, allocations: 160.7 MB / 1.213 GB, free: 3.867 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.09296/0.9312, allocations: 77.73 MB / 1.289 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02895/0.9601, allocations: 18.92 MB / 1.307 GB, free: 7.309 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006212/0.9663, allocations: 107.4 kB / 1.307 GB, free: 7.203 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004612/0.9709, allocations: 1.293 MB / 1.309 GB, free: 5.902 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01226/0.9832, allocations: 3.822 MB / 1.312 GB, free: 2.066 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006419/0.9896, allocations: 2.101 MB / 1.314 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01117/1.001, allocations: 6.681 MB / 1.321 GB, free: 9.281 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004011/1.005, allocations: 1.7 MB / 1.323 GB, free: 7.531 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00707/1.012, allocations: 2.372 MB / 1.325 GB, free: 5.16 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004457/1.016, allocations: 1.856 MB / 1.327 GB, free: 3.297 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001163/1.017, allocations: 203.9 kB / 1.327 GB, free: 3.098 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006095/1.024, allocations: 1.665 MB / 1.329 GB, free: 1.43 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001447/1.025, allocations: 0.5679 MB / 1.329 GB, free: 0.8594 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003476/1.029, allocations: 1.252 MB / 1.33 GB, free: 15.6 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.009498/1.038, allocations: 3.741 MB / 1.334 GB, free: 11.85 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/1.038, allocations: 0 / 1.334 GB, free: 11.85 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.544e-06/1.038, allocations: 0 / 1.334 GB, free: 11.85 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001339/1.038, allocations: 0 / 1.334 GB, free: 11.85 MB / 1.045 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.007681/1.046, allocations: 2.794 MB / 1.337 GB, free: 8.984 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/1.046, allocations: 8.625 kB / 1.337 GB, free: 8.977 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005099/1.046, allocations: 202.8 kB / 1.337 GB, free: 8.77 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/1.048, allocations: 279.3 kB / 1.337 GB, free: 8.496 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004586/1.052, allocations: 2.042 MB / 1.339 GB, free: 6.406 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-05/1.052, allocations: 106.7 kB / 1.339 GB, free: 6.301 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002186/1.053, allocations: 140 kB / 1.339 GB, free: 6.164 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002932/1.055, allocations: 1.52 MB / 1.341 GB, free: 4.566 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.951e-05/1.055, allocations: 7.938 kB / 1.341 GB, free: 4.559 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/1.056, allocations: 56 kB / 1.341 GB, free: 4.504 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.489e-05/1.056, allocations: 40 kB / 1.341 GB, free: 4.465 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002312/1.058, allocations: 1.126 MB / 1.342 GB, free: 3.332 MB / 1.045 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.01031/1.068, allocations: 7.62 MB / 1.35 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/1.069, allocations: 448.6 kB / 1.35 GB, free: 10.69 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006538/1.07, allocations: 311.6 kB / 1.35 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001048/1.071, allocations: 1.152 MB / 1.351 GB, free: 8.973 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/1.071, allocations: 39.12 kB / 1.351 GB, free: 8.926 MB / 1.061 GB Notification: Performance of pre-optimization done (n=59): time 2.936e-06/1.071, allocations: 0 / 1.351 GB, free: 8.926 MB / 1.061 GB Notification: Performance of matching and sorting (n=59): time 0.002495/1.074, allocations: 0.9778 MB / 1.352 GB, free: 7.945 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/1.074, allocations: 63.91 kB / 1.352 GB, free: 7.871 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002715/1.076, allocations: 1.787 MB / 1.354 GB, free: 6.047 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.000121/1.076, allocations: 41.7 kB / 1.354 GB, free: 6 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009191/1.077, allocations: 0.949 MB / 1.355 GB, free: 5.043 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002773/1.078, allocations: 226.1 kB / 1.355 GB, free: 4.82 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003361/1.078, allocations: 226.8 kB / 1.356 GB, free: 4.594 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001812/1.078, allocations: 353.9 kB / 1.356 GB, free: 4.242 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007246/1.079, allocations: 330.4 kB / 1.356 GB, free: 3.918 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/1.08, allocations: 0.6821 MB / 1.357 GB, free: 3.082 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001766/1.082, allocations: 1.012 MB / 1.358 GB, free: 1.93 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.946e-06/1.082, allocations: 8 kB / 1.358 GB, free: 1.922 MB / 1.061 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002584/1.084, allocations: 1.222 MB / 1.359 GB, free: 0.6914 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/1.084, allocations: 8 kB / 1.359 GB, free: 0.6836 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/1.084, allocations: 12 kB / 1.359 GB, free: 0.6719 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.386e-05/1.084, allocations: 16 kB / 1.359 GB, free: 0.6562 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/1.085, allocations: 292.2 kB / 1.359 GB, free: 380 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-05/1.085, allocations: 23.92 kB / 1.359 GB, free: 356 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/1.087, allocations: 162.9 kB / 1.36 GB, free: 192 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.621e-05/1.087, allocations: 51.98 kB / 1.36 GB, free: 140 kB / 1.061 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.0008517/1.088, allocations: 453.3 kB / 1.36 GB, free: 15.68 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004612/1.088, allocations: 198.7 kB / 1.36 GB, free: 15.48 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001842/1.09, allocations: 0.8688 MB / 1.361 GB, free: 14.61 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/1.09, allocations: 4 kB / 1.361 GB, free: 14.6 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/1.09, allocations: 0 / 1.361 GB, free: 14.6 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001379/1.091, allocations: 0.7995 MB / 1.362 GB, free: 13.75 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004797/1.096, allocations: 2.451 MB / 1.364 GB, free: 11.22 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/1.096, allocations: 4.25 kB / 1.364 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007853/1.097, allocations: 183.7 kB / 1.364 GB, free: 11.04 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/1.097, allocations: 4 kB / 1.365 GB, free: 11.03 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-05/1.097, allocations: 16 kB / 1.365 GB, free: 11.02 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.047e-05/1.097, allocations: 7.984 kB / 1.365 GB, free: 11.01 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/1.097, allocations: 4 kB / 1.365 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00276/1.1, allocations: 1.353 MB / 1.366 GB, free: 9.609 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008889/1.101, allocations: 375.5 kB / 1.366 GB, free: 9.223 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002463/1.101, allocations: 19.98 kB / 1.366 GB, free: 9.203 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009084/1.102, allocations: 59.86 kB / 1.366 GB, free: 9.145 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/1.102, allocations: 56.44 kB / 1.366 GB, free: 9.09 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.757e-05/1.102, allocations: 39.97 kB / 1.366 GB, free: 9.051 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002098/1.104, allocations: 1.239 MB / 1.368 GB, free: 7.793 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.104, allocations: 0 / 1.368 GB, free: 7.793 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001869/1.106, allocations: 0.6587 MB / 1.368 GB, free: 7.133 MB / 1.076 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.004254/1.11, allocations: 2.398 MB / 1.371 GB, free: 4.699 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001955/1.112, allocations: 0.7847 MB / 1.371 GB, free: 3.914 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/1.112, allocations: 4 kB / 1.371 GB, free: 3.91 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007033/1.113, allocations: 336 kB / 1.372 GB, free: 3.586 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005178/1.118, allocations: 1.203 MB / 1.373 GB, free: 2.402 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0214/1.139, allocations: 12.62 MB / 1.385 GB, free: 5.258 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001191/1.141, allocations: 1.405 MB / 1.387 GB, free: 3.816 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0016/1.142, allocations: 393.3 kB / 1.387 GB, free: 3.438 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001129/1.143, allocations: 0.7648 MB / 1.388 GB, free: 2.672 MB / 1.092 GB Notification: Performance of SimCode: time 1.603e-06/1.143, allocations: 0 / 1.388 GB, free: 2.672 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1192/1.263, allocations: 57.85 MB / 1.444 GB, free: 9.367 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12/13.26, allocations: 3.172 kB / 1.444 GB, free: 9.367 MB / 1.154 GB " [Timeout remaining time 287] (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 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 19.080951892770827]