Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.001373/0.001373, allocations: 105.8 kB / 16.45 MB, free: 6.035 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.001321/0.001321, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.371/1.371, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.522/2.522, allocations: 443.5 MB / 0.7287 GB, free: 13.17 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.FourPortHeatMassExchanger,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 63.89 kB / 1.056 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7838/0.7858, allocations: 160.7 MB / 1.213 GB, free: 3.781 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04559/0.8314, allocations: 41.9 MB / 1.254 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01598/0.8473, allocations: 10.41 MB / 1.264 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002196/0.8495, allocations: 59.62 kB / 1.264 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002125/0.8517, allocations: 0.6716 MB / 1.265 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00597/0.8576, allocations: 1.966 MB / 1.267 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00326/0.8609, allocations: 1.201 MB / 1.268 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005251/0.8661, allocations: 3.392 MB / 1.271 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001625/0.8678, allocations: 0.8646 MB / 1.272 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003408/0.8712, allocations: 1.274 MB / 1.273 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001521/0.8727, allocations: 0.9372 MB / 1.274 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001889/0.8729, allocations: 100 kB / 1.274 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002178/0.8751, allocations: 0.8851 MB / 1.275 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003456/0.8754, allocations: 306.8 kB / 1.275 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007819/0.8762, allocations: 0.6221 MB / 1.276 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003163/0.8794, allocations: 1.935 MB / 1.278 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.8794, allocations: 0 / 1.278 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8794, allocations: 0 / 1.278 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.696e-05/0.8794, allocations: 0 / 1.278 GB, free: 5.445 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002812/0.8822, allocations: 1.552 MB / 1.279 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.8822, allocations: 12.92 kB / 1.279 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001464/0.8824, allocations: 114.7 kB / 1.28 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004035/0.8828, allocations: 144 kB / 1.28 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002033/0.8848, allocations: 1.108 MB / 1.281 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.385e-05/0.8849, allocations: 58 kB / 1.281 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.885, allocations: 75.98 kB / 1.281 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.8864, allocations: 0.7866 MB / 1.282 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.706e-05/0.8864, allocations: 3.938 kB / 1.282 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.997e-05/0.8865, allocations: 31.98 kB / 1.282 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.552e-05/0.8865, allocations: 24 kB / 1.282 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.8877, allocations: 0.5711 MB / 1.282 GB, free: 0.8281 MB / 0.9825 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.004648/0.8923, allocations: 3.556 MB / 1.286 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000608/0.8929, allocations: 254.4 kB / 1.286 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003422/0.8933, allocations: 164.7 kB / 1.286 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005753/0.8939, allocations: 0.6571 MB / 1.287 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.8939, allocations: 34.56 kB / 1.287 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.154e-06/0.8939, allocations: 0 / 1.287 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.001282/0.8952, allocations: 0.5189 MB / 1.287 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.8952, allocations: 59.39 kB / 1.287 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/0.8965, allocations: 0.9417 MB / 1.288 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.823e-05/0.8965, allocations: 37.7 kB / 1.288 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004477/0.897, allocations: 0.5004 MB / 1.289 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.8971, allocations: 123 kB / 1.289 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/0.8973, allocations: 118.1 kB / 1.289 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.8974, allocations: 329.9 kB / 1.289 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003718/0.8978, allocations: 161 kB / 1.289 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000537/0.8983, allocations: 355.8 kB / 1.29 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008581/0.8992, allocations: 0.5039 MB / 1.29 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.8992, allocations: 4 kB / 1.29 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001205/0.9004, allocations: 0.6174 MB / 1.291 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.9004, allocations: 8 kB / 1.291 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.9004, allocations: 4.688 kB / 1.291 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.9005, allocations: 11.94 kB / 1.291 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004302/0.9009, allocations: 127.8 kB / 1.291 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.9009, allocations: 8 kB / 1.291 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005793/0.9015, allocations: 87.38 kB / 1.291 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-05/0.9015, allocations: 31.92 kB / 1.291 GB, free: 7.043 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0003985/0.9019, allocations: 269.7 kB / 1.291 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/0.9021, allocations: 103.3 kB / 1.292 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009999/0.9031, allocations: 495.5 kB / 1.292 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.9031, allocations: 4 kB / 1.292 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.9031, allocations: 3.938 kB / 1.292 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000756/0.9039, allocations: 457.2 kB / 1.292 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002177/0.906, allocations: 1.367 MB / 1.294 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.9061, allocations: 4 kB / 1.294 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003502/0.9064, allocations: 83.81 kB / 1.294 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.9064, allocations: 4 kB / 1.294 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.9064, allocations: 8 kB / 1.294 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.73e-06/0.9064, allocations: 3.984 kB / 1.294 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.9064, allocations: 4 kB / 1.294 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.9078, allocations: 0.7639 MB / 1.295 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004274/0.9082, allocations: 236.2 kB / 1.295 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.9084, allocations: 8 kB / 1.295 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004745/0.9088, allocations: 27.97 kB / 1.295 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.661e-05/0.9089, allocations: 27.95 kB / 1.295 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-05/0.9089, allocations: 24.05 kB / 1.295 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000965/0.9099, allocations: 0.6628 MB / 1.296 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.9099, allocations: 3.938 kB / 1.296 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00104/0.911, allocations: 343.3 kB / 1.296 GB, free: 2.012 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.002397/0.9133, allocations: 1.602 MB / 1.298 GB, free: 384 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009865/0.9143, allocations: 401 kB / 1.298 GB, free: 15.98 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.9143, allocations: 448 / 1.298 GB, free: 15.98 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003654/0.9147, allocations: 176 kB / 1.298 GB, free: 15.81 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002609/0.9173, allocations: 0.6052 MB / 1.299 GB, free: 15.21 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/0.9276, allocations: 6.838 MB / 1.305 GB, free: 8.086 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007977/0.9284, allocations: 1.032 MB / 1.306 GB, free: 7.023 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000746/0.9292, allocations: 206.5 kB / 1.307 GB, free: 6.824 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004735/0.9296, allocations: 371.3 kB / 1.307 GB, free: 6.461 MB / 1.014 GB Notification: Performance of SimCode: time 8.81e-07/0.9296, allocations: 0 / 1.307 GB, free: 6.461 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06763/0.9973, allocations: 29.89 MB / 1.336 GB, free: 8.918 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/11.21, allocations: 10.55 kB / 1.336 GB, free: 8.91 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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: 16.96536473510787]