Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.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.001568/0.001568, allocations: 118.9 kB / 17.17 MB, free: 5.977 MB / 14.72 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.001377/0.001377, allocations: 211.3 kB / 20.13 MB, free: 3.035 MB / 14.72 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 1.461/1.461, allocations: 230.6 MB / 253.5 MB, free: 15.13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.681/2.681, allocations: 476.7 MB / 0.7678 GB, free: 9.41 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 71.91 kB / 1.113 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8027/0.8048, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1832/0.988, allocations: 152.3 MB / 1.428 GB, free: 3.691 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.001735/0.9897, allocations: 1.146 MB / 1.429 GB, free: 2.543 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.9899, allocations: 4 kB / 1.429 GB, free: 2.539 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0003773/0.9902, allocations: 59.66 kB / 1.429 GB, free: 2.48 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0008505/0.9911, allocations: 314.6 kB / 1.429 GB, free: 2.172 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004067/0.9915, allocations: 167.3 kB / 1.429 GB, free: 2.008 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0004676/0.992, allocations: 223.3 kB / 1.43 GB, free: 1.789 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.9921, allocations: 41.09 kB / 1.43 GB, free: 1.75 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 9.376e-05/0.9922, allocations: 55.78 kB / 1.43 GB, free: 1.695 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 9.312e-05/0.9923, allocations: 63.69 kB / 1.43 GB, free: 1.633 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.9923, allocations: 15.94 kB / 1.43 GB, free: 1.617 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006091/0.9929, allocations: 383.2 kB / 1.43 GB, free: 1.242 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 5.938e-05/0.993, allocations: 31.91 kB / 1.43 GB, free: 1.211 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 7.143e-05/0.993, allocations: 63.67 kB / 1.43 GB, free: 1.148 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0004882/0.9935, allocations: 303 kB / 1.43 GB, free: 0.8516 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.9935, allocations: 4 kB / 1.43 GB, free: 0.8477 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.363e-06/0.9935, allocations: 0 / 1.43 GB, free: 0.8477 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.9935, allocations: 0 / 1.43 GB, free: 0.8477 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007465/0.9943, allocations: 478.4 kB / 1.431 GB, free: 340 kB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.9943, allocations: 8.031 kB / 1.431 GB, free: 332 kB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.706e-05/0.9944, allocations: 4.188 kB / 1.431 GB, free: 328 kB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.316e-05/0.9944, allocations: 46.69 kB / 1.431 GB, free: 272 kB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004952/0.9949, allocations: 48.8 kB / 1.431 GB, free: 224 kB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003941/0.9953, allocations: 230 kB / 1.431 GB, free: 15.96 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.9953, allocations: 8 kB / 1.431 GB, free: 15.95 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.9953, allocations: 8 kB / 1.431 GB, free: 15.94 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002986/0.9956, allocations: 117.6 kB / 1.431 GB, free: 15.82 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.9956, allocations: 0 / 1.431 GB, free: 15.82 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.9957, allocations: 4 kB / 1.431 GB, free: 15.82 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.9957, allocations: 11.94 kB / 1.431 GB, free: 15.8 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000292/0.996, allocations: 91.94 kB / 1.431 GB, free: 15.71 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007258/0.9967, allocations: 448.3 kB / 1.432 GB, free: 15.23 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.9969, allocations: 86.55 kB / 1.432 GB, free: 15.13 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.997, allocations: 40.94 kB / 1.432 GB, free: 15.09 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.9971, allocations: 0 / 1.432 GB, free: 15.09 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.9971, allocations: 38.5 kB / 1.432 GB, free: 15.04 MB / 1.123 GB Notification: Performance of pre-optimization done (n=7): time 9.91e-07/0.9971, allocations: 3.938 kB / 1.432 GB, free: 15.04 MB / 1.123 GB Notification: Performance of matching and sorting (n=7): time 0.0004702/0.9976, allocations: 149.5 kB / 1.432 GB, free: 14.89 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.9976, allocations: 51.41 kB / 1.432 GB, free: 14.82 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.9978, allocations: 179.4 kB / 1.432 GB, free: 14.64 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.9978, allocations: 25.7 kB / 1.432 GB, free: 14.61 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 8.797e-05/0.9979, allocations: 124 kB / 1.433 GB, free: 14.48 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.9979, allocations: 19.8 kB / 1.433 GB, free: 14.46 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.056e-05/0.998, allocations: 21.72 kB / 1.433 GB, free: 14.44 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.9981, allocations: 330.8 kB / 1.433 GB, free: 14.11 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.9982, allocations: 35.97 kB / 1.433 GB, free: 14.07 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.9983, allocations: 35.91 kB / 1.433 GB, free: 14.04 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.9986, allocations: 69.3 kB / 1.433 GB, free: 13.96 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.9986, allocations: 0 / 1.433 GB, free: 13.96 MB / 1.123 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002915/0.9988, allocations: 125.5 kB / 1.433 GB, free: 13.84 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.9989, allocations: 4 kB / 1.433 GB, free: 13.83 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.9989, allocations: 4 kB / 1.433 GB, free: 13.83 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.9989, allocations: 3.984 kB / 1.433 GB, free: 13.82 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.999, allocations: 12 kB / 1.433 GB, free: 13.81 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/0.999, allocations: 7.922 kB / 1.433 GB, free: 13.8 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.607e-05/0.9991, allocations: 11.94 kB / 1.433 GB, free: 13.79 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.9991, allocations: 0 / 1.433 GB, free: 13.79 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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.0001063/0.9992, allocations: 129.8 kB / 1.433 GB, free: 13.66 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.527e-05/0.9993, allocations: 15.89 kB / 1.433 GB, free: 13.64 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003501/0.9996, allocations: 123 kB / 1.433 GB, free: 13.52 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.9996, allocations: 0 / 1.433 GB, free: 13.52 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.9996, allocations: 0 / 1.433 GB, free: 13.52 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.9996, allocations: 0 / 1.433 GB, free: 13.52 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.9999, allocations: 229.5 kB / 1.434 GB, free: 13.24 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.9999, allocations: 0 / 1.434 GB, free: 13.24 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/1, allocations: 23.92 kB / 1.434 GB, free: 13.22 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/1, allocations: 0 / 1.434 GB, free: 13.22 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/1, allocations: 0 / 1.434 GB, free: 13.22 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/1, allocations: 0 / 1.434 GB, free: 13.22 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1, allocations: 0 / 1.434 GB, free: 13.22 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003299/1, allocations: 215.3 kB / 1.434 GB, free: 12.99 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 6.69e-05/1, allocations: 96.94 kB / 1.434 GB, free: 12.88 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/1, allocations: 11.98 kB / 1.434 GB, free: 12.87 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/1.001, allocations: 8 kB / 1.434 GB, free: 12.86 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/1.001, allocations: 7.984 kB / 1.434 GB, free: 12.85 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/1.001, allocations: 0 / 1.434 GB, free: 12.85 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001276/1.001, allocations: 139.2 kB / 1.434 GB, free: 12.71 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/1.001, allocations: 3.938 kB / 1.434 GB, free: 12.71 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002449/1.001, allocations: 23.94 kB / 1.434 GB, free: 12.69 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.000694/1.002, allocations: 0.748 MB / 1.435 GB, free: 11.91 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0002932/1.002, allocations: 75.88 kB / 1.435 GB, free: 11.84 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/1.002, allocations: 4 kB / 1.435 GB, free: 11.83 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/1.002, allocations: 39.97 kB / 1.435 GB, free: 11.79 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/1.002, allocations: 38.55 kB / 1.435 GB, free: 11.76 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/1.005, allocations: 1.748 MB / 1.437 GB, free: 9.93 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/1.005, allocations: 0.708 MB / 1.437 GB, free: 9.195 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 6.618e-05/1.005, allocations: 8.891 kB / 1.437 GB, free: 9.188 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.529e-05/1.005, allocations: 43.42 kB / 1.438 GB, free: 9.145 MB / 1.123 GB Notification: Performance of SimCode: time 4.31e-07/1.005, allocations: 0 / 1.438 GB, free: 9.145 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01914/1.024, allocations: 3.26 MB / 1.441 GB, free: 6.043 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.909/8.933, allocations: 3.984 kB / 1.441 GB, free: 6.039 MB / 1.123 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.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: 14.870736428012606]