Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001479/0.001479, allocations: 106.5 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.001428/0.001428, 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.43/1.43, allocations: 225.6 MB / 247.8 MB, free: 13.91 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.535/2.535, allocations: 443.5 MB / 0.7287 GB, free: 13.22 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.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 75.89 kB / 1.056 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8114/0.8133, allocations: 160.7 MB / 1.213 GB, free: 3.848 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1792/0.9925, allocations: 149.4 MB / 1.359 GB, free: 2.254 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001818/0.9943, allocations: 1.131 MB / 1.36 GB, free: 1.121 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001846/0.9945, allocations: 0 / 1.36 GB, free: 1.121 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004014/0.9949, allocations: 55.67 kB / 1.36 GB, free: 1.066 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0009712/0.9959, allocations: 322.6 kB / 1.36 GB, free: 0.75 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004497/0.9964, allocations: 163.3 kB / 1.36 GB, free: 0.5898 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005412/0.9969, allocations: 231.2 kB / 1.361 GB, free: 372 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.997, allocations: 49.08 kB / 1.361 GB, free: 324 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.538e-05/0.9971, allocations: 43.86 kB / 1.361 GB, free: 280 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.9972, allocations: 67.69 kB / 1.361 GB, free: 212 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.9973, allocations: 15.94 kB / 1.361 GB, free: 196 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006657/0.9979, allocations: 371.2 kB / 1.361 GB, free: 15.83 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.386e-05/0.998, allocations: 35.84 kB / 1.361 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.157e-05/0.9981, allocations: 63.66 kB / 1.361 GB, free: 15.73 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005864/0.9987, allocations: 295 kB / 1.362 GB, free: 15.44 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.9987, allocations: 0 / 1.362 GB, free: 15.44 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9987, allocations: 0 / 1.362 GB, free: 15.44 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.9987, allocations: 4 kB / 1.362 GB, free: 15.44 MB / 1.076 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.0007711/0.9994, allocations: 474.4 kB / 1.362 GB, free: 14.93 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.9995, allocations: 8.922 kB / 1.362 GB, free: 14.92 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.638e-05/0.9995, allocations: 46.75 kB / 1.362 GB, free: 14.86 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002995/0.9998, allocations: 36.81 kB / 1.362 GB, free: 14.83 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/1, allocations: 215.9 kB / 1.362 GB, free: 14.58 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/1, allocations: 11.94 kB / 1.362 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/1, allocations: 15.94 kB / 1.362 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002682/1, allocations: 109.6 kB / 1.362 GB, free: 14.44 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/1.001, allocations: 0 / 1.362 GB, free: 14.44 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/1.001, allocations: 4 kB / 1.362 GB, free: 14.43 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/1.001, allocations: 4 kB / 1.363 GB, free: 14.43 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002629/1.001, allocations: 97.91 kB / 1.363 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007696/1.002, allocations: 460.2 kB / 1.363 GB, free: 13.84 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/1.002, allocations: 82.55 kB / 1.363 GB, free: 13.75 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/1.002, allocations: 48.94 kB / 1.363 GB, free: 13.7 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/1.002, allocations: 0 / 1.363 GB, free: 13.7 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/1.002, allocations: 30.56 kB / 1.363 GB, free: 13.66 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/1.002, allocations: 0 / 1.363 GB, free: 13.66 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0004739/1.002, allocations: 137.5 kB / 1.363 GB, free: 13.52 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/1.002, allocations: 63.39 kB / 1.363 GB, free: 13.44 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/1.003, allocations: 182.3 kB / 1.364 GB, free: 13.25 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/1.003, allocations: 25.7 kB / 1.364 GB, free: 13.22 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.889e-05/1.003, allocations: 116 kB / 1.364 GB, free: 13.11 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/1.003, allocations: 23.84 kB / 1.364 GB, free: 13.08 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/1.003, allocations: 17.72 kB / 1.364 GB, free: 13.06 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001531/1.003, allocations: 330.8 kB / 1.364 GB, free: 12.73 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/1.003, allocations: 31.97 kB / 1.364 GB, free: 12.7 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/1.003, allocations: 31.98 kB / 1.364 GB, free: 12.66 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/1.003, allocations: 72.81 kB / 1.364 GB, free: 12.59 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/1.003, allocations: 0 / 1.364 GB, free: 12.59 MB / 1.076 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002944/1.004, allocations: 133.5 kB / 1.364 GB, free: 12.45 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/1.004, allocations: 4 kB / 1.364 GB, free: 12.45 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/1.004, allocations: 0 / 1.364 GB, free: 12.45 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/1.004, allocations: 3.938 kB / 1.364 GB, free: 12.45 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/1.004, allocations: 23.98 kB / 1.364 GB, free: 12.42 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/1.004, allocations: 0 / 1.364 GB, free: 12.42 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.652e-05/1.004, allocations: 15.88 kB / 1.364 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/1.004, allocations: 0 / 1.364 GB, free: 12.41 MB / 1.076 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.000104/1.004, allocations: 125.8 kB / 1.364 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.719e-05/1.004, allocations: 7.953 kB / 1.364 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003419/1.005, allocations: 139.4 kB / 1.365 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/1.005, allocations: 0 / 1.365 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.005, allocations: 4 kB / 1.365 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/1.005, allocations: 0 / 1.365 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002618/1.005, allocations: 221.5 kB / 1.365 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/1.005, allocations: 0 / 1.365 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/1.005, allocations: 15.98 kB / 1.365 GB, free: 11.84 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/1.005, allocations: 4 kB / 1.365 GB, free: 11.84 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/1.005, allocations: 4 kB / 1.365 GB, free: 11.83 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.249e-06/1.005, allocations: 3.984 kB / 1.365 GB, free: 11.83 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/1.005, allocations: 4 kB / 1.365 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003242/1.005, allocations: 215.4 kB / 1.365 GB, free: 11.6 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.257e-05/1.005, allocations: 88.95 kB / 1.365 GB, free: 11.49 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/1.005, allocations: 7.984 kB / 1.365 GB, free: 11.48 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/1.005, allocations: 8 kB / 1.365 GB, free: 11.48 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/1.006, allocations: 3.984 kB / 1.365 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/1.006, allocations: 8 kB / 1.365 GB, free: 11.46 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000124/1.006, allocations: 132.2 kB / 1.365 GB, free: 11.34 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/1.006, allocations: 0 / 1.365 GB, free: 11.34 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002561/1.006, allocations: 20 kB / 1.365 GB, free: 11.32 MB / 1.076 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.000724/1.007, allocations: 0.7552 MB / 1.366 GB, free: 10.53 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002772/1.007, allocations: 71.94 kB / 1.366 GB, free: 10.46 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/1.007, allocations: 0 / 1.366 GB, free: 10.46 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/1.007, allocations: 39.91 kB / 1.366 GB, free: 10.42 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/1.007, allocations: 39.91 kB / 1.366 GB, free: 10.38 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/1.01, allocations: 1.748 MB / 1.368 GB, free: 8.551 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004239/1.01, allocations: 0.7119 MB / 1.369 GB, free: 7.812 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.018e-05/1.01, allocations: 16.88 kB / 1.369 GB, free: 7.797 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.838e-05/1.01, allocations: 39.42 kB / 1.369 GB, free: 7.758 MB / 1.076 GB Notification: Performance of SimCode: time 4.81e-07/1.01, allocations: 0 / 1.369 GB, free: 7.758 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02603/1.036, allocations: 3.208 MB / 1.372 GB, free: 4.688 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.276/9.312, allocations: 13.39 kB / 1.372 GB, free: 4.676 MB / 1.076 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.979302381165326]