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.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.001812/0.001812, allocations: 104.8 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.002015/0.002015, 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.499/1.499, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.755/2.755, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 63.89 kB / 1.104 GB, free: 9.191 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8139/0.8158, allocations: 168.7 MB / 1.269 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1756/0.9914, allocations: 149.4 MB / 1.415 GB, free: 15.11 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.001685/0.9931, allocations: 1.135 MB / 1.416 GB, free: 13.97 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001596/0.9933, allocations: 4 kB / 1.416 GB, free: 13.96 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0003631/0.9936, allocations: 59.61 kB / 1.416 GB, free: 13.91 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.000887/0.9945, allocations: 314.7 kB / 1.416 GB, free: 13.6 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004053/0.9949, allocations: 171.3 kB / 1.416 GB, free: 13.43 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0004557/0.9954, allocations: 227.3 kB / 1.417 GB, free: 13.21 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.9955, allocations: 45.03 kB / 1.417 GB, free: 13.16 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 7.274e-05/0.9956, allocations: 47.84 kB / 1.417 GB, free: 13.12 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 9.672e-05/0.9957, allocations: 67.62 kB / 1.417 GB, free: 13.05 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.9957, allocations: 12 kB / 1.417 GB, free: 13.04 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005603/0.9962, allocations: 375.2 kB / 1.417 GB, free: 12.67 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 5.977e-05/0.9963, allocations: 35.89 kB / 1.417 GB, free: 12.64 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 6.242e-05/0.9964, allocations: 63.67 kB / 1.417 GB, free: 12.57 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0004518/0.9968, allocations: 295 kB / 1.417 GB, free: 12.29 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.9968, allocations: 0 / 1.417 GB, free: 12.29 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.363e-06/0.9968, allocations: 0 / 1.417 GB, free: 12.29 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.9968, allocations: 0 / 1.417 GB, free: 12.29 MB / 1.123 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.0007068/0.9975, allocations: 470.5 kB / 1.418 GB, free: 11.78 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.9976, allocations: 8.031 kB / 1.418 GB, free: 11.77 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.387e-05/0.9976, allocations: 46.73 kB / 1.418 GB, free: 11.71 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002713/0.9979, allocations: 44.81 kB / 1.418 GB, free: 11.67 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.9982, allocations: 218 kB / 1.418 GB, free: 11.42 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.9982, allocations: 8 kB / 1.418 GB, free: 11.41 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.9983, allocations: 12 kB / 1.418 GB, free: 11.4 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002622/0.9985, allocations: 121.6 kB / 1.418 GB, free: 11.28 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.9985, allocations: 0 / 1.418 GB, free: 11.28 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.9985, allocations: 4 kB / 1.418 GB, free: 11.27 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.9985, allocations: 8 kB / 1.418 GB, free: 11.27 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002584/0.9988, allocations: 94.5 kB / 1.418 GB, free: 11.18 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007206/0.9995, allocations: 452.2 kB / 1.419 GB, free: 10.68 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.9997, allocations: 90.55 kB / 1.419 GB, free: 10.59 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.9999, allocations: 32.95 kB / 1.419 GB, free: 10.55 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.9999, allocations: 7.969 kB / 1.419 GB, free: 10.54 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.9999, allocations: 34.56 kB / 1.419 GB, free: 10.5 MB / 1.123 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.9999, allocations: 0 / 1.419 GB, free: 10.5 MB / 1.123 GB Notification: Performance of matching and sorting (n=7): time 0.000445/1, allocations: 145.5 kB / 1.419 GB, free: 10.35 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/1, allocations: 51.41 kB / 1.419 GB, free: 10.29 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/1.001, allocations: 186.4 kB / 1.419 GB, free: 10.1 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/1.001, allocations: 29.7 kB / 1.419 GB, free: 10.06 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 8.423e-05/1.001, allocations: 112 kB / 1.42 GB, free: 9.949 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/1.001, allocations: 27.8 kB / 1.42 GB, free: 9.922 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.756e-05/1.001, allocations: 17.72 kB / 1.42 GB, free: 9.898 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001422/1.001, allocations: 326.8 kB / 1.42 GB, free: 9.57 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/1.001, allocations: 35.97 kB / 1.42 GB, free: 9.535 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.477e-05/1.001, allocations: 31.98 kB / 1.42 GB, free: 9.504 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/1.001, allocations: 84.73 kB / 1.42 GB, free: 9.418 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.001, allocations: 0 / 1.42 GB, free: 9.418 MB / 1.123 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002795/1.002, allocations: 113.5 kB / 1.42 GB, free: 9.301 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/1.002, allocations: 8 kB / 1.42 GB, free: 9.293 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/1.002, allocations: 0 / 1.42 GB, free: 9.293 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/1.002, allocations: 4 kB / 1.42 GB, free: 9.289 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/1.002, allocations: 15.98 kB / 1.42 GB, free: 9.273 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/1.002, allocations: 0 / 1.42 GB, free: 9.273 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.452e-05/1.002, allocations: 15.88 kB / 1.42 GB, free: 9.258 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/1.002, allocations: 8 kB / 1.42 GB, free: 9.25 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.0001061/1.002, allocations: 125.7 kB / 1.42 GB, free: 9.117 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.698e-05/1.002, allocations: 19.91 kB / 1.42 GB, free: 9.098 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003225/1.002, allocations: 123 kB / 1.42 GB, free: 8.965 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/1.002, allocations: 0 / 1.42 GB, free: 8.965 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/1.002, allocations: 0 / 1.42 GB, free: 8.965 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/1.002, allocations: 0 / 1.42 GB, free: 8.965 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/1.003, allocations: 221.5 kB / 1.421 GB, free: 8.699 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.003, allocations: 4 kB / 1.421 GB, free: 8.695 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/1.003, allocations: 19.98 kB / 1.421 GB, free: 8.676 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/1.003, allocations: 11.92 kB / 1.421 GB, free: 8.664 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/1.003, allocations: 4 kB / 1.421 GB, free: 8.66 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/1.003, allocations: 0 / 1.421 GB, free: 8.66 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.003, allocations: 0.625 kB / 1.421 GB, free: 8.66 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003072/1.003, allocations: 215.3 kB / 1.421 GB, free: 8.434 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 6.669e-05/1.003, allocations: 93 kB / 1.421 GB, free: 8.324 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/1.003, allocations: 0 / 1.421 GB, free: 8.324 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/1.003, allocations: 11.98 kB / 1.421 GB, free: 8.312 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/1.003, allocations: 4 kB / 1.421 GB, free: 8.309 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/1.003, allocations: 3.984 kB / 1.421 GB, free: 8.305 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001308/1.003, allocations: 136.2 kB / 1.421 GB, free: 8.172 MB / 1.123 GB Notification: Performance of sort global known variables: time 9.1e-08/1.003, allocations: 0 / 1.421 GB, free: 8.172 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002484/1.004, allocations: 19.95 kB / 1.421 GB, free: 8.152 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.0007901/1.004, allocations: 0.7558 MB / 1.422 GB, free: 7.367 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0002866/1.005, allocations: 71.95 kB / 1.422 GB, free: 7.297 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/1.005, allocations: 7.938 kB / 1.422 GB, free: 7.289 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001143/1.005, allocations: 39.97 kB / 1.422 GB, free: 7.25 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/1.005, allocations: 27.91 kB / 1.422 GB, free: 7.223 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/1.008, allocations: 1.77 MB / 1.424 GB, free: 5.379 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/1.008, allocations: 0.7002 MB / 1.424 GB, free: 4.652 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 7.514e-05/1.008, allocations: 16.88 kB / 1.424 GB, free: 4.637 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.718e-05/1.008, allocations: 35.42 kB / 1.424 GB, free: 4.602 MB / 1.123 GB Notification: Performance of SimCode: time 2.81e-07/1.008, allocations: 0 / 1.424 GB, free: 4.602 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02546/1.034, allocations: 3.221 MB / 1.428 GB, free: 1.512 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.18/9.213, allocations: 9.438 kB / 1.428 GB, free: 1.504 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_2/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: 15.21313887136057]