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.005658/0.005658, allocations: 100.7 kB / 15.73 MB, free: 6.035 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.00127/0.00127, allocations: 199.3 kB / 16.67 MB, free: 5.969 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.172 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.639/2.639, allocations: 437.1 MB / 0.7105 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 63.91 kB / 1.018 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.304, allocations: 151.6 MB / 1.166 GB, free: 7.242 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.8646/1.169, allocations: 222.6 MB / 1.384 GB, free: 11.1 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02078/1.189, allocations: 12.13 MB / 1.395 GB, free: 1.215 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004578/1.194, allocations: 74.97 kB / 1.395 GB, free: 1.188 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003454/1.198, allocations: 0.8786 MB / 1.396 GB, free: 452 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.009403/1.207, allocations: 2.969 MB / 1.399 GB, free: 14.14 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003845/1.211, allocations: 1.443 MB / 1.401 GB, free: 13.01 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.005859/1.217, allocations: 4.47 MB / 1.405 GB, free: 10.44 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002821/1.22, allocations: 1.714 MB / 1.407 GB, free: 9.336 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006535/1.226, allocations: 2.548 MB / 1.409 GB, free: 7.762 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003507/1.23, allocations: 1.573 MB / 1.411 GB, free: 6.824 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0007964/1.231, allocations: 178.9 kB / 1.411 GB, free: 6.824 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005897/1.236, allocations: 2.174 MB / 1.413 GB, free: 5.668 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.00149/1.238, allocations: 0.6966 MB / 1.414 GB, free: 5.184 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003269/1.241, allocations: 1.05 MB / 1.415 GB, free: 4.488 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.007664/1.249, allocations: 3.329 MB / 1.418 GB, free: 2.301 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.383e-06/1.249, allocations: 3.984 kB / 1.418 GB, free: 2.297 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.044e-06/1.249, allocations: 0 / 1.418 GB, free: 2.297 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001133/1.249, allocations: 0 / 1.418 GB, free: 2.297 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.005418/1.255, allocations: 2.277 MB / 1.42 GB, free: 0.582 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/1.255, allocations: 12.03 kB / 1.42 GB, free: 0.5703 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003897/1.255, allocations: 202.8 kB / 1.42 GB, free: 372 kB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003474/1.258, allocations: 0.5013 MB / 1.421 GB, free: 15.86 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002985/1.261, allocations: 1.341 MB / 1.422 GB, free: 14.46 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9e-05/1.262, allocations: 106.8 kB / 1.422 GB, free: 14.35 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003261/1.262, allocations: 147.9 kB / 1.422 GB, free: 14.21 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003151/1.265, allocations: 1.772 MB / 1.424 GB, free: 12.32 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.396e-05/1.265, allocations: 7.938 kB / 1.424 GB, free: 12.32 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001586/1.265, allocations: 60 kB / 1.424 GB, free: 12.26 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.726e-05/1.265, allocations: 54.53 kB / 1.424 GB, free: 12.2 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002361/1.268, allocations: 1.399 MB / 1.426 GB, free: 10.8 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.009752/1.278, allocations: 7.283 MB / 1.433 GB, free: 3.141 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/1.279, allocations: 1.052 MB / 1.434 GB, free: 2.047 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009918/1.28, allocations: 0.6983 MB / 1.434 GB, free: 1.336 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002527/1.281, allocations: 114.1 kB / 1.435 GB, free: 1.207 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.363e-05/1.281, allocations: 63.44 kB / 1.435 GB, free: 1.137 MB / 1.092 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001469/1.282, allocations: 306.8 kB / 1.435 GB, free: 0.8359 MB / 1.092 GB Notification: Performance of pre-optimization done (n=106): time 1.121e-05/1.282, allocations: 0 / 1.435 GB, free: 0.8359 MB / 1.092 GB Notification: Performance of matching and sorting (n=112): time 0.009705/1.292, allocations: 4.442 MB / 1.439 GB, free: 12.31 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/1.292, allocations: 171.2 kB / 1.439 GB, free: 12.11 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001717/1.294, allocations: 1.263 MB / 1.441 GB, free: 10.83 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001662/1.294, allocations: 49.7 kB / 1.441 GB, free: 10.78 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005107/1.294, allocations: 0.6968 MB / 1.441 GB, free: 10.07 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000427/1.295, allocations: 402.2 kB / 1.442 GB, free: 9.676 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000446/1.295, allocations: 263.4 kB / 1.442 GB, free: 9.41 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001941/1.296, allocations: 358 kB / 1.442 GB, free: 9.055 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009202/1.296, allocations: 0.5309 MB / 1.443 GB, free: 8.523 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/1.298, allocations: 0.8479 MB / 1.444 GB, free: 7.551 MB / 1.107 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.01206/1.31, allocations: 4.794 MB / 1.448 GB, free: 2.598 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.457e-05/1.31, allocations: 11.94 kB / 1.448 GB, free: 2.586 MB / 1.107 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002909/1.313, allocations: 1.615 MB / 1.45 GB, free: 0.9609 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.24e-05/1.313, allocations: 9.406 kB / 1.45 GB, free: 0.9531 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/1.313, allocations: 8 kB / 1.45 GB, free: 0.9453 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.451e-05/1.313, allocations: 16 kB / 1.45 GB, free: 0.9297 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/1.314, allocations: 292.2 kB / 1.45 GB, free: 0.6445 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-05/1.314, allocations: 23.94 kB / 1.45 GB, free: 0.6211 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/1.316, allocations: 51.77 kB / 1.45 GB, free: 0.5703 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/1.316, allocations: 63.97 kB / 1.45 GB, free: 0.5078 MB / 1.107 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.0008441/1.317, allocations: 427.9 kB / 1.451 GB, free: 84 kB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005208/1.317, allocations: 158.3 kB / 1.451 GB, free: 15.92 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00245/1.32, allocations: 1.295 MB / 1.452 GB, free: 14.62 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/1.32, allocations: 12 kB / 1.452 GB, free: 14.61 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/1.32, allocations: 4 kB / 1.452 GB, free: 14.6 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001639/1.321, allocations: 1.241 MB / 1.453 GB, free: 13.3 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006509/1.328, allocations: 3.765 MB / 1.457 GB, free: 9.328 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.776e-05/1.328, allocations: 8 kB / 1.457 GB, free: 9.32 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/1.329, allocations: 239.7 kB / 1.457 GB, free: 9.086 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.118e-05/1.329, allocations: 16.69 kB / 1.457 GB, free: 9.07 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/1.329, allocations: 43.97 kB / 1.457 GB, free: 9.027 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.652e-05/1.329, allocations: 27.88 kB / 1.457 GB, free: 9 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.226e-05/1.329, allocations: 15.92 kB / 1.458 GB, free: 8.984 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002985/1.332, allocations: 2.125 MB / 1.46 GB, free: 6.707 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008461/1.333, allocations: 355.1 kB / 1.46 GB, free: 6.34 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000333/1.334, allocations: 47.86 kB / 1.46 GB, free: 6.293 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/1.335, allocations: 49.64 kB / 1.46 GB, free: 6.246 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/1.335, allocations: 104.3 kB / 1.46 GB, free: 6.145 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/1.335, allocations: 51.98 kB / 1.46 GB, free: 6.094 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001337/1.336, allocations: 0.849 MB / 1.461 GB, free: 5.246 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.1e-07/1.336, allocations: 4 kB / 1.461 GB, free: 5.242 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001623/1.338, allocations: 432 kB / 1.461 GB, free: 4.82 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.003554/1.342, allocations: 2.799 MB / 1.464 GB, free: 1.871 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002162/1.344, allocations: 1.243 MB / 1.465 GB, free: 0.6328 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/1.344, allocations: 4 kB / 1.465 GB, free: 0.6289 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0008186/1.345, allocations: 0.5524 MB / 1.466 GB, free: 76 kB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004392/1.349, allocations: 0.9318 MB / 1.467 GB, free: 15.16 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01965/1.369, allocations: 12.67 MB / 1.479 GB, free: 1.809 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001252/1.37, allocations: 1.38 MB / 1.481 GB, free: 404 kB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001574/1.372, allocations: 385.3 kB / 1.481 GB, free: 12 kB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/1.373, allocations: 0.64 MB / 1.482 GB, free: 15.37 MB / 1.154 GB Notification: Performance of SimCode: time 5.61e-07/1.373, allocations: 0 / 1.482 GB, free: 15.37 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08136/1.454, allocations: 43.26 MB / 1.524 GB, free: 4.715 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.43/16.88, allocations: 12.44 kB / 1.524 GB, free: 4.703 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=50 --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