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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 108.7 kB / 16.41 MB, free: 6.512 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.001408/0.001408, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.456/1.456, allocations: 222.9 MB / 245 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.195/3.195, allocations: 489 MB / 0.7678 GB, free: 29.21 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 67.89 kB / 1.101 GB, free: 5.801 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9117/0.9137, allocations: 163.8 MB / 1.261 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2628/1.177, allocations: 222.7 MB / 1.479 GB, free: 7.59 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0194/1.196, allocations: 12.13 MB / 1.49 GB, free: 11.43 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00266/1.199, allocations: 75.56 kB / 1.49 GB, free: 11.36 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002784/1.201, allocations: 0.8577 MB / 1.491 GB, free: 10.49 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.008218/1.21, allocations: 2.858 MB / 1.494 GB, free: 7.621 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003972/1.214, allocations: 1.436 MB / 1.496 GB, free: 6.191 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.006705/1.22, allocations: 4.454 MB / 1.5 GB, free: 1.723 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00266/1.223, allocations: 1.709 MB / 1.502 GB, free: 15.97 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006857/1.23, allocations: 2.721 MB / 1.504 GB, free: 13.25 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003378/1.233, allocations: 1.515 MB / 1.506 GB, free: 11.74 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0004832/1.234, allocations: 183.9 kB / 1.506 GB, free: 11.56 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004969/1.239, allocations: 2.155 MB / 1.508 GB, free: 9.402 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.001038/1.24, allocations: 0.7089 MB / 1.509 GB, free: 8.691 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001781/1.242, allocations: 1.042 MB / 1.51 GB, free: 7.645 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.006291/1.248, allocations: 3.352 MB / 1.513 GB, free: 4.281 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.248, allocations: 0 / 1.513 GB, free: 4.281 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.513e-06/1.248, allocations: 0 / 1.513 GB, free: 4.281 MB / 1.217 GB Notification: Performance of Transformations before backend: time 6.178e-05/1.248, allocations: 0 / 1.513 GB, free: 4.281 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.004671/1.253, allocations: 2.34 MB / 1.515 GB, free: 1.883 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/1.253, allocations: 12.03 kB / 1.515 GB, free: 1.871 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003314/1.253, allocations: 210.8 kB / 1.515 GB, free: 1.656 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0031/1.256, allocations: 0.5061 MB / 1.516 GB, free: 1.148 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00268/1.259, allocations: 1.35 MB / 1.517 GB, free: 15.74 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.665e-05/1.259, allocations: 114.8 kB / 1.517 GB, free: 15.63 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002362/1.259, allocations: 148 kB / 1.518 GB, free: 15.48 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00297/1.262, allocations: 1.764 MB / 1.519 GB, free: 13.61 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.976e-05/1.262, allocations: 4 kB / 1.519 GB, free: 13.61 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000142/1.263, allocations: 63.98 kB / 1.519 GB, free: 13.54 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.911e-05/1.263, allocations: 50.55 kB / 1.519 GB, free: 13.49 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002352/1.265, allocations: 1.399 MB / 1.521 GB, free: 12.09 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.01035/1.275, allocations: 7.536 MB / 1.528 GB, free: 4.117 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/1.277, allocations: 1.055 MB / 1.529 GB, free: 3.02 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001005/1.278, allocations: 0.7022 MB / 1.53 GB, free: 2.301 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002315/1.278, allocations: 114.2 kB / 1.53 GB, free: 2.172 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.689e-05/1.278, allocations: 51.56 kB / 1.53 GB, free: 2.113 MB / 1.232 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00121/1.28, allocations: 306.9 kB / 1.53 GB, free: 1.812 MB / 1.232 GB Notification: Performance of pre-optimization done (n=106): time 4.178e-06/1.28, allocations: 0 / 1.53 GB, free: 1.812 MB / 1.232 GB Notification: Performance of matching and sorting (n=112): time 0.008645/1.288, allocations: 4.54 MB / 1.535 GB, free: 13.2 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/1.289, allocations: 167.2 kB / 1.535 GB, free: 13 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001862/1.29, allocations: 1.271 MB / 1.536 GB, free: 11.72 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001146/1.29, allocations: 53.7 kB / 1.536 GB, free: 11.66 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006595/1.291, allocations: 0.7098 MB / 1.537 GB, free: 10.95 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004463/1.292, allocations: 416.4 kB / 1.537 GB, free: 10.54 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004408/1.292, allocations: 263.5 kB / 1.537 GB, free: 10.27 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001929/1.292, allocations: 357.9 kB / 1.538 GB, free: 9.918 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008971/1.293, allocations: 0.527 MB / 1.538 GB, free: 9.391 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/1.294, allocations: 0.8596 MB / 1.539 GB, free: 8.406 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.01277/1.307, allocations: 4.798 MB / 1.544 GB, free: 3.449 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/1.307, allocations: 4 kB / 1.544 GB, free: 3.445 MB / 1.248 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003213/1.31, allocations: 1.621 MB / 1.545 GB, free: 1.816 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 3.231e-05/1.311, allocations: 11.98 kB / 1.545 GB, free: 1.805 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/1.311, allocations: 8 kB / 1.545 GB, free: 1.797 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.33e-05/1.311, allocations: 16 kB / 1.545 GB, free: 1.781 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/1.312, allocations: 287.5 kB / 1.546 GB, free: 1.5 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.655e-05/1.312, allocations: 23.86 kB / 1.546 GB, free: 1.477 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/1.313, allocations: 61.7 kB / 1.546 GB, free: 1.418 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/1.313, allocations: 60.17 kB / 1.546 GB, free: 1.359 MB / 1.248 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.0008155/1.314, allocations: 425.3 kB / 1.546 GB, free: 0.9336 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000391/1.315, allocations: 167 kB / 1.546 GB, free: 0.7695 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002343/1.317, allocations: 1.291 MB / 1.548 GB, free: 15.47 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/1.317, allocations: 12 kB / 1.548 GB, free: 15.46 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/1.317, allocations: 3.938 kB / 1.548 GB, free: 15.45 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001765/1.319, allocations: 1.248 MB / 1.549 GB, free: 14.14 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006636/1.326, allocations: 3.762 MB / 1.553 GB, free: 10.18 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.6e-05/1.326, allocations: 12 kB / 1.553 GB, free: 10.16 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/1.327, allocations: 247.6 kB / 1.553 GB, free: 9.922 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.015e-05/1.327, allocations: 15.94 kB / 1.553 GB, free: 9.906 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.06e-05/1.327, allocations: 36 kB / 1.553 GB, free: 9.871 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-05/1.327, allocations: 23.92 kB / 1.553 GB, free: 9.848 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.638e-05/1.327, allocations: 19.94 kB / 1.553 GB, free: 9.828 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00332/1.33, allocations: 2.13 MB / 1.555 GB, free: 7.543 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007439/1.331, allocations: 367.9 kB / 1.555 GB, free: 7.164 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/1.331, allocations: 39.94 kB / 1.555 GB, free: 7.125 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/1.332, allocations: 51.91 kB / 1.555 GB, free: 7.074 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/1.332, allocations: 100.3 kB / 1.556 GB, free: 6.973 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.489e-05/1.333, allocations: 51.98 kB / 1.556 GB, free: 6.922 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001263/1.334, allocations: 0.8529 MB / 1.556 GB, free: 6.07 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.3e-07/1.334, allocations: 0 / 1.556 GB, free: 6.07 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001361/1.335, allocations: 436 kB / 1.557 GB, free: 5.645 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.00391/1.339, allocations: 2.816 MB / 1.56 GB, free: 2.684 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002281/1.341, allocations: 1.25 MB / 1.561 GB, free: 1.438 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/1.341, allocations: 3.938 kB / 1.561 GB, free: 1.434 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0008604/1.342, allocations: 0.5526 MB / 1.561 GB, free: 0.8828 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004449/1.347, allocations: 0.9327 MB / 1.562 GB, free: 15.97 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02258/1.369, allocations: 12.72 MB / 1.575 GB, free: 2.566 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001759/1.371, allocations: 1.372 MB / 1.576 GB, free: 1.16 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.00199/1.373, allocations: 385.3 kB / 1.576 GB, free: 0.7773 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00121/1.374, allocations: 0.6504 MB / 1.577 GB, free: 132 kB / 1.279 GB Notification: Performance of SimCode: time 1.773e-06/1.374, allocations: 0 / 1.577 GB, free: 132 kB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8161/2.19, allocations: 43.24 MB / 1.619 GB, free: 318.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.39/18.58, allocations: 10.08 kB / 1.619 GB, free: 318.3 MB / 1.295 GB " [Timeout remaining time 281] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.838526426116005]