Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) 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.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_10_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.004833/0.004833, allocations: 99.69 kB / 15.73 MB, free: 5.555 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.001384/0.001384, allocations: 196.5 kB / 16.68 MB, free: 5.484 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.286/1.286, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.444/2.444, allocations: 437.1 MB / 0.7106 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 63.89 kB / 1.018 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2653, allocations: 151.6 MB / 1.166 GB, free: 7.195 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.705/0.9704, allocations: 222.6 MB / 1.384 GB, free: 11.03 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01599/0.9864, allocations: 12.11 MB / 1.395 GB, free: 1.156 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00176/0.9882, allocations: 75.16 kB / 1.396 GB, free: 1.129 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001927/0.9901, allocations: 0.8552 MB / 1.396 GB, free: 408 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.006341/0.9965, allocations: 2.867 MB / 1.399 GB, free: 14.16 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003022/0.9996, allocations: 1.433 MB / 1.401 GB, free: 13.03 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004583/1.004, allocations: 4.459 MB / 1.405 GB, free: 10.46 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001893/1.006, allocations: 1.714 MB / 1.407 GB, free: 9.359 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004562/1.011, allocations: 2.475 MB / 1.409 GB, free: 7.824 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002272/1.013, allocations: 1.549 MB / 1.411 GB, free: 6.906 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002274/1.013, allocations: 181.3 kB / 1.411 GB, free: 6.906 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003613/1.017, allocations: 2.166 MB / 1.413 GB, free: 5.754 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0006026/1.017, allocations: 0.7045 MB / 1.413 GB, free: 5.262 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0009532/1.018, allocations: 1.044 MB / 1.415 GB, free: 4.57 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003607/1.022, allocations: 3.347 MB / 1.418 GB, free: 2.363 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/1.022, allocations: 0 / 1.418 GB, free: 2.363 MB / 1.076 GB Notification: Performance of FrontEnd: time 9.81e-07/1.022, allocations: 0 / 1.418 GB, free: 2.363 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.276e-05/1.022, allocations: 0 / 1.418 GB, free: 2.363 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.00319/1.025, allocations: 2.337 MB / 1.42 GB, free: 0.6562 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/1.025, allocations: 10.09 kB / 1.42 GB, free: 0.6562 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002315/1.025, allocations: 210.3 kB / 1.42 GB, free: 500 kB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002699/1.028, allocations: 0.5031 MB / 1.421 GB, free: 15.98 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001988/1.03, allocations: 1.353 MB / 1.422 GB, free: 14.57 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.482e-05/1.03, allocations: 118.7 kB / 1.422 GB, free: 14.46 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001992/1.03, allocations: 148 kB / 1.422 GB, free: 14.31 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002488/1.033, allocations: 1.76 MB / 1.424 GB, free: 12.44 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.551e-05/1.033, allocations: 11.94 kB / 1.424 GB, free: 12.43 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/1.033, allocations: 63.98 kB / 1.424 GB, free: 12.37 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-05/1.033, allocations: 50.55 kB / 1.424 GB, free: 12.32 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002101/1.035, allocations: 1.403 MB / 1.426 GB, free: 10.91 MB / 1.092 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.007737/1.043, allocations: 7.301 MB / 1.433 GB, free: 3.23 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/1.045, allocations: 1.059 MB / 1.434 GB, free: 2.129 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009203/1.046, allocations: 0.6944 MB / 1.434 GB, free: 1.426 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000197/1.046, allocations: 110.2 kB / 1.434 GB, free: 1.301 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.791e-05/1.046, allocations: 59.48 kB / 1.435 GB, free: 1.234 MB / 1.092 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008819/1.047, allocations: 306.9 kB / 1.435 GB, free: 0.9336 MB / 1.092 GB Notification: Performance of pre-optimization done (n=106): time 2.625e-06/1.047, allocations: 3.938 kB / 1.435 GB, free: 0.9297 MB / 1.092 GB Notification: Performance of matching and sorting (n=112): time 0.007368/1.054, allocations: 4.534 MB / 1.439 GB, free: 12.32 MB / 1.108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.944e-05/1.054, allocations: 171.2 kB / 1.439 GB, free: 12.12 MB / 1.108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/1.056, allocations: 1.271 MB / 1.441 GB, free: 10.84 MB / 1.108 GB Notification: Performance of collectPreVariables (initialization): time 8.276e-05/1.056, allocations: 53.7 kB / 1.441 GB, free: 10.78 MB / 1.108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005305/1.056, allocations: 0.7099 MB / 1.441 GB, free: 10.06 MB / 1.108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003484/1.057, allocations: 420.4 kB / 1.442 GB, free: 9.648 MB / 1.108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003691/1.057, allocations: 263.5 kB / 1.442 GB, free: 9.383 MB / 1.108 GB Notification: Performance of setup shared object (initialization): time 0.0001554/1.057, allocations: 357.9 kB / 1.442 GB, free: 9.027 MB / 1.108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007911/1.058, allocations: 0.527 MB / 1.443 GB, free: 8.5 MB / 1.108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/1.059, allocations: 0.8557 MB / 1.444 GB, free: 7.52 MB / 1.108 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.01069/1.07, allocations: 4.799 MB / 1.448 GB, free: 2.562 MB / 1.108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/1.07, allocations: 4 kB / 1.448 GB, free: 2.559 MB / 1.108 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002351/1.072, allocations: 1.621 MB / 1.45 GB, free: 0.9297 MB / 1.108 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/1.072, allocations: 9.25 kB / 1.45 GB, free: 0.9219 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/1.072, allocations: 12.12 kB / 1.45 GB, free: 0.9102 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/1.072, allocations: 19.98 kB / 1.45 GB, free: 0.8906 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/1.073, allocations: 291.5 kB / 1.45 GB, free: 0.6055 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.45e-05/1.073, allocations: 19.98 kB / 1.45 GB, free: 0.5859 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/1.074, allocations: 63.75 kB / 1.45 GB, free: 0.5234 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/1.074, allocations: 59.97 kB / 1.45 GB, free: 476 kB / 1.108 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.0006195/1.075, allocations: 421 kB / 1.451 GB, free: 48 kB / 1.108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003171/1.075, allocations: 171 kB / 1.451 GB, free: 15.88 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002056/1.077, allocations: 1.287 MB / 1.452 GB, free: 14.58 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/1.077, allocations: 12 kB / 1.452 GB, free: 14.57 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/1.077, allocations: 4 kB / 1.452 GB, free: 14.57 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001543/1.079, allocations: 1.244 MB / 1.454 GB, free: 13.26 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005307/1.084, allocations: 3.762 MB / 1.457 GB, free: 9.293 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/1.084, allocations: 8 kB / 1.457 GB, free: 9.285 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/1.085, allocations: 251.8 kB / 1.457 GB, free: 9.039 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.738e-05/1.085, allocations: 16 kB / 1.457 GB, free: 9.023 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-05/1.086, allocations: 43.94 kB / 1.458 GB, free: 8.98 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.84e-05/1.086, allocations: 23.92 kB / 1.458 GB, free: 8.957 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/1.086, allocations: 11.94 kB / 1.458 GB, free: 8.945 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002772/1.088, allocations: 2.134 MB / 1.46 GB, free: 6.66 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006286/1.089, allocations: 367.9 kB / 1.46 GB, free: 6.281 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001831/1.089, allocations: 35.94 kB / 1.46 GB, free: 6.246 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009637/1.09, allocations: 54.09 kB / 1.46 GB, free: 6.195 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/1.09, allocations: 100.3 kB / 1.46 GB, free: 6.098 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.819e-05/1.09, allocations: 56.08 kB / 1.46 GB, free: 6.043 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001098/1.092, allocations: 0.8606 MB / 1.461 GB, free: 5.184 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/1.092, allocations: 0 / 1.461 GB, free: 5.184 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001219/1.093, allocations: 435.9 kB / 1.461 GB, free: 4.758 MB / 1.123 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.003271/1.096, allocations: 2.795 MB / 1.464 GB, free: 1.809 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001939/1.098, allocations: 1.255 MB / 1.465 GB, free: 0.5586 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/1.098, allocations: 4 kB / 1.465 GB, free: 0.5547 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.000734/1.099, allocations: 0.5446 MB / 1.466 GB, free: 8 kB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003757/1.103, allocations: 0.9346 MB / 1.467 GB, free: 15.09 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01651/1.119, allocations: 12.73 MB / 1.479 GB, free: 1.672 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009988/1.12, allocations: 1.372 MB / 1.481 GB, free: 272 kB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001247/1.121, allocations: 381.4 kB / 1.481 GB, free: 15.88 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008868/1.122, allocations: 0.6476 MB / 1.482 GB, free: 15.24 MB / 1.154 GB Notification: Performance of SimCode: time 1.263e-06/1.122, allocations: 0 / 1.482 GB, free: 15.24 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.416/3.538, allocations: 43.26 MB / 1.524 GB, free: 4.586 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.61/25.15, allocations: 3.25 kB / 1.524 GB, free: 4.586 MB / 1.186 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches