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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001465/0.001466, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 191.8 kB / 16.53 MB, free: 6.664 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.347/1.347, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.695/2.695, allocations: 469.4 MB / 0.742 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 71.41 kB / 0.9083 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2852, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.7069/0.9922, allocations: 222.6 MB / 1.281 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01614/1.008, allocations: 12.12 MB / 1.293 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002665/1.011, allocations: 72.97 kB / 1.293 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002238/1.013, allocations: 0.8611 MB / 1.294 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008429/1.022, allocations: 2.862 MB / 1.297 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003666/1.025, allocations: 1.427 MB / 1.298 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005771/1.031, allocations: 4.447 MB / 1.302 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002219/1.034, allocations: 1.721 MB / 1.304 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005715/1.039, allocations: 2.457 MB / 1.306 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003387/1.043, allocations: 1.555 MB / 1.308 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005112/1.043, allocations: 179 kB / 1.308 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006161/1.049, allocations: 2.166 MB / 1.31 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001596/1.051, allocations: 0.7043 MB / 1.311 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002434/1.053, allocations: 1.04 MB / 1.312 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005932/1.059, allocations: 3.274 MB / 1.315 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/1.059, allocations: 1.031 kB / 1.315 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.783e-06/1.059, allocations: 0 / 1.315 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.012e-05/1.059, allocations: 1.188 kB / 1.315 GB, free: 3.129 MB / 0.9981 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.003959/1.063, allocations: 2.28 MB / 1.317 GB, free: 18.05 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/1.063, allocations: 9.188 kB / 1.317 GB, free: 18.05 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002356/1.064, allocations: 207.9 kB / 1.318 GB, free: 18.01 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003039/1.067, allocations: 0.5009 MB / 1.318 GB, free: 17.91 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001874/1.069, allocations: 1.26 MB / 1.319 GB, free: 17.48 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.735e-05/1.069, allocations: 107.4 kB / 1.319 GB, free: 17.48 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002022/1.069, allocations: 154.5 kB / 1.32 GB, free: 17.47 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002372/1.071, allocations: 1.763 MB / 1.321 GB, free: 17.16 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.321e-05/1.071, allocations: 10.75 kB / 1.321 GB, free: 17.16 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001599/1.072, allocations: 58 kB / 1.321 GB, free: 17.16 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.717e-05/1.072, allocations: 55.61 kB / 1.321 GB, free: 17.15 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002028/1.074, allocations: 1.397 MB / 1.323 GB, free: 17.14 MB / 1.014 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.00779/1.081, allocations: 7.33 MB / 1.33 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/1.083, allocations: 1.06 MB / 1.331 GB, free: 13.04 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008092/1.084, allocations: 0.6955 MB / 1.332 GB, free: 12.99 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002015/1.084, allocations: 111.1 kB / 1.332 GB, free: 12.89 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/1.084, allocations: 59.53 kB / 1.332 GB, free: 12.85 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001137/1.085, allocations: 308.9 kB / 1.332 GB, free: 12.78 MB / 1.014 GB Notification: Performance of pre-optimization done (n=106): time 3.777e-06/1.085, allocations: 4 kB / 1.332 GB, free: 12.78 MB / 1.014 GB Notification: Performance of matching and sorting (n=112): time 0.007142/1.092, allocations: 4.439 MB / 1.336 GB, free: 11.38 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.897e-05/1.092, allocations: 169.2 kB / 1.337 GB, free: 11.2 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/1.094, allocations: 1.262 MB / 1.338 GB, free: 11.02 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.108e-05/1.094, allocations: 54.11 kB / 1.338 GB, free: 10.99 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004288/1.094, allocations: 0.7012 MB / 1.339 GB, free: 10.74 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003109/1.094, allocations: 400.6 kB / 1.339 GB, free: 10.48 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003484/1.095, allocations: 261.7 kB / 1.339 GB, free: 10.46 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001162/1.095, allocations: 357.1 kB / 1.339 GB, free: 10.16 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007187/1.096, allocations: 0.5281 MB / 1.34 GB, free: 10.15 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009583/1.097, allocations: 0.857 MB / 1.341 GB, free: 9.805 MB / 1.014 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.01144/1.108, allocations: 4.804 MB / 1.346 GB, free: 7.832 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/1.108, allocations: 2.344 kB / 1.346 GB, free: 7.832 MB / 1.014 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002556/1.111, allocations: 1.622 MB / 1.347 GB, free: 7.215 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/1.111, allocations: 7.375 kB / 1.347 GB, free: 7.215 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/1.111, allocations: 8.406 kB / 1.347 GB, free: 7.215 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.812e-05/1.111, allocations: 19.09 kB / 1.347 GB, free: 7.211 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/1.112, allocations: 292.1 kB / 1.347 GB, free: 7.199 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.385e-05/1.112, allocations: 19.81 kB / 1.347 GB, free: 7.199 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/1.113, allocations: 45.92 kB / 1.347 GB, free: 7.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/1.114, allocations: 67.39 kB / 1.348 GB, free: 7.164 MB / 1.014 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.0007327/1.114, allocations: 428.2 kB / 1.348 GB, free: 6.91 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003194/1.115, allocations: 163.7 kB / 1.348 GB, free: 6.828 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002013/1.117, allocations: 1.294 MB / 1.349 GB, free: 6.277 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/1.117, allocations: 14.44 kB / 1.349 GB, free: 6.273 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/1.117, allocations: 6.5 kB / 1.349 GB, free: 6.27 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001525/1.118, allocations: 1.24 MB / 1.351 GB, free: 5.559 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005889/1.124, allocations: 3.77 MB / 1.354 GB, free: 3.574 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/1.124, allocations: 14.81 kB / 1.354 GB, free: 3.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/1.125, allocations: 244.3 kB / 1.355 GB, free: 3.562 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.565e-05/1.125, allocations: 15.81 kB / 1.355 GB, free: 3.562 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.713e-05/1.125, allocations: 37.95 kB / 1.355 GB, free: 3.547 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.444e-05/1.125, allocations: 19.52 kB / 1.355 GB, free: 3.547 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/1.125, allocations: 16.97 kB / 1.355 GB, free: 3.547 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00262/1.128, allocations: 2.124 MB / 1.357 GB, free: 2.301 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007323/1.129, allocations: 372.5 kB / 1.357 GB, free: 2.047 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002158/1.129, allocations: 37.52 kB / 1.357 GB, free: 2.031 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/1.13, allocations: 49.97 kB / 1.357 GB, free: 2.016 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/1.13, allocations: 95.28 kB / 1.357 GB, free: 1.992 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.111e-05/1.13, allocations: 52.97 kB / 1.357 GB, free: 1.984 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001008/1.131, allocations: 0.8509 MB / 1.358 GB, free: 1.656 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.131, allocations: 0 / 1.358 GB, free: 1.656 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00131/1.133, allocations: 430.1 kB / 1.359 GB, free: 1.621 MB / 1.014 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.003278/1.136, allocations: 2.829 MB / 1.361 GB, free: 15.92 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002261/1.138, allocations: 1.428 MB / 1.363 GB, free: 15.52 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/1.138, allocations: 3.906 kB / 1.363 GB, free: 15.52 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006945/1.139, allocations: 0.5556 MB / 1.363 GB, free: 15.36 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004122/1.143, allocations: 0.9327 MB / 1.364 GB, free: 15.08 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0167/1.16, allocations: 13.76 MB / 1.378 GB, free: 5.746 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008688/1.161, allocations: 1.379 MB / 1.379 GB, free: 4.73 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.00163/1.162, allocations: 390.4 kB / 1.379 GB, free: 4.555 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008555/1.163, allocations: 0.6398 MB / 1.38 GB, free: 4.023 MB / 1.029 GB Notification: Performance of SimCode: time 8.81e-07/1.163, allocations: 0 / 1.38 GB, free: 4.023 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07051/1.234, allocations: 42.94 MB / 1.422 GB, free: 10.32 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.344/9.578, allocations: 14.42 kB / 1.422 GB, free: 10.31 MB / 1.076 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