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.001863/0.001863, allocations: 105.8 kB / 16.45 MB, free: 6.445 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.002391/0.002391, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.595/1.595, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.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 2.912/2.912, allocations: 497.2 MB / 0.7812 GB, free: 11.93 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.002108/0.002108, allocations: 71.83 kB / 1.134 GB, free: 13.14 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9622/0.9643, allocations: 173.9 MB / 1.304 GB, free: 32.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2991/1.263, allocations: 223.5 MB / 1.522 GB, free: 7.863 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02236/1.286, allocations: 12.16 MB / 1.534 GB, free: 11.67 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003748/1.29, allocations: 75.56 kB / 1.534 GB, free: 11.6 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.003025/1.293, allocations: 0.8928 MB / 1.535 GB, free: 10.7 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.009243/1.302, allocations: 2.975 MB / 1.538 GB, free: 7.715 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.004168/1.306, allocations: 1.443 MB / 1.539 GB, free: 6.277 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.007116/1.313, allocations: 4.455 MB / 1.544 GB, free: 1.812 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002624/1.316, allocations: 1.467 MB / 1.545 GB, free: 316 kB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007406/1.323, allocations: 2.817 MB / 1.548 GB, free: 13.49 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004049/1.327, allocations: 1.64 MB / 1.55 GB, free: 11.86 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0006033/1.328, allocations: 187.9 kB / 1.55 GB, free: 11.68 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005761/1.334, allocations: 2.276 MB / 1.552 GB, free: 9.395 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.001107/1.335, allocations: 0.7321 MB / 1.553 GB, free: 8.66 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001851/1.337, allocations: 1.05 MB / 1.554 GB, free: 7.605 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.007112/1.344, allocations: 3.352 MB / 1.557 GB, free: 4.242 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/1.344, allocations: 4 kB / 1.557 GB, free: 4.238 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.785e-06/1.344, allocations: 0 / 1.557 GB, free: 4.238 MB / 1.232 GB Notification: Performance of Transformations before backend: time 8.043e-05/1.344, allocations: 0 / 1.557 GB, free: 4.238 MB / 1.232 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.004772/1.349, allocations: 2.328 MB / 1.559 GB, free: 1.852 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/1.349, allocations: 8.031 kB / 1.559 GB, free: 1.844 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002825/1.349, allocations: 214.8 kB / 1.559 GB, free: 1.625 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003257/1.352, allocations: 0.51 MB / 1.56 GB, free: 1.113 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003239/1.355, allocations: 1.357 MB / 1.561 GB, free: 15.7 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.92e-05/1.355, allocations: 106.8 kB / 1.561 GB, free: 15.59 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002804/1.356, allocations: 144 kB / 1.562 GB, free: 15.45 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00308/1.359, allocations: 1.788 MB / 1.563 GB, free: 13.55 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.247e-05/1.359, allocations: 3.938 kB / 1.563 GB, free: 13.55 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001511/1.359, allocations: 67.98 kB / 1.563 GB, free: 13.48 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.067e-05/1.359, allocations: 50.55 kB / 1.563 GB, free: 13.43 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002513/1.362, allocations: 1.423 MB / 1.565 GB, free: 12 MB / 1.248 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.01064/1.372, allocations: 7.565 MB / 1.572 GB, free: 4.004 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/1.374, allocations: 1.008 MB / 1.573 GB, free: 2.953 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/1.375, allocations: 0.6593 MB / 1.574 GB, free: 2.281 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002477/1.375, allocations: 118.2 kB / 1.574 GB, free: 2.145 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.145e-05/1.375, allocations: 55.5 kB / 1.574 GB, free: 2.082 MB / 1.248 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001437/1.377, allocations: 350.9 kB / 1.574 GB, free: 1.738 MB / 1.248 GB Notification: Performance of pre-optimization done (n=106): time 3.938e-06/1.377, allocations: 0 / 1.574 GB, free: 1.738 MB / 1.248 GB Notification: Performance of matching and sorting (n=112): time 0.00859/1.385, allocations: 4.534 MB / 1.579 GB, free: 13.14 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/1.385, allocations: 167.2 kB / 1.579 GB, free: 12.93 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001877/1.387, allocations: 1.267 MB / 1.58 GB, free: 11.66 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0002021/1.387, allocations: 53.64 kB / 1.58 GB, free: 11.6 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006546/1.388, allocations: 0.7138 MB / 1.581 GB, free: 10.88 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005246/1.389, allocations: 424.4 kB / 1.581 GB, free: 10.46 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004323/1.389, allocations: 259.5 kB / 1.582 GB, free: 10.2 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001861/1.389, allocations: 353.9 kB / 1.582 GB, free: 9.848 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008903/1.39, allocations: 0.5309 MB / 1.582 GB, free: 9.316 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/1.391, allocations: 0.8557 MB / 1.583 GB, free: 8.336 MB / 1.264 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.01225/1.404, allocations: 4.803 MB / 1.588 GB, free: 3.375 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/1.404, allocations: 0 / 1.588 GB, free: 3.375 MB / 1.264 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002989/1.407, allocations: 1.625 MB / 1.59 GB, free: 1.742 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/1.407, allocations: 12.19 kB / 1.59 GB, free: 1.73 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/1.407, allocations: 8 kB / 1.59 GB, free: 1.723 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.273e-05/1.407, allocations: 19.94 kB / 1.59 GB, free: 1.703 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/1.408, allocations: 287.5 kB / 1.59 GB, free: 1.422 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.648e-05/1.408, allocations: 27.86 kB / 1.59 GB, free: 1.395 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/1.409, allocations: 47.92 kB / 1.59 GB, free: 1.348 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/1.41, allocations: 63.97 kB / 1.59 GB, free: 1.285 MB / 1.264 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.0008335/1.41, allocations: 419.4 kB / 1.59 GB, free: 0.8672 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004151/1.411, allocations: 174.9 kB / 1.591 GB, free: 0.6953 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002324/1.413, allocations: 1.295 MB / 1.592 GB, free: 15.39 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/1.413, allocations: 12 kB / 1.592 GB, free: 15.38 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/1.413, allocations: 7.938 kB / 1.592 GB, free: 15.38 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001746/1.415, allocations: 1.233 MB / 1.593 GB, free: 14.07 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006929/1.422, allocations: 3.77 MB / 1.597 GB, free: 10.11 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-05/1.422, allocations: 12.22 kB / 1.597 GB, free: 10.09 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/1.423, allocations: 251.7 kB / 1.597 GB, free: 9.848 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.877e-05/1.423, allocations: 15.94 kB / 1.597 GB, free: 9.832 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.168e-05/1.423, allocations: 36 kB / 1.597 GB, free: 9.797 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-05/1.423, allocations: 27.86 kB / 1.597 GB, free: 9.77 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-05/1.423, allocations: 15.94 kB / 1.597 GB, free: 9.754 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003117/1.426, allocations: 2.13 MB / 1.599 GB, free: 7.473 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008842/1.427, allocations: 363.9 kB / 1.599 GB, free: 7.098 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002145/1.427, allocations: 39.94 kB / 1.599 GB, free: 7.059 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/1.428, allocations: 49.02 kB / 1.6 GB, free: 7.012 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/1.429, allocations: 108.3 kB / 1.6 GB, free: 6.902 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-05/1.429, allocations: 51.97 kB / 1.6 GB, free: 6.852 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001289/1.43, allocations: 0.849 MB / 1.601 GB, free: 6.004 MB / 1.279 GB Notification: Performance of sort global known variables: time 8e-08/1.43, allocations: 0 / 1.601 GB, free: 6.004 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001504/1.431, allocations: 439.9 kB / 1.601 GB, free: 5.574 MB / 1.279 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.00388/1.435, allocations: 2.823 MB / 1.604 GB, free: 2.602 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.002231/1.438, allocations: 1.188 MB / 1.605 GB, free: 1.418 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.561e-05/1.438, allocations: 4 kB / 1.605 GB, free: 1.414 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0008424/1.438, allocations: 0.5252 MB / 1.605 GB, free: 0.8906 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004494/1.443, allocations: 0.9263 MB / 1.606 GB, free: 15.98 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02024/1.463, allocations: 12.72 MB / 1.619 GB, free: 2.57 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00122/1.464, allocations: 1.372 MB / 1.62 GB, free: 1.168 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001563/1.466, allocations: 385.3 kB / 1.62 GB, free: 0.7852 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009892/1.467, allocations: 0.6438 MB / 1.621 GB, free: 144 kB / 1.295 GB Notification: Performance of SimCode: time 1.472e-06/1.467, allocations: 0 / 1.621 GB, free: 144 kB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09105/1.558, allocations: 43.45 MB / 1.663 GB, free: 5.254 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.25/17.81, allocations: 7.875 kB / 1.663 GB, free: 5.246 MB / 1.342 GB " [Timeout remaining time 282] (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.408395980950445]