Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.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.001338/0.001338, allocations: 103 kB / 16.45 MB, free: 6.457 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.001845/0.001845, allocations: 199.6 kB / 19.41 MB, free: 3.645 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.449/1.449, allocations: 225.6 MB / 247.8 MB, free: 13.94 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.733/2.733, 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.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 63.89 kB / 1.104 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8454/0.8474, allocations: 168.7 MB / 1.269 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2658/1.113, allocations: 223.4 MB / 1.487 GB, free: 4.871 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01895/1.132, allocations: 12.15 MB / 1.499 GB, free: 8.691 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002669/1.135, allocations: 71.56 kB / 1.499 GB, free: 8.621 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.00255/1.137, allocations: 0.8928 MB / 1.5 GB, free: 7.723 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.007708/1.145, allocations: 2.967 MB / 1.503 GB, free: 4.742 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003948/1.149, allocations: 1.451 MB / 1.504 GB, free: 3.297 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0068/1.156, allocations: 4.451 MB / 1.508 GB, free: 14.83 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002529/1.158, allocations: 1.46 MB / 1.51 GB, free: 13.33 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006709/1.165, allocations: 2.593 MB / 1.512 GB, free: 10.73 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004661/1.17, allocations: 1.649 MB / 1.514 GB, free: 9.098 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0005807/1.17, allocations: 180 kB / 1.514 GB, free: 8.922 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006008/1.176, allocations: 2.307 MB / 1.516 GB, free: 6.609 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.001135/1.177, allocations: 0.7205 MB / 1.517 GB, free: 5.887 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001935/1.179, allocations: 1.061 MB / 1.518 GB, free: 4.82 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.00771/1.187, allocations: 3.34 MB / 1.521 GB, free: 1.469 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/1.187, allocations: 4 kB / 1.521 GB, free: 1.465 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.685e-06/1.187, allocations: 0 / 1.521 GB, free: 1.465 MB / 1.217 GB Notification: Performance of Transformations before backend: time 6.124e-05/1.187, allocations: 4 kB / 1.521 GB, free: 1.461 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.005275/1.192, allocations: 2.328 MB / 1.524 GB, free: 15.07 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/1.193, allocations: 8.031 kB / 1.524 GB, free: 15.07 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002811/1.193, allocations: 210.8 kB / 1.524 GB, free: 14.85 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003247/1.196, allocations: 0.5061 MB / 1.524 GB, free: 14.34 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003087/1.199, allocations: 1.357 MB / 1.526 GB, free: 12.93 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/1.199, allocations: 110.8 kB / 1.526 GB, free: 12.82 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002572/1.199, allocations: 148 kB / 1.526 GB, free: 12.68 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003291/1.203, allocations: 1.78 MB / 1.528 GB, free: 10.79 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.053e-05/1.203, allocations: 3.938 kB / 1.528 GB, free: 10.78 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001454/1.203, allocations: 63.98 kB / 1.528 GB, free: 10.72 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.568e-05/1.203, allocations: 54.55 kB / 1.528 GB, free: 10.66 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002624/1.206, allocations: 1.431 MB / 1.529 GB, free: 9.227 MB / 1.232 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.01078/1.216, allocations: 7.325 MB / 1.536 GB, free: 1.523 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001964/1.218, allocations: 1.017 MB / 1.537 GB, free: 476 kB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/1.219, allocations: 0.6673 MB / 1.538 GB, free: 15.78 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002728/1.22, allocations: 114 kB / 1.538 GB, free: 15.66 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.471e-05/1.22, allocations: 55.5 kB / 1.538 GB, free: 15.59 MB / 1.248 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001544/1.221, allocations: 358.8 kB / 1.539 GB, free: 15.24 MB / 1.248 GB Notification: Performance of pre-optimization done (n=106): time 3.957e-06/1.221, allocations: 0 / 1.539 GB, free: 15.24 MB / 1.248 GB Notification: Performance of matching and sorting (n=112): time 0.009209/1.231, allocations: 4.526 MB / 1.543 GB, free: 10.64 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/1.231, allocations: 175.1 kB / 1.543 GB, free: 10.44 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001921/1.233, allocations: 1.279 MB / 1.544 GB, free: 9.148 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001485/1.233, allocations: 49.7 kB / 1.544 GB, free: 9.094 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006197/1.233, allocations: 0.7098 MB / 1.545 GB, free: 8.379 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004575/1.234, allocations: 412.5 kB / 1.546 GB, free: 7.973 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004167/1.234, allocations: 267.5 kB / 1.546 GB, free: 7.703 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002439/1.234, allocations: 357.9 kB / 1.546 GB, free: 7.348 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009206/1.235, allocations: 0.527 MB / 1.547 GB, free: 6.82 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/1.237, allocations: 0.8518 MB / 1.547 GB, free: 5.844 MB / 1.248 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (sin.p = vol1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01266/1.249, allocations: 4.8 MB / 1.552 GB, free: 0.8867 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.327e-06/1.249, allocations: 4 kB / 1.552 GB, free: 0.8828 MB / 1.248 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003078/1.252, allocations: 1.621 MB / 1.554 GB, free: 15.25 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/1.253, allocations: 12 kB / 1.554 GB, free: 15.24 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/1.253, allocations: 8 kB / 1.554 GB, free: 15.23 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.97e-05/1.253, allocations: 12 kB / 1.554 GB, free: 15.22 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/1.254, allocations: 295.5 kB / 1.554 GB, free: 14.93 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.033e-05/1.254, allocations: 27.86 kB / 1.554 GB, free: 14.91 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/1.255, allocations: 50.45 kB / 1.554 GB, free: 14.86 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/1.255, allocations: 64.2 kB / 1.554 GB, free: 14.8 MB / 1.264 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol2.dynBal.medium.p = vol2.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 (intMasVapOut.local_reset,intEntIn.local_reset,intEntOut.local_reset,intMasFloIn.local_reset,intMasFloOut.local_reset,intMasFloVapIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 169 * 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.0009546/1.256, allocations: 437.3 kB / 1.555 GB, free: 14.36 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004465/1.257, allocations: 171 kB / 1.555 GB, free: 14.19 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002421/1.259, allocations: 1.291 MB / 1.556 GB, free: 12.89 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/1.259, allocations: 12 kB / 1.556 GB, free: 12.88 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/1.259, allocations: 3.938 kB / 1.556 GB, free: 12.88 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00191/1.261, allocations: 1.241 MB / 1.557 GB, free: 11.57 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006819/1.268, allocations: 3.766 MB / 1.561 GB, free: 7.598 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.44e-05/1.268, allocations: 12 kB / 1.561 GB, free: 7.586 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/1.269, allocations: 239.7 kB / 1.561 GB, free: 7.352 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.642e-05/1.269, allocations: 23.88 kB / 1.561 GB, free: 7.328 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.231e-05/1.269, allocations: 39.98 kB / 1.561 GB, free: 7.289 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.026e-05/1.269, allocations: 15.94 kB / 1.561 GB, free: 7.273 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.298e-05/1.269, allocations: 15.94 kB / 1.561 GB, free: 7.258 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003309/1.272, allocations: 2.134 MB / 1.563 GB, free: 4.973 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008269/1.273, allocations: 367.9 kB / 1.564 GB, free: 4.594 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002029/1.274, allocations: 39.92 kB / 1.564 GB, free: 4.555 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/1.275, allocations: 54.59 kB / 1.564 GB, free: 4.504 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/1.275, allocations: 96.31 kB / 1.564 GB, free: 4.406 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.75e-05/1.275, allocations: 51.98 kB / 1.564 GB, free: 4.355 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001475/1.276, allocations: 0.8529 MB / 1.565 GB, free: 3.504 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.7e-07/1.276, allocations: 0 / 1.565 GB, free: 3.504 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001437/1.278, allocations: 435.9 kB / 1.565 GB, free: 3.078 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,intMasFloVapIn.y,intMasFloOut.y,intMasFloIn.y,intEntOut.y,intEntIn.y,intMasVapOut.y) * 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 (115): * Single equations (assignments): 115 * 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.004837/1.283, allocations: 2.821 MB / 1.568 GB, free: 112 kB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003238/1.286, allocations: 1.176 MB / 1.569 GB, free: 14.94 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/1.286, allocations: 3.938 kB / 1.569 GB, free: 14.93 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001366/1.287, allocations: 0.5331 MB / 1.57 GB, free: 14.41 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005419/1.293, allocations: 0.9256 MB / 1.571 GB, free: 13.5 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02284/1.315, allocations: 12.73 MB / 1.583 GB, free: 80 kB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/1.317, allocations: 1.376 MB / 1.584 GB, free: 14.67 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001677/1.318, allocations: 389.3 kB / 1.585 GB, free: 14.28 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00117/1.319, allocations: 0.6399 MB / 1.585 GB, free: 13.64 MB / 1.295 GB Notification: Performance of SimCode: time 1.172e-06/1.319, allocations: 4 kB / 1.585 GB, free: 13.64 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8108/2.13, allocations: 43.45 MB / 1.628 GB, free: 314.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.55/18.68, allocations: 14.12 kB / 1.628 GB, free: 314.1 MB / 1.295 GB " [Timeout remaining time 281] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.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: 24.846322141122073]