Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 80.44 kB / 19.17 MB, free: 0.7305 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 165.2 kB / 22.45 MB, free: 2.102 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8644/0.8644, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.626/1.626, allocations: 377.8 MB / 0.6221 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.991e-05, allocations: 2.281 kB / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.02319/0.02321, allocations: 38.2 MB / 1.018 GB, free: 12.23 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.008962/0.03217, allocations: 9.671 MB / 1.028 GB, free: 2.535 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008637/0.03303, allocations: 79.31 kB / 1.028 GB, free: 2.457 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.03409, allocations: 0.644 MB / 1.028 GB, free: 1.809 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.002824/0.03692, allocations: 2.067 MB / 1.03 GB, free: 15.73 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001628/0.03854, allocations: 1.26 MB / 1.032 GB, free: 14.48 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002701/0.04124, allocations: 3.49 MB / 1.035 GB, free: 10.98 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008785/0.04212, allocations: 0.8027 MB / 1.036 GB, free: 10.16 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002337/0.04446, allocations: 1.895 MB / 1.038 GB, free: 8.266 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006522/0.04511, allocations: 0.7904 MB / 1.038 GB, free: 7.473 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 8.644e-05/0.0452, allocations: 100 kB / 1.039 GB, free: 7.375 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009509/0.04615, allocations: 0.7208 MB / 1.039 GB, free: 6.652 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001823/0.04633, allocations: 302.7 kB / 1.04 GB, free: 6.355 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002871/0.04662, allocations: 442.9 kB / 1.04 GB, free: 5.922 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001397/0.04802, allocations: 1.971 MB / 1.042 GB, free: 3.945 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.04802, allocations: 0 / 1.042 GB, free: 3.945 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.413e-06/0.04802, allocations: 0 / 1.042 GB, free: 3.945 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.04803, allocations: 0 / 1.042 GB, free: 3.945 MB / 0.9948 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.001428/0.04946, allocations: 1.469 MB / 1.043 GB, free: 2.438 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.04949, allocations: 11.97 kB / 1.043 GB, free: 2.426 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.357e-05/0.04959, allocations: 114.7 kB / 1.043 GB, free: 2.305 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002044/0.04979, allocations: 144.1 kB / 1.044 GB, free: 2.164 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.0509, allocations: 1.055 MB / 1.045 GB, free: 1.074 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.217e-05/0.05093, allocations: 58.12 kB / 1.045 GB, free: 1.016 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.085e-05/0.051, allocations: 79.94 kB / 1.045 GB, free: 0.9375 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4138/0.4648, allocations: 0.9485 MB / 1.046 GB, free: 105.1 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.963e-05/0.4649, allocations: 6.562 kB / 1.046 GB, free: 105.1 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.543e-05/0.4649, allocations: 26.88 kB / 1.046 GB, free: 105.1 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-05/0.465, allocations: 19.28 kB / 1.046 GB, free: 105.1 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008741/0.4659, allocations: 0.5716 MB / 1.046 GB, free: 105 MB / 0.9948 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.002597/0.4685, allocations: 2.73 MB / 1.049 GB, free: 103.4 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003768/0.4688, allocations: 249.8 kB / 1.049 GB, free: 103.3 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.469, allocations: 167.8 kB / 1.049 GB, free: 103.3 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001684/0.4692, allocations: 60.8 kB / 1.049 GB, free: 103.3 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.4692, allocations: 40.22 kB / 1.049 GB, free: 103.2 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=31): time 2.454e-06/0.4692, allocations: 0 / 1.049 GB, free: 103.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=31): time 0.0006887/0.4699, allocations: 0.5254 MB / 1.05 GB, free: 103 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.312e-05/0.4699, allocations: 54 kB / 1.05 GB, free: 103 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006599/0.4706, allocations: 0.9679 MB / 1.051 GB, free: 102.6 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.4706, allocations: 33.2 kB / 1.051 GB, free: 102.5 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.4708, allocations: 0.5076 MB / 1.051 GB, free: 102.1 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.654e-05/0.4708, allocations: 116.2 kB / 1.052 GB, free: 102.1 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.65e-05/0.4709, allocations: 113.5 kB / 1.052 GB, free: 102 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.855e-05/0.471, allocations: 331.2 kB / 1.052 GB, free: 101.7 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.4712, allocations: 166.8 kB / 1.052 GB, free: 101.6 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002515/0.4714, allocations: 0.4999 MB / 1.053 GB, free: 101.2 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004148/0.4718, allocations: 0.5113 MB / 1.053 GB, free: 100.9 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.4718, allocations: 2.969 kB / 1.053 GB, free: 100.9 MB / 0.9948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005805/0.4724, allocations: 0.6234 MB / 1.054 GB, free: 100.6 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.4724, allocations: 8.562 kB / 1.054 GB, free: 100.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.4724, allocations: 5.75 kB / 1.054 GB, free: 100.6 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.4725, allocations: 6.062 kB / 1.054 GB, free: 100.6 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002425/0.4727, allocations: 124 kB / 1.054 GB, free: 100.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.4727, allocations: 19.69 kB / 1.054 GB, free: 100.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003456/0.4731, allocations: 85.14 kB / 1.054 GB, free: 100.6 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.068e-05/0.4731, allocations: 26.55 kB / 1.054 GB, free: 100.6 MB / 0.9948 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.0002156/0.4733, allocations: 277.9 kB / 1.054 GB, free: 100.3 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.383e-05/0.4734, allocations: 105.6 kB / 1.054 GB, free: 100.3 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005284/0.4739, allocations: 0.4921 MB / 1.055 GB, free: 100.1 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.4739, allocations: 2.906 kB / 1.055 GB, free: 100.1 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4739, allocations: 0 / 1.055 GB, free: 100.1 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003324/0.4743, allocations: 452.3 kB / 1.055 GB, free: 99.85 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.4753, allocations: 1.245 MB / 1.057 GB, free: 99.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.4753, allocations: 6.094 kB / 1.057 GB, free: 99.2 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.4755, allocations: 79.2 kB / 1.057 GB, free: 99.19 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.4755, allocations: 6.875 kB / 1.057 GB, free: 99.19 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.4755, allocations: 10.84 kB / 1.057 GB, free: 99.18 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.4755, allocations: 2.906 kB / 1.057 GB, free: 99.18 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.4755, allocations: 3.031 kB / 1.057 GB, free: 99.18 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006322/0.4762, allocations: 0.7763 MB / 1.057 GB, free: 98.78 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/0.4764, allocations: 156.6 kB / 1.058 GB, free: 98.69 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.672e-05/0.4764, allocations: 20.62 kB / 1.058 GB, free: 98.68 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.4767, allocations: 27.08 kB / 1.058 GB, free: 98.68 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.4767, allocations: 27.83 kB / 1.058 GB, free: 98.67 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/0.4767, allocations: 18.55 kB / 1.058 GB, free: 98.67 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0004592/0.4772, allocations: 0.6715 MB / 1.058 GB, free: 98.38 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4772, allocations: 0 / 1.058 GB, free: 98.38 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000635/0.4778, allocations: 341.7 kB / 1.059 GB, free: 98.34 MB / 0.9948 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.001128/0.479, allocations: 1.595 MB / 1.06 GB, free: 97.4 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0004658/0.4794, allocations: 402.9 kB / 1.061 GB, free: 97.29 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4794, allocations: 0 / 1.061 GB, free: 97.29 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.4796, allocations: 180.1 kB / 1.061 GB, free: 97.24 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/0.4809, allocations: 0.6138 MB / 1.061 GB, free: 97.11 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00557/0.4865, allocations: 6.86 MB / 1.068 GB, free: 93.46 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.4868, allocations: 451.9 kB / 1.068 GB, free: 93.32 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0005648/0.4873, allocations: 206.8 kB / 1.069 GB, free: 93.28 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002745/0.4876, allocations: 378.6 kB / 1.069 GB, free: 93.01 MB / 0.9948 GB Notification: Performance of SimCode: time 1.764e-06/0.4876, allocations: 0 / 1.069 GB, free: 93.01 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05015/0.5377, allocations: 32.82 MB / 1.101 GB, free: 88.76 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.099/7.636, allocations: 5.219 kB / 1.101 GB, free: 88.75 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.51295376662165]