Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004656/0.004656, allocations: 98.52 kB / 15.73 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 194.7 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.499/2.499, allocations: 469.4 MB / 0.7421 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.91 kB / 1.064 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7083/0.7095, allocations: 159.1 MB / 1.22 GB, free: 2.242 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2048/0.9144, allocations: 222.6 MB / 1.437 GB, free: 2.816 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01536/0.9298, allocations: 12.12 MB / 1.449 GB, free: 6.664 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001992/0.9318, allocations: 71.62 kB / 1.449 GB, free: 6.594 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001966/0.9338, allocations: 0.8772 MB / 1.45 GB, free: 5.711 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.006849/0.9407, allocations: 2.969 MB / 1.453 GB, free: 2.73 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003364/0.9441, allocations: 1.452 MB / 1.454 GB, free: 1.285 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.006017/0.9501, allocations: 4.457 MB / 1.459 GB, free: 12.82 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002359/0.9525, allocations: 1.721 MB / 1.46 GB, free: 11.05 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005119/0.9576, allocations: 2.558 MB / 1.463 GB, free: 8.488 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002279/0.9599, allocations: 1.55 MB / 1.464 GB, free: 6.949 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002487/0.9601, allocations: 180 kB / 1.464 GB, free: 6.773 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003806/0.9639, allocations: 2.175 MB / 1.467 GB, free: 4.594 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0006194/0.9646, allocations: 0.7128 MB / 1.467 GB, free: 3.879 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.00105/0.9656, allocations: 1.05 MB / 1.468 GB, free: 2.824 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004037/0.9697, allocations: 3.336 MB / 1.472 GB, free: 15.48 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.9697, allocations: 0 / 1.472 GB, free: 15.48 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.933e-06/0.9697, allocations: 0 / 1.472 GB, free: 15.48 MB / 1.201 GB Notification: Performance of Transformations before backend: time 3.106e-05/0.9697, allocations: 4 kB / 1.472 GB, free: 15.47 MB / 1.201 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.003385/0.9731, allocations: 2.336 MB / 1.474 GB, free: 13.08 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.9732, allocations: 12.62 kB / 1.474 GB, free: 13.07 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002299/0.9734, allocations: 206.8 kB / 1.474 GB, free: 12.86 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003031/0.9765, allocations: 0.4984 MB / 1.475 GB, free: 12.36 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002206/0.9787, allocations: 1.357 MB / 1.476 GB, free: 10.94 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.868e-05/0.9788, allocations: 110.8 kB / 1.476 GB, free: 10.83 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002077/0.979, allocations: 148 kB / 1.476 GB, free: 10.69 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002462/0.9814, allocations: 1.772 MB / 1.478 GB, free: 8.805 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.55e-05/0.9815, allocations: 4 kB / 1.478 GB, free: 8.801 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001385/0.9816, allocations: 59.98 kB / 1.478 GB, free: 8.742 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.385e-05/0.9817, allocations: 50.55 kB / 1.478 GB, free: 8.691 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002058/0.9838, allocations: 1.399 MB / 1.479 GB, free: 7.285 MB / 1.201 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.007944/0.9917, allocations: 7.314 MB / 1.486 GB, free: 15.59 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/0.9932, allocations: 1.051 MB / 1.487 GB, free: 14.5 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009155/0.9942, allocations: 0.706 MB / 1.488 GB, free: 13.78 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001989/0.9944, allocations: 110.2 kB / 1.488 GB, free: 13.66 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.9944, allocations: 55.56 kB / 1.488 GB, free: 13.59 MB / 1.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001035/0.9955, allocations: 310.9 kB / 1.489 GB, free: 13.29 MB / 1.217 GB Notification: Performance of pre-optimization done (n=106): time 2.945e-06/0.9955, allocations: 0 / 1.489 GB, free: 13.29 MB / 1.217 GB Notification: Performance of matching and sorting (n=112): time 0.007578/1.003, allocations: 4.536 MB / 1.493 GB, free: 8.684 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.103e-05/1.003, allocations: 167.2 kB / 1.493 GB, free: 8.484 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/1.005, allocations: 1.275 MB / 1.494 GB, free: 7.199 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 8.709e-05/1.005, allocations: 49.7 kB / 1.495 GB, free: 7.145 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005263/1.005, allocations: 0.7099 MB / 1.495 GB, free: 6.43 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003508/1.006, allocations: 416.5 kB / 1.496 GB, free: 6.02 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000378/1.006, allocations: 267.5 kB / 1.496 GB, free: 5.75 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001272/1.006, allocations: 353.9 kB / 1.496 GB, free: 5.398 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007679/1.007, allocations: 0.5309 MB / 1.497 GB, free: 4.867 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000971/1.008, allocations: 0.8518 MB / 1.498 GB, free: 3.891 MB / 1.217 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.0111/1.019, allocations: 4.792 MB / 1.502 GB, free: 14.94 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/1.019, allocations: 4 kB / 1.502 GB, free: 14.93 MB / 1.232 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002443/1.021, allocations: 1.621 MB / 1.504 GB, free: 13.3 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/1.022, allocations: 12.19 kB / 1.504 GB, free: 13.29 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/1.022, allocations: 12 kB / 1.504 GB, free: 13.28 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/1.022, allocations: 12 kB / 1.504 GB, free: 13.27 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/1.023, allocations: 299.5 kB / 1.504 GB, free: 12.98 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.383e-05/1.023, allocations: 27.81 kB / 1.504 GB, free: 12.95 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/1.024, allocations: 54.5 kB / 1.504 GB, free: 12.9 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/1.024, allocations: 59.98 kB / 1.504 GB, free: 12.84 MB / 1.232 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.0007333/1.025, allocations: 423.2 kB / 1.505 GB, free: 12.42 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003164/1.025, allocations: 175 kB / 1.505 GB, free: 12.25 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001976/1.027, allocations: 1.291 MB / 1.506 GB, free: 10.95 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/1.027, allocations: 12 kB / 1.506 GB, free: 10.93 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/1.027, allocations: 3.938 kB / 1.506 GB, free: 10.93 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001485/1.029, allocations: 1.244 MB / 1.507 GB, free: 9.621 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005262/1.034, allocations: 3.758 MB / 1.511 GB, free: 5.66 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/1.034, allocations: 12.19 kB / 1.511 GB, free: 5.648 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/1.035, allocations: 247.6 kB / 1.511 GB, free: 5.406 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.66e-05/1.035, allocations: 19.94 kB / 1.511 GB, free: 5.387 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.288e-05/1.035, allocations: 39.98 kB / 1.511 GB, free: 5.348 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.419e-05/1.035, allocations: 15.94 kB / 1.511 GB, free: 5.332 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.926e-06/1.035, allocations: 15.94 kB / 1.511 GB, free: 5.316 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002495/1.038, allocations: 2.13 MB / 1.513 GB, free: 3.035 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006136/1.038, allocations: 363.9 kB / 1.514 GB, free: 2.66 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/1.039, allocations: 43.97 kB / 1.514 GB, free: 2.617 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/1.04, allocations: 55.89 kB / 1.514 GB, free: 2.562 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/1.04, allocations: 104.3 kB / 1.514 GB, free: 2.457 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.852e-05/1.04, allocations: 51.98 kB / 1.514 GB, free: 2.406 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0009708/1.041, allocations: 0.849 MB / 1.515 GB, free: 1.559 MB / 1.232 GB Notification: Performance of sort global known variables: time 2.11e-07/1.041, allocations: 0 / 1.515 GB, free: 1.559 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001191/1.042, allocations: 432 kB / 1.515 GB, free: 1.137 MB / 1.232 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.00305/1.045, allocations: 2.821 MB / 1.518 GB, free: 14.17 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001834/1.047, allocations: 1.251 MB / 1.519 GB, free: 12.93 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.047, allocations: 7.875 kB / 1.519 GB, free: 12.92 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0007219/1.048, allocations: 0.5525 MB / 1.52 GB, free: 12.37 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003928/1.052, allocations: 0.9234 MB / 1.521 GB, free: 11.46 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01546/1.067, allocations: 12.72 MB / 1.533 GB, free: 14.05 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009001/1.068, allocations: 1.376 MB / 1.534 GB, free: 12.64 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001251/1.069, allocations: 389.3 kB / 1.535 GB, free: 12.25 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008565/1.07, allocations: 0.6399 MB / 1.535 GB, free: 11.61 MB / 1.264 GB Notification: Performance of SimCode: time 5.81e-07/1.07, allocations: 0 / 1.535 GB, free: 11.61 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6516/1.722, allocations: 43.26 MB / 1.578 GB, free: 337.9 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.74/17.46, allocations: 9.922 kB / 1.578 GB, free: 337.9 MB / 1.279 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches